Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001266/0.001266, allocations: 201.5 kB / 8.539 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009483/0.0009483, allocations: 96.94 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2095/0.2095, allocations: 45.14 MB / 383.3 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.278/0.4875, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.6103, allocations: 63.25 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.336/0.9463, allocations: 87.53 MB / 0.5893 GB, free: 15.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.9466, allocations: 65.16 kB / 0.5894 GB, free: 15.19 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.01936/0.966, allocations: 7.558 MB / 0.5968 GB, free: 8.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.966, allocations: 12 kB / 0.5968 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.157e-05/0.9661, allocations: 47.44 kB / 0.5968 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.9663, allocations: 226.3 kB / 0.5971 GB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.9663, allocations: 16 kB / 0.5971 GB, free: 8.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/0.9664, allocations: 39.2 kB / 0.5971 GB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003664/0.9667, allocations: 213 kB / 0.5973 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.9673, allocations: 377.1 kB / 0.5977 GB, free: 8.152 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.9673, allocations: 10.72 kB / 0.5977 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.9673, allocations: 4 kB / 0.5977 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.9674, allocations: 12 kB / 0.5977 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.9694, allocations: 1.616 MB / 0.5993 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.9697, allocations: 326.7 kB / 0.5996 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.9699, allocations: 143.5 kB / 0.5997 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.97, allocations: 11.98 kB / 0.5997 GB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.03e-05/0.97, allocations: 42.5 kB / 0.5998 GB, free: 6.121 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 1.823e-06/0.97, allocations: 0 / 0.5998 GB, free: 6.121 MB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0005422/0.9706, allocations: 242.3 kB / 0.6 GB, free: 5.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/0.9707, allocations: 272.3 kB / 0.6003 GB, free: 5.594 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.9709, allocations: 197.9 kB / 0.6005 GB, free: 5.418 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.9709, allocations: 29.7 kB / 0.6005 GB, free: 5.383 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.971, allocations: 228.1 kB / 0.6007 GB, free: 5.176 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.9711, allocations: 169.7 kB / 0.6009 GB, free: 5.031 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.34e-05/0.9711, allocations: 4 kB / 0.6009 GB, free: 5.027 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.9713, allocations: 352.8 kB / 0.6012 GB, free: 4.691 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.9714, allocations: 98.38 kB / 0.6013 GB, free: 4.629 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.9718, allocations: 382.1 kB / 0.6017 GB, free: 4.176 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.972, allocations: 179 kB / 0.6018 GB, free: 4.051 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.972, allocations: 4 kB / 0.6018 GB, free: 4.047 MB / 394.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000676/0.9727, allocations: 476.9 kB / 0.6023 GB, free: 3.656 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.9727, allocations: 4.75 kB / 0.6023 GB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.9728, allocations: 11.98 kB / 0.6023 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.9728, allocations: 16.25 kB / 0.6023 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.9734, allocations: 179.7 kB / 0.6025 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.9734, allocations: 24.39 kB / 0.6025 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.9737, allocations: 55.38 kB / 0.6026 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.9737, allocations: 34.5 kB / 0.6026 GB, free: 3.348 MB / 394.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.0001163/0.9739, allocations: 135.8 kB / 0.6027 GB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.9741, allocations: 39.56 kB / 0.6028 GB, free: 3.172 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.083e-05/0.9742, allocations: 35.39 kB / 0.6028 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.9742, allocations: 4 kB / 0.6028 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.9742, allocations: 4 kB / 0.6028 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/0.9742, allocations: 7.984 kB / 0.6028 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008725/0.9751, allocations: 350.6 kB / 0.6032 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.9751, allocations: 4 kB / 0.6032 GB, free: 2.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006216/0.9757, allocations: 123.3 kB / 0.6033 GB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.9758, allocations: 4 kB / 0.6033 GB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.9758, allocations: 11.86 kB / 0.6033 GB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.9758, allocations: 4 kB / 0.6033 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.9758, allocations: 7.938 kB / 0.6033 GB, free: 2.668 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008153/0.9766, allocations: 1.136 MB / 0.6044 GB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009688/0.9776, allocations: 1.587 MB / 0.606 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.497e-05/0.9777, allocations: 108.7 kB / 0.6061 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.9778, allocations: 6.688 kB / 0.6061 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.9782, allocations: 3.938 kB / 0.6061 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.9782, allocations: 27.03 kB / 0.6061 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.9783, allocations: 15.19 kB / 0.6061 GB, free: 15.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001117/0.9784, allocations: 151.9 kB / 0.6063 GB, free: 15.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001382/0.9798, allocations: 123.5 kB / 0.6064 GB, free: 15.58 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.0001298/0.9799, allocations: 110.4 kB / 0.6065 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.9804, allocations: 295.6 kB / 0.6068 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9804, allocations: 0 / 0.6068 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.9806, allocations: 118 kB / 0.6069 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007846/0.9814, allocations: 78.52 kB / 0.607 GB, free: 15.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/0.9841, allocations: 1.906 MB / 0.6088 GB, free: 13.18 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005948/0.9847, allocations: 0.9176 MB / 0.6097 GB, free: 12.23 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.9847, allocations: 0 / 0.6097 GB, free: 12.23 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat does not exist to compare? outputFormat=mat