Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize,fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001191/0.001192, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001351/0.001351, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 68.36 kB / 307.1 MB, free: 0.4922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1242, allocations: 50.53 MB / 357.6 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize): time 0.01562/0.1398, allocations: 13.5 MB / 371.1 MB, free: 396 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.23/0.3699, allocations: 4.538 MB / 375.6 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002739/0.3727, allocations: 78.5 kB / 375.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004048/0.3767, allocations: 0.9843 MB / 376.7 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006241/0.3831, allocations: 1.268 MB / 378 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.3866, allocations: 0.8958 MB / 378.9 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006366/0.393, allocations: 4.044 MB / 382.9 MB, free: 7.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004369/0.3974, allocations: 3.247 MB / 386.2 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003447/0.4009, allocations: 1.883 MB / 388 MB, free: 4.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004799/0.4057, allocations: 2.24 MB / 390.3 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001228/0.407, allocations: 0.5129 MB / 390.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00258/0.4095, allocations: 0.7466 MB / 391.5 MB, free: 3.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001065/0.4106, allocations: 1.141 MB / 392.7 MB, free: 3.008 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003688/0.4143, allocations: 2.138 MB / 394.8 MB, free: 1.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007413/0.4218, allocations: 6.753 MB / 401.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4218, allocations: 4 kB / 401.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4218, allocations: 0 / 401.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001783/0.422, allocations: 3.312 kB / 401.6 MB, free: 13.11 MB / 318.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.01364/0.4356, allocations: 4.441 MB / 406 MB, free: 9.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/0.4357, allocations: 12.03 kB / 406 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006888/0.4364, allocations: 447.1 kB / 406.5 MB, free: 9.129 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004631/0.4411, allocations: 0.8449 MB / 407.3 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005422/0.4465, allocations: 2.432 MB / 409.7 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.4467, allocations: 236.8 kB / 410 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006249/0.4473, allocations: 323 kB / 410.3 MB, free: 5.285 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008268/0.4556, allocations: 4.253 MB / 414.5 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-05/0.4557, allocations: 4 kB / 414.5 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002884/0.456, allocations: 126.3 kB / 414.7 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/0.4561, allocations: 142.2 kB / 414.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006174/0.4623, allocations: 3.671 MB / 418.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02243/0.4848, allocations: 13.57 MB / 432 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006854/0.4917, allocations: 6.892 MB / 438.9 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002225/0.494, allocations: 1.416 MB / 440.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005968/0.4999, allocations: 3.887 MB / 444.2 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.5, allocations: 47.5 kB / 444.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=124): time 3.476e-06/0.5, allocations: 0 / 444.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=144): time 0.01358/0.5136, allocations: 6.659 MB / 450.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.5137, allocations: 68.72 kB / 451 MB, free: 11.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.5166, allocations: 1.88 MB / 452.9 MB, free: 9.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.5167, allocations: 53.7 kB / 452.9 MB, free: 9.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009358/0.5176, allocations: 1.441 MB / 454.4 MB, free: 7.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003613/0.518, allocations: 0.4977 MB / 454.9 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004363/0.5184, allocations: 299.3 kB / 455.2 MB, free: 6.848 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.5186, allocations: 309.1 kB / 455.5 MB, free: 6.543 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.5197, allocations: 0.7574 MB / 456.2 MB, free: 5.785 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.5212, allocations: 1.22 MB / 457.5 MB, free: 4.371 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002667/0.5238, allocations: 2.108 MB / 459.6 MB, free: 2.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/0.5239, allocations: 8 kB / 459.6 MB, free: 2.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=218) (initialization): time 0.004964/0.5288, allocations: 2.667 MB / 462.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.5289, allocations: 16 kB / 462.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.5289, allocations: 12 kB / 462.3 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.5303, allocations: 0.5088 MB / 462.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.5317, allocations: 375.5 kB / 463.1 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008168/0.5399, allocations: 6.924 MB / 470.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.5417, allocations: 79.8 kB / 470.1 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.5419, allocations: 75.98 kB / 470.2 MB, free: 7.129 MB / 382.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.002102/0.544, allocations: 1.048 MB / 471.3 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003877/0.5444, allocations: 205.6 kB / 471.5 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004164/0.5485, allocations: 2.496 MB / 474 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.5486, allocations: 15.94 kB / 474 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.5486, allocations: 8 kB / 474 MB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.5486, allocations: 7.969 kB / 474 MB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008089/0.5567, allocations: 5.534 MB / 479.5 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.5567, allocations: 3.938 kB / 479.5 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009735/0.5577, allocations: 215.7 kB / 479.7 MB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001189/0.5589, allocations: 0.5039 MB / 480.2 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-05/0.559, allocations: 39.98 kB / 480.3 MB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/0.5693, allocations: 11.43 MB / 491.7 MB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.5693, allocations: 4.031 kB / 491.7 MB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005375/0.5747, allocations: 3.571 MB / 495.3 MB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.5757, allocations: 458.5 kB / 495.7 MB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.576, allocations: 28 kB / 495.8 MB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009106/0.5769, allocations: 71.94 kB / 495.8 MB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002757/0.5772, allocations: 113 kB / 495.9 MB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-05/0.5773, allocations: 43.98 kB / 496 MB, free: 12.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00182/0.5791, allocations: 1.302 MB / 497.3 MB, free: 11.07 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5791, allocations: 0 / 497.3 MB, free: 11.07 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002145/0.5813, allocations: 0.5939 MB / 497.9 MB, free: 10.48 MB / 414.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.005566/0.5869, allocations: 4.197 MB / 0.4903 GB, free: 6.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005505/0.5924, allocations: 2.844 MB / 0.4931 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5924, allocations: 0 / 0.4931 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002463/0.5949, allocations: 1.724 MB / 0.4948 GB, free: 1.531 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.5975, allocations: 0.5306 MB / 0.4953 GB, free: 1.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03377/0.6313, allocations: 23.83 MB / 0.5186 GB, free: 7.438 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.6338, allocations: 2.379 MB / 0.5209 GB, free: 5.031 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001939/0.6357, allocations: 425 kB / 0.5213 GB, free: 4.613 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/0.6373, allocations: 1.159 MB / 0.5224 GB, free: 3.453 MB / 446.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6373, allocations: 0 / 0.5224 GB, free: 3.453 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3047/0.9419, allocations: 54.5 MB / 0.5757 GB, free: 117.5 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.53, allocations: 9.219 kB / 0.5757 GB, free: 117.4 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMC_Initialize.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches