Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 121.6 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001387/0.001387, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 63.89 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2925, allocations: 50.55 MB / 408.8 MB, free: 1.496 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.01162/0.3042, allocations: 9.422 MB / 418.2 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006818/0.3111, allocations: 3.049 MB / 421.2 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001661/0.3128, allocations: 47.81 kB / 421.3 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.3153, allocations: 0.6288 MB / 421.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003814/0.3191, allocations: 0.7727 MB / 422.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.3202, allocations: 363.5 kB / 423 MB, free: 3.168 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003444/0.3237, allocations: 2.673 MB / 425.7 MB, free: 496 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002606/0.3263, allocations: 2.155 MB / 427.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002217/0.3285, allocations: 1.195 MB / 429.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.3307, allocations: 1.491 MB / 430.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004145/0.3312, allocations: 312 kB / 430.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007439/0.3319, allocations: 411.8 kB / 431.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008831/0.3328, allocations: 0.8881 MB / 432.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001612/0.3344, allocations: 1.412 MB / 433.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00454/0.339, allocations: 4.118 MB / 437.7 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.339, allocations: 4 kB / 437.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.339, allocations: 0 / 437.7 MB, free: 4.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.341e-05/0.3391, allocations: 0 / 437.7 MB, free: 4.414 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.005996/0.3451, allocations: 2.936 MB / 440.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.3452, allocations: 11.97 kB / 440.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004092/0.3456, allocations: 295.5 kB / 440.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.3466, allocations: 331.1 kB / 441.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00281/0.3494, allocations: 1.562 MB / 442.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.3496, allocations: 158.5 kB / 443 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003209/0.3499, allocations: 200 kB / 443.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004728/0.3547, allocations: 2.74 MB / 445.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.823e-05/0.3547, allocations: 7.938 kB / 445.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/0.3549, allocations: 80 kB / 446 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.3551, allocations: 95.92 kB / 446.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00407/0.3591, allocations: 2.326 MB / 448.4 MB, free: 9.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/0.3728, allocations: 8.339 MB / 456.7 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002278/0.3751, allocations: 1.772 MB / 458.5 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001967/0.3771, allocations: 1.077 MB / 459.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002527/0.3774, allocations: 126.1 kB / 459.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.215e-05/0.3775, allocations: 47.5 kB / 459.8 MB, free: 13.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.066e-06/0.3775, allocations: 0 / 459.8 MB, free: 13.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01353/0.391, allocations: 6.252 MB / 466 MB, free: 7.359 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.3911, allocations: 68.41 kB / 466.1 MB, free: 7.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002389/0.3935, allocations: 1.525 MB / 467.6 MB, free: 5.742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.3936, allocations: 45.7 kB / 467.7 MB, free: 5.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008701/0.3945, allocations: 1.013 MB / 468.7 MB, free: 4.668 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004118/0.3949, allocations: 440.3 kB / 469.1 MB, free: 4.234 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/0.3953, allocations: 251.5 kB / 469.3 MB, free: 3.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.3955, allocations: 365.9 kB / 469.7 MB, free: 3.621 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.3968, allocations: 0.7339 MB / 470.4 MB, free: 2.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001518/0.3983, allocations: 1.055 MB / 471.5 MB, free: 1.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002765/0.4011, allocations: 1.871 MB / 473.4 MB, free: 15.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.4011, allocations: 4 kB / 473.4 MB, free: 15.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004191/0.4053, allocations: 2.361 MB / 475.7 MB, free: 13.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.4053, allocations: 8 kB / 475.7 MB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.4054, allocations: 8 kB / 475.7 MB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009754/0.4063, allocations: 407.5 kB / 476.1 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/0.4076, allocations: 335.4 kB / 476.5 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005597/0.4132, allocations: 5.067 MB / 481.5 MB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.4148, allocations: 95.73 kB / 481.6 MB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.415, allocations: 64.05 kB / 481.7 MB, free: 7.055 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00175/0.4168, allocations: 0.7003 MB / 482.4 MB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004662/0.4172, allocations: 182.8 kB / 482.6 MB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004237/0.4215, allocations: 2.129 MB / 484.7 MB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.4215, allocations: 16 kB / 484.7 MB, free: 3.988 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.4215, allocations: 4 kB / 484.7 MB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.4216, allocations: 7.922 kB / 484.7 MB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008486/0.43, allocations: 4.562 MB / 489.3 MB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.4301, allocations: 4 kB / 489.3 MB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009648/0.4311, allocations: 223.7 kB / 489.5 MB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.4323, allocations: 467.2 kB / 490 MB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.503e-05/0.4324, allocations: 35.97 kB / 490 MB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007239/0.4397, allocations: 6.689 MB / 496.7 MB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4397, allocations: 3.984 kB / 496.7 MB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005317/0.445, allocations: 3.189 MB / 499.9 MB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009627/0.446, allocations: 407.9 kB / 0.4886 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.4463, allocations: 35.88 kB / 0.4886 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008111/0.4471, allocations: 75.91 kB / 0.4887 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002806/0.4474, allocations: 104.8 kB / 0.4888 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.4475, allocations: 35.98 kB / 0.4888 GB, free: 3.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001587/0.4491, allocations: 1.052 MB / 0.4898 GB, free: 2.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4491, allocations: 0 / 0.4898 GB, free: 2.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001544/0.4506, allocations: 475.9 kB / 0.4903 GB, free: 2.055 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005619/0.4563, allocations: 3.822 MB / 0.494 GB, free: 14.17 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003855/0.4602, allocations: 2.27 MB / 0.4962 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.4602, allocations: 0 / 0.4962 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002369/0.4626, allocations: 1.496 MB / 0.4977 GB, free: 10.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.4647, allocations: 448.1 kB / 0.4981 GB, free: 9.836 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02866/0.4934, allocations: 17.49 MB / 0.5152 GB, free: 7.777 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/0.4954, allocations: 1.823 MB / 0.517 GB, free: 5.922 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001397/0.4968, allocations: 397.6 kB / 0.5174 GB, free: 5.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001167/0.4979, allocations: 0.8039 MB / 0.5181 GB, free: 4.723 MB / 446.1 MB Notification: Performance of SimCode: time 9.31e-07/0.498, allocations: 0 / 0.5181 GB, free: 4.723 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3084/0.8063, allocations: 43.43 MB / 0.5605 GB, free: 115.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 20.23/21.04, allocations: 9.438 kB / 0.5606 GB, free: 115.8 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_DOL.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches