Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.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.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove",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.001274/0.001274, allocations: 181.9 kB / 8.52 MB, free: 1.824 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.358/1.358, allocations: 221.4 MB / 230.3 MB, free: 7.648 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.0008769/0.0008767, allocations: 97.78 kB / 281.2 MB, free: 5.441 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.1686/0.1686, allocations: 44.14 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2585/0.4272, allocations: 68.02 MB / 444.1 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.5609, allocations: 61.91 MB / 0.4942 GB, free: 1.527 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3933/0.9542, allocations: 107.7 MB / 0.5993 GB, free: 4.988 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.9545, allocations: 68.62 kB / 0.5994 GB, free: 4.922 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: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.2836/1.238, allocations: 96.96 MB / 0.6941 GB, free: 3.234 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/1.238, allocations: 11.94 kB / 0.6941 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/1.249, allocations: 1.858 MB / 0.6959 GB, free: 1.355 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2354/1.485, allocations: 4.956 MB / 0.7007 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/1.485, allocations: 138.2 kB / 0.7009 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001989/1.487, allocations: 257.7 kB / 0.7011 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01247/1.499, allocations: 6.978 MB / 0.7079 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/1.521, allocations: 10.31 MB / 0.718 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000264/1.521, allocations: 61.25 kB / 0.718 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001213/1.522, allocations: 30.62 kB / 0.7181 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00144/1.523, allocations: 1.228 MB / 0.7193 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05179/1.575, allocations: 50.12 MB / 0.7682 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00475/1.58, allocations: 4.34 MB / 0.7725 GB, free: 132 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003222/1.583, allocations: 3.245 MB / 0.7756 GB, free: 130.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01309/1.596, allocations: 9.228 MB / 0.7846 GB, free: 125.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004148/1.601, allocations: 3.143 MB / 0.7877 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=211): time 6.813e-06/1.601, allocations: 6.484 kB / 0.7877 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=271): time 0.05847/1.659, allocations: 22.61 MB / 0.8098 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/1.659, allocations: 162.5 kB / 0.81 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0047/1.664, allocations: 3.21 MB / 0.8131 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008278/1.665, allocations: 25.7 kB / 0.8131 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002226/1.667, allocations: 3.042 MB / 0.8161 GB, free: 101.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001383/1.668, allocations: 0.9729 MB / 0.817 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003798/1.669, allocations: 0 / 0.817 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003104/1.669, allocations: 0.5879 MB / 0.8176 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003602/1.673, allocations: 2.997 MB / 0.8205 GB, free: 97.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005682/1.679, allocations: 6.714 MB / 0.8271 GB, free: 89.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005572/1.684, allocations: 4.458 MB / 0.8314 GB, free: 85.66 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.924e-05/1.684, allocations: 36 kB / 0.8315 GB, free: 85.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=876) (initialization): time 0.0212/1.705, allocations: 11.12 MB / 0.8423 GB, free: 76.19 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.705, allocations: 9 kB / 0.8424 GB, free: 76.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/1.706, allocations: 135.8 kB / 0.8425 GB, free: 76.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007224/1.713, allocations: 2.588 MB / 0.845 GB, free: 74.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005718/1.719, allocations: 1.466 MB / 0.8464 GB, free: 72.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02401/1.743, allocations: 19.52 MB / 0.8655 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006287/1.749, allocations: 231.9 kB / 0.8657 GB, free: 53.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/1.751, allocations: 403.7 kB / 0.8661 GB, free: 53.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 602 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.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 (777): * Single equations (assignments): 770 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.001264/1.752, allocations: 450.8 kB / 0.8665 GB, free: 53.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008312/1.753, allocations: 367.2 kB / 0.8669 GB, free: 52.76 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/1.765, allocations: 7.06 MB / 0.8738 GB, free: 45.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-05/1.765, allocations: 24 kB / 0.8738 GB, free: 45.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.607e-05/1.765, allocations: 8 kB / 0.8738 GB, free: 45.67 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.07e-05/1.765, allocations: 11.95 kB / 0.8738 GB, free: 45.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02399/1.789, allocations: 12.63 MB / 0.8862 GB, free: 33.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.122e-05/1.789, allocations: 3.984 kB / 0.8862 GB, free: 33.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002323/1.792, allocations: 331.5 kB / 0.8865 GB, free: 32.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006439/1.798, allocations: 2.37 MB / 0.8888 GB, free: 30.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005582/1.799, allocations: 4 kB / 0.8888 GB, free: 30.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02279/1.821, allocations: 19.31 MB / 0.9077 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-06/1.821, allocations: 3.938 kB / 0.9077 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01436/1.836, allocations: 7.499 MB / 0.915 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2413/2.077, allocations: 7.928 MB / 0.9227 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/2.078, allocations: 409.1 kB / 0.9231 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009873/2.079, allocations: 7.438 kB / 0.9231 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002058/2.081, allocations: 100 kB / 0.9232 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004347/2.082, allocations: 125.8 kB / 0.9233 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002912/2.082, allocations: 71.41 kB / 0.9234 GB, free: 149.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004116/2.086, allocations: 2.157 MB / 0.9255 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007828/2.094, allocations: 1.133 MB / 0.9266 GB, free: 149.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 168 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/2.095, allocations: 384.8 kB / 0.927 GB, free: 149.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01192/2.107, allocations: 7.754 MB / 0.9346 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/2.107, allocations: 0 / 0.9346 GB, free: 149.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006153/2.113, allocations: 3.459 MB / 0.9379 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/2.116, allocations: 330.7 kB / 0.9383 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/2.138, allocations: 9.651 MB / 0.9477 GB, free: 147 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006998/2.145, allocations: 3.881 MB / 0.9515 GB, free: 146.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.332e-06/2.145, allocations: 0 / 0.9515 GB, free: 146.2 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_PlanarLoopWithMove.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1)