Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",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.0009791/0.0009792, allocations: 179.1 kB / 8.517 MB, free: 1.855 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.415/1.415, allocations: 221.4 MB / 230.3 MB, free: 7.707 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.001134/0.001134, allocations: 92.34 kB / 281.2 MB, free: 5.516 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.225/0.225, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2874/0.5124, allocations: 68.02 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.6494, allocations: 61.91 MB / 0.4942 GB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3899/1.039, allocations: 85.38 MB / 0.5775 GB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/1.04, allocations: 66.94 kB / 0.5776 GB, free: 11.32 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.007183/1.047, allocations: 2.769 MB / 0.5803 GB, free: 8.527 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/1.047, allocations: 13.19 kB / 0.5803 GB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/1.047, allocations: 23.72 kB / 0.5803 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/1.047, allocations: 178.9 kB / 0.5805 GB, free: 8.277 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/1.047, allocations: 11.91 kB / 0.5805 GB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/1.047, allocations: 8 kB / 0.5805 GB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000191/1.047, allocations: 72.64 kB / 0.5806 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002304/1.048, allocations: 141.3 kB / 0.5807 GB, free: 8.039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/1.048, allocations: 3.906 kB / 0.5807 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/1.048, allocations: 0 / 0.5807 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/1.048, allocations: 4 kB / 0.5807 GB, free: 8.031 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/1.049, allocations: 0.5727 MB / 0.5813 GB, free: 7.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/1.049, allocations: 99.44 kB / 0.5814 GB, free: 7.301 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.086e-05/1.049, allocations: 49.72 kB / 0.5815 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/1.049, allocations: 0 / 0.5815 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/1.049, allocations: 34.47 kB / 0.5815 GB, free: 7.203 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/1.049, allocations: 0 / 0.5815 GB, free: 7.203 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004806/1.049, allocations: 135.4 kB / 0.5816 GB, free: 7.059 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/1.049, allocations: 81.11 kB / 0.5817 GB, free: 6.961 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/1.05, allocations: 123.8 kB / 0.5818 GB, free: 6.832 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/1.05, allocations: 25.7 kB / 0.5818 GB, free: 6.801 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/1.05, allocations: 128 kB / 0.582 GB, free: 6.672 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/1.05, allocations: 58.05 kB / 0.582 GB, free: 6.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/1.05, allocations: 0 / 0.582 GB, free: 6.617 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/1.05, allocations: 326.8 kB / 0.5823 GB, free: 6.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.805e-05/1.05, allocations: 28.84 kB / 0.5823 GB, free: 6.262 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/1.05, allocations: 97.39 kB / 0.5824 GB, free: 6.137 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.858e-05/1.05, allocations: 49.14 kB / 0.5825 GB, free: 6.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.05, allocations: 3.938 kB / 0.5825 GB, free: 6.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003337/1.051, allocations: 199 kB / 0.5827 GB, free: 5.879 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/1.051, allocations: 4 kB / 0.5827 GB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.051, allocations: 4 kB / 0.5827 GB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/1.051, allocations: 45.7 kB / 0.5827 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/1.051, allocations: 39.92 kB / 0.5828 GB, free: 5.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/1.053, allocations: 2.593 MB / 0.5853 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.437e-05/1.053, allocations: 15.75 kB / 0.5853 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/1.053, allocations: 12 kB / 0.5853 GB, free: 2.926 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 (20): * Single equations (assignments): 18 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001038/1.053, allocations: 109.1 kB / 0.5854 GB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/1.053, allocations: 11.91 kB / 0.5854 GB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/1.054, allocations: 16.48 kB / 0.5855 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.054, allocations: 7.906 kB / 0.5855 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.054, allocations: 0 / 0.5855 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.054, allocations: 0 / 0.5855 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/1.054, allocations: 198 kB / 0.5857 GB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.054, allocations: 0 / 0.5857 GB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/1.054, allocations: 31.98 kB / 0.5857 GB, free: 2.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001241/1.054, allocations: 41.7 kB / 0.5857 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/1.054, allocations: 3.828 kB / 0.5857 GB, free: 2.465 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/1.056, allocations: 2.597 MB / 0.5883 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.056, allocations: 4.031 kB / 0.5883 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003731/1.056, allocations: 366.2 kB / 0.5886 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005022/1.057, allocations: 0.7625 MB / 0.5894 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/1.057, allocations: 96.86 kB / 0.5895 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/1.057, allocations: 0 / 0.5895 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001134/1.057, allocations: 0 / 0.5895 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.344e-05/1.057, allocations: 11.92 kB / 0.5895 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/1.057, allocations: 4 kB / 0.5895 GB, free: 14.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.076e-05/1.057, allocations: 99.27 kB / 0.5896 GB, free: 14.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001002/1.058, allocations: 47.84 kB / 0.5896 GB, free: 14.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001416/1.058, allocations: 107.3 kB / 0.5897 GB, free: 14.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004383/1.059, allocations: 303.4 kB / 0.59 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/1.059, allocations: 4 kB / 0.59 GB, free: 13.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002753/1.059, allocations: 256 kB / 0.5903 GB, free: 13.47 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/1.059, allocations: 15.98 kB / 0.5903 GB, free: 13.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008878/1.06, allocations: 0.549 MB / 0.5908 GB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/1.061, allocations: 0.75 MB / 0.5915 GB, free: 12.11 MB / 410.7 MB Notification: Performance of SimCode: time 3.1e-07/1.061, allocations: 0 / 0.5915 GB, free: 12.11 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat does not exist to compare? outputFormat=mat