Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.conf.json 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) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.Directions3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3",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 4.0.0+maint.om/package.mo): time 0.00254/0.00254, allocations: 173.8 kB / 8.515 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 221.4 MB / 230.3 MB, free: 7.719 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 93.78 kB / 281.2 MB, free: 5.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2383/0.2383, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2809/0.5193, allocations: 68.03 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.6534, allocations: 61.91 MB / 0.4942 GB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3172/0.9706, allocations: 85.02 MB / 0.5772 GB, free: 11.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.9709, allocations: 63.95 kB / 0.5773 GB, free: 11.77 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.00557/0.9765, allocations: 2.13 MB / 0.5793 GB, free: 9.605 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.9766, allocations: 11.94 kB / 0.5794 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.9766, allocations: 11.91 kB / 0.5794 GB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001041/0.9767, allocations: 174.9 kB / 0.5795 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.9767, allocations: 4 kB / 0.5795 GB, free: 9.367 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.9768, allocations: 7.906 kB / 0.5795 GB, free: 9.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001104/0.9769, allocations: 52.45 kB / 0.5796 GB, free: 9.309 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.9771, allocations: 112.7 kB / 0.5797 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.9771, allocations: 0 / 0.5797 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.9771, allocations: 4 kB / 0.5797 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.9771, allocations: 0 / 0.5797 GB, free: 9.184 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006291/0.9777, allocations: 0.5064 MB / 0.5802 GB, free: 8.629 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.436e-05/0.9778, allocations: 67.36 kB / 0.5803 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.9779, allocations: 29.72 kB / 0.5803 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.9779, allocations: 0 / 0.5803 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.9779, allocations: 34.56 kB / 0.5803 GB, free: 8.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.9779, allocations: 0 / 0.5803 GB, free: 8.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002864/0.9782, allocations: 103.4 kB / 0.5804 GB, free: 8.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.9783, allocations: 81.11 kB / 0.5805 GB, free: 8.262 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.203e-05/0.9784, allocations: 116.8 kB / 0.5806 GB, free: 8.141 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.9784, allocations: 25.7 kB / 0.5806 GB, free: 8.109 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.581e-05/0.9784, allocations: 115.6 kB / 0.5807 GB, free: 7.992 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.9785, allocations: 31.55 kB / 0.5808 GB, free: 7.961 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.9785, allocations: 0 / 0.5808 GB, free: 7.961 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.626e-05/0.9786, allocations: 322.8 kB / 0.5811 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.416e-05/0.9786, allocations: 22.84 kB / 0.5811 GB, free: 7.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.062e-05/0.9787, allocations: 87.53 kB / 0.5812 GB, free: 7.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.238e-05/0.9788, allocations: 29.05 kB / 0.5812 GB, free: 7.473 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9788, allocations: 4 kB / 0.5812 GB, free: 7.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002437/0.979, allocations: 151.2 kB / 0.5814 GB, free: 7.309 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/0.979, allocations: 4 kB / 0.5814 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.979, allocations: 0 / 0.5814 GB, free: 7.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.9792, allocations: 41.7 kB / 0.5814 GB, free: 7.258 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.9793, allocations: 23.98 kB / 0.5814 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/0.9809, allocations: 2.411 MB / 0.5838 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/0.981, allocations: 12.62 kB / 0.5838 GB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.981, allocations: 12.16 kB / 0.5838 GB, free: 4.566 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.395e-05/0.9811, allocations: 110.1 kB / 0.5839 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.9811, allocations: 7.906 kB / 0.5839 GB, free: 4.445 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.9812, allocations: 12 kB / 0.5839 GB, free: 4.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.9812, allocations: 3.906 kB / 0.5839 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.9812, allocations: 4 kB / 0.5839 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.9812, allocations: 0 / 0.5839 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.9814, allocations: 170.2 kB / 0.5841 GB, free: 4.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.9814, allocations: 4 kB / 0.5841 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.519e-05/0.9815, allocations: 19.97 kB / 0.5841 GB, free: 4.195 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.938e-05/0.9816, allocations: 37.64 kB / 0.5842 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.9817, allocations: 3.906 kB / 0.5842 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001535/0.9832, allocations: 2.414 MB / 0.5865 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9832, allocations: 0 / 0.5865 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002775/0.9835, allocations: 306 kB / 0.5868 GB, free: 1.18 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003961/0.9839, allocations: 0.6977 MB / 0.5875 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.984, allocations: 85.2 kB / 0.5876 GB, free: 356 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.984, allocations: 4 kB / 0.5876 GB, free: 352 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.563e-05/0.9841, allocations: 7.938 kB / 0.5876 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.612e-05/0.9841, allocations: 7.969 kB / 0.5876 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.9841, allocations: 4 kB / 0.5876 GB, free: 332 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.195e-05/0.9842, allocations: 87.28 kB / 0.5877 GB, free: 244 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009329/0.9851, allocations: 35.84 kB / 0.5877 GB, free: 208 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001093/0.9852, allocations: 95.23 kB / 0.5878 GB, free: 100 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000345/0.9856, allocations: 263.5 kB / 0.5881 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9856, allocations: 0 / 0.5881 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.9858, allocations: 235.5 kB / 0.5883 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.9861, allocations: 31.25 kB / 0.5883 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.9867, allocations: 383.6 kB / 0.5887 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.987, allocations: 0.7271 MB / 0.5894 GB, free: 14.39 MB / 410.7 MB Notification: Performance of SimCode: time 2.9e-07/0.987, allocations: 0 / 0.5894 GB, free: 14.39 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_Directions3.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.Directions3_res.mat does not exist to compare? outputFormat=mat