Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithMass",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.001375/0.001375, allocations: 188.2 kB / 7.804 MB, free: 2.438 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.492/1.492, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009485/0.0009485, allocations: 98.8 kB / 261.4 MB, free: 13.6 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.207/0.207, allocations: 43.49 MB / 352.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2109/0.418, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.7265, allocations: 58.82 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.8812, allocations: 110.9 MB / 0.5738 GB, free: 4.051 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.8816, allocations: 79.36 kB / 0.5739 GB, free: 3.977 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.5279/1.41, allocations: 113.4 MB / 0.6846 GB, free: 105.9 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/1.41, allocations: 7.281 kB / 0.6846 GB, free: 105.9 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02869/1.438, allocations: 6.527 MB / 0.691 GB, free: 104.9 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0238/1.462, allocations: 7.15 MB / 0.6979 GB, free: 102.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000935/1.463, allocations: 176 kB / 0.6981 GB, free: 102.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003761/1.467, allocations: 326.9 kB / 0.6984 GB, free: 102.3 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02073/1.488, allocations: 8.37 MB / 0.7066 GB, free: 99.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02812/1.516, allocations: 12.29 MB / 0.7186 GB, free: 86.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004296/1.516, allocations: 79.23 kB / 0.7187 GB, free: 86.58 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002791/1.519, allocations: 32 kB / 0.7187 GB, free: 86.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002438/1.522, allocations: 1.457 MB / 0.7201 GB, free: 85.09 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0719/1.594, allocations: 61.95 MB / 0.7806 GB, free: 21.39 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005481/1.599, allocations: 4.235 MB / 0.7848 GB, free: 17.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004156/1.603, allocations: 3.339 MB / 0.788 GB, free: 13.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02102/1.624, allocations: 13.17 MB / 0.8009 GB, free: 136 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/1.624, allocations: 60.5 kB / 0.8009 GB, free: 68 kB / 474.7 MB Notification: Performance of pre-optimization done (n=227): time 6.021e-06/1.624, allocations: 0 / 0.8009 GB, free: 68 kB / 474.7 MB Notification: Performance of matching and sorting (n=265): time 0.06451/1.689, allocations: 23.41 MB / 0.8238 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.689, allocations: 261.3 kB / 0.824 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008121/1.697, allocations: 3.928 MB / 0.8279 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005523/1.698, allocations: 33.64 kB / 0.8279 GB, free: 4.328 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002769/1.701, allocations: 3.652 MB / 0.8315 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.1354/1.836, allocations: 0.9597 MB / 0.8324 GB, free: 183.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005809/1.837, allocations: 2.406 kB / 0.8324 GB, free: 183.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000316/1.837, allocations: 0.6239 MB / 0.833 GB, free: 183 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00317/1.84, allocations: 2.516 MB / 0.8355 GB, free: 183 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004602/1.845, allocations: 6.989 MB / 0.8423 GB, free: 177.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005134/1.85, allocations: 4.167 MB / 0.8464 GB, free: 177.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/1.85, allocations: 48.12 kB / 0.8464 GB, free: 177.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.01291/1.863, allocations: 8.919 MB / 0.8551 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.863, allocations: 13.03 kB / 0.8551 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/1.863, allocations: 157.8 kB / 0.8553 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001151/1.864, allocations: 0.5902 MB / 0.8559 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005883/1.87, allocations: 1.771 MB / 0.8576 GB, free: 176.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004958/1.875, allocations: 5.318 MB / 0.8628 GB, free: 173.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005298/1.881, allocations: 227.2 kB / 0.863 GB, free: 173.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001264/1.882, allocations: 457 kB / 0.8635 GB, free: 173.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (947): * Single equations (assignments): 942 * Array equations: 3 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001116/1.883, allocations: 0.5041 MB / 0.8639 GB, free: 172.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007137/1.884, allocations: 440.6 kB / 0.8644 GB, free: 172.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005319/1.889, allocations: 3.891 MB / 0.8682 GB, free: 171.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.865e-05/1.889, allocations: 25.91 kB / 0.8682 GB, free: 171.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/1.889, allocations: 3.906 kB / 0.8682 GB, free: 171.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.227e-05/1.889, allocations: 17.86 kB / 0.8682 GB, free: 171.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/1.904, allocations: 9.161 MB / 0.8772 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.904, allocations: 0 / 0.8772 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002261/1.906, allocations: 441 kB / 0.8776 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008937/1.907, allocations: 352.1 kB / 0.8779 GB, free: 168.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/1.907, allocations: 7.688 kB / 0.8779 GB, free: 168.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/1.911, allocations: 4.644 MB / 0.8825 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.911, allocations: 3 kB / 0.8825 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00886/1.92, allocations: 7.136 MB / 0.8894 GB, free: 161.9 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01128/1.931, allocations: 10.17 MB / 0.8994 GB, free: 156.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002182/1.934, allocations: 0.786 MB / 0.9001 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001078/1.935, allocations: 4 kB / 0.9001 GB, free: 155.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/1.937, allocations: 88.22 kB / 0.9002 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/1.937, allocations: 118.9 kB / 0.9003 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001973/1.938, allocations: 67.19 kB / 0.9004 GB, free: 155.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004492/1.942, allocations: 2.651 MB / 0.903 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006926/1.949, allocations: 1.107 MB / 0.9041 GB, free: 152.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 220 * Array equations: 3 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004547/1.949, allocations: 166 kB / 0.9042 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.008673/1.958, allocations: 6.205 MB / 0.9103 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/1.958, allocations: 4 kB / 0.9103 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002959/1.961, allocations: 2.138 MB / 0.9124 GB, free: 144.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/1.965, allocations: 465 kB / 0.9128 GB, free: 143.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02089/1.986, allocations: 10.2 MB / 0.9228 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006144/1.992, allocations: 4.592 MB / 0.9273 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.663e-06/1.992, allocations: 0 / 0.9273 GB, free: 131.3 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithMass_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_LineForceWithMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1)