Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001477/0.001477, allocations: 187.7 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 92.22 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2147/0.2147, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.241/0.4557, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.8073, allocations: 58.84 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.9403, allocations: 85.3 MB / 0.5488 GB, free: 13.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003383/0.9407, allocations: 67.47 kB / 0.5488 GB, free: 13.56 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.02118/0.9619, allocations: 7.366 MB / 0.556 GB, free: 6.145 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.962, allocations: 8 kB / 0.556 GB, free: 6.137 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.9621, allocations: 47.44 kB / 0.5561 GB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.9625, allocations: 238.2 kB / 0.5563 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.026e-05/0.9625, allocations: 16 kB / 0.5563 GB, free: 5.801 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.564e-05/0.9626, allocations: 35.91 kB / 0.5564 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000484/0.9631, allocations: 206 kB / 0.5566 GB, free: 5.566 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006969/0.9638, allocations: 380.7 kB / 0.5569 GB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.206e-05/0.9639, allocations: 11.89 kB / 0.5569 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.9639, allocations: 4 kB / 0.5569 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.9639, allocations: 12 kB / 0.5569 GB, free: 5.129 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002461/0.9664, allocations: 1.617 MB / 0.5585 GB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004422/0.9669, allocations: 331.7 kB / 0.5588 GB, free: 3.051 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.9671, allocations: 143.8 kB / 0.559 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.9671, allocations: 8 kB / 0.559 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.9671, allocations: 42.5 kB / 0.559 GB, free: 2.824 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 3.336e-06/0.9672, allocations: 0 / 0.559 GB, free: 2.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006923/0.9679, allocations: 245.1 kB / 0.5593 GB, free: 2.578 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/0.968, allocations: 277 kB / 0.5595 GB, free: 2.246 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.9683, allocations: 193.3 kB / 0.5597 GB, free: 2.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.9683, allocations: 29.7 kB / 0.5597 GB, free: 2.016 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/0.9685, allocations: 230.7 kB / 0.56 GB, free: 1.789 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.9687, allocations: 177.4 kB / 0.5601 GB, free: 1.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.9687, allocations: 0 / 0.5601 GB, free: 1.613 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.9689, allocations: 354.7 kB / 0.5605 GB, free: 1.258 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.9691, allocations: 97.56 kB / 0.5606 GB, free: 1.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.9695, allocations: 389.9 kB / 0.5609 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.9697, allocations: 159.8 kB / 0.5611 GB, free: 500 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.9698, allocations: 4 kB / 0.5611 GB, free: 496 kB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000833/0.9706, allocations: 485.9 kB / 0.5616 GB, free: 4 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.9706, allocations: 4 kB / 0.5616 GB, free: 0 / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/0.9707, allocations: 8.047 kB / 0.5616 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.599e-05/0.9707, allocations: 16 kB / 0.5616 GB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.9713, allocations: 183.7 kB / 0.5618 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/0.9714, allocations: 16.02 kB / 0.5618 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.9717, allocations: 51.38 kB / 0.5618 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.442e-05/0.9718, allocations: 35.92 kB / 0.5619 GB, free: 15.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001275/0.9719, allocations: 136.8 kB / 0.562 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.9721, allocations: 35.62 kB / 0.562 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.494e-05/0.9722, allocations: 37.7 kB / 0.5621 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.9723, allocations: 4 kB / 0.5621 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.9723, allocations: 7.984 kB / 0.5621 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.9723, allocations: 4 kB / 0.5621 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/0.9734, allocations: 353.7 kB / 0.5624 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.9734, allocations: 0 / 0.5624 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.974, allocations: 127.9 kB / 0.5625 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/0.9741, allocations: 8 kB / 0.5625 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/0.9741, allocations: 4 kB / 0.5625 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.9741, allocations: 4 kB / 0.5625 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.241e-05/0.9741, allocations: 7.938 kB / 0.5626 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008765/0.975, allocations: 1.139 MB / 0.5637 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001174/0.9762, allocations: 1.59 MB / 0.5652 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.9763, allocations: 116.7 kB / 0.5653 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.534e-05/0.9764, allocations: 4 kB / 0.5653 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/0.9768, allocations: 128 / 0.5653 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.9769, allocations: 27.97 kB / 0.5654 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.9769, allocations: 16 kB / 0.5654 GB, free: 11.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001342/0.9771, allocations: 153.2 kB / 0.5655 GB, free: 11.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001524/0.9786, allocations: 127.5 kB / 0.5656 GB, free: 11.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001895/0.9788, allocations: 107.2 kB / 0.5657 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006309/0.9794, allocations: 302.2 kB / 0.566 GB, free: 11.19 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.9794, allocations: 4.062 kB / 0.566 GB, free: 11.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.9797, allocations: 119.8 kB / 0.5661 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008893/0.9806, allocations: 75.62 kB / 0.5662 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003322/0.9839, allocations: 1.894 MB / 0.5681 GB, free: 9.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009709/0.9849, allocations: 0.9256 MB / 0.569 GB, free: 8.09 MB / 410.7 MB Notification: Performance of SimCode: time 1.814e-06/0.9849, allocations: 0 / 0.569 GB, free: 8.09 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat