Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 110.1 kB / 17.06 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 189.4 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 51.91 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2964, allocations: 49.44 MB / 400.3 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01523/0.3117, allocations: 12.87 MB / 413.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008803/0.3206, allocations: 4.259 MB / 417.4 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002152/0.3228, allocations: 71.75 kB / 417.4 MB, free: 7.562 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002689/0.3255, allocations: 0.9814 MB / 418.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003915/0.3294, allocations: 1.297 MB / 419.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.3313, allocations: 0.8398 MB / 420.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005058/0.3364, allocations: 4.02 MB / 424.6 MB, free: 412 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003893/0.3403, allocations: 3.224 MB / 427.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003192/0.3435, allocations: 1.889 MB / 429.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003263/0.3468, allocations: 2.117 MB / 431.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000754/0.3475, allocations: 0.5078 MB / 432.3 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/0.349, allocations: 0.7107 MB / 433 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001103/0.3501, allocations: 1.141 MB / 434.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002732/0.3529, allocations: 2.124 MB / 436.3 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008264/0.3611, allocations: 6.774 MB / 443.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3612, allocations: 0 / 443.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3612, allocations: 0 / 443.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001882/0.3614, allocations: 0 / 443.1 MB, free: 13.79 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.01203/0.3734, allocations: 4.491 MB / 447.6 MB, free: 9.219 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.3735, allocations: 11.89 kB / 447.6 MB, free: 9.207 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007442/0.3742, allocations: 443.1 kB / 448 MB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004311/0.3786, allocations: 0.8262 MB / 448.8 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005134/0.3837, allocations: 2.488 MB / 451.3 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/0.384, allocations: 234.6 kB / 451.6 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006895/0.3847, allocations: 323.9 kB / 451.9 MB, free: 4.844 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007994/0.3927, allocations: 4.254 MB / 456.1 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.218e-05/0.3928, allocations: 11.95 kB / 456.1 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003042/0.3931, allocations: 124 kB / 456.3 MB, free: 416 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.3932, allocations: 142.2 kB / 456.4 MB, free: 272 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006569/0.3998, allocations: 3.663 MB / 460.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02139/0.4212, allocations: 13.35 MB / 473.4 MB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007519/0.4288, allocations: 6.884 MB / 480.3 MB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002535/0.4314, allocations: 1.414 MB / 481.7 MB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006537/0.4379, allocations: 3.632 MB / 485.3 MB, free: 1.973 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.438, allocations: 51.56 kB / 485.4 MB, free: 1.91 MB / 398.1 MB Notification: Performance of pre-optimization done (n=124): time 2.885e-06/0.438, allocations: 0 / 485.4 MB, free: 1.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=144): time 0.01433/0.4524, allocations: 6.685 MB / 492.1 MB, free: 11.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.4525, allocations: 72.72 kB / 492.1 MB, free: 10.94 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003077/0.4556, allocations: 1.855 MB / 494 MB, free: 9.082 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001289/0.4557, allocations: 49.7 kB / 494.1 MB, free: 9.027 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.457, allocations: 1.463 MB / 495.5 MB, free: 7.551 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005071/0.4575, allocations: 0.5112 MB / 496 MB, free: 7.035 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005332/0.458, allocations: 303.5 kB / 496.3 MB, free: 6.734 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4582, allocations: 305.1 kB / 496.6 MB, free: 6.434 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.4595, allocations: 0.7613 MB / 497.4 MB, free: 5.672 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001654/0.4611, allocations: 1.224 MB / 498.6 MB, free: 4.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003196/0.4644, allocations: 2.108 MB / 0.489 GB, free: 1.961 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.4644, allocations: 7.938 kB / 0.489 GB, free: 1.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004855/0.4692, allocations: 2.672 MB / 0.4916 GB, free: 15.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/0.4693, allocations: 8 kB / 0.4916 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.4693, allocations: 16 kB / 0.4916 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.4707, allocations: 0.5023 MB / 0.4921 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001444/0.4722, allocations: 387.4 kB / 0.4925 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009072/0.4813, allocations: 6.927 MB / 0.4992 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.4828, allocations: 88 kB / 0.4993 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/0.483, allocations: 67.98 kB / 0.4994 GB, free: 6.992 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (8,30,56.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001897/0.4849, allocations: 1.052 MB / 0.5004 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003511/0.4852, allocations: 198.7 kB / 0.5006 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004307/0.4895, allocations: 2.5 MB / 0.503 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.4896, allocations: 19.94 kB / 0.5031 GB, free: 3.152 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.4896, allocations: 8 kB / 0.5031 GB, free: 3.145 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.4896, allocations: 7.969 kB / 0.5031 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0087/0.4983, allocations: 5.525 MB / 0.5085 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.4984, allocations: 4 kB / 0.5085 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009856/0.4993, allocations: 219.9 kB / 0.5087 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001296/0.5007, allocations: 0.4946 MB / 0.5092 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.5008, allocations: 39.98 kB / 0.5092 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/0.5127, allocations: 11.42 MB / 0.5204 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.5127, allocations: 4.031 kB / 0.5204 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006101/0.5188, allocations: 3.579 MB / 0.5239 GB, free: 12.92 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009674/0.5198, allocations: 467.6 kB / 0.5243 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.5201, allocations: 32 kB / 0.5243 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008818/0.521, allocations: 75.94 kB / 0.5244 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003043/0.5213, allocations: 113 kB / 0.5245 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.482e-05/0.5214, allocations: 43.98 kB / 0.5246 GB, free: 12.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00197/0.5234, allocations: 1.282 MB / 0.5258 GB, free: 10.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5234, allocations: 4 kB / 0.5258 GB, free: 10.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002034/0.5254, allocations: 0.5898 MB / 0.5264 GB, free: 10.32 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.stray.Phi.re,aimc.stator.stray.Phi.im,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,12,100.0%), (1,1,100.0%), (1,12,100.0%), (1,8,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006144/0.5316, allocations: 4.183 MB / 0.5305 GB, free: 6.035 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004326/0.5359, allocations: 2.407 MB / 0.5328 GB, free: 3.605 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.5359, allocations: 4.125 kB / 0.5328 GB, free: 3.602 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002761/0.5387, allocations: 1.735 MB / 0.5345 GB, free: 1.805 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.541, allocations: 0.5207 MB / 0.535 GB, free: 1.293 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2334/0.7744, allocations: 21.34 MB / 0.5559 GB, free: 122.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001648/0.7761, allocations: 2.375 MB / 0.5582 GB, free: 120 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001159/0.7773, allocations: 416.8 kB / 0.5586 GB, free: 119.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/0.7784, allocations: 1.148 MB / 0.5597 GB, free: 118.4 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.7784, allocations: 0 / 0.5597 GB, free: 118.4 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09229/0.8707, allocations: 55.23 MB / 0.6136 GB, free: 63.78 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/14.95, allocations: 7.922 kB / 0.6136 GB, free: 63.77 MB / 462.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_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_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Initialize/IMC_Initialize.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches