Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove") translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007068/0.007068, allocations: 174 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.605/1.605, allocations: 194.5 MB / 210.3 MB, free: 7.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001687/0.001687, allocations: 116.5 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1922/0.1922, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.000386, allocations: 18.16 kB / 406.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1147, allocations: 54.88 MB / 461 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3832/0.498, allocations: 99.24 MB / 0.5471 GB, free: 21.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.4983, allocations: 72.12 kB / 0.5472 GB, free: 21.81 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.2224/0.7207, allocations: 92.58 MB / 0.6376 GB, free: 5.969 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.7207, allocations: 0 / 0.6376 GB, free: 5.969 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002321/0.721, allocations: 91.98 kB / 0.6377 GB, free: 5.879 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: 1594 * Number of variables: 1594 Notification: Performance of Generate backend data structure: time 0.0206/0.7416, allocations: 5.095 MB / 0.6427 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.7417, allocations: 8.031 kB / 0.6427 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/0.753, allocations: 2.232 MB / 0.6449 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01676/0.7699, allocations: 5.105 MB / 0.6498 GB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000431/0.7703, allocations: 324.5 kB / 0.6502 GB, free: 8.953 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00297/0.7733, allocations: 439.7 kB / 0.6506 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03408/0.8074, allocations: 11.57 MB / 0.6619 GB, free: 11.92 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002295/0.8077, allocations: 63.45 kB / 0.6619 GB, free: 11.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001176/0.8089, allocations: 207.9 kB / 0.6621 GB, free: 11.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001602/0.8105, allocations: 1.151 MB / 0.6633 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02359/0.8341, allocations: 10.02 MB / 0.673 GB, free: 460 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4503/1.284, allocations: 50.75 MB / 0.7226 GB, free: 82.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/1.302, allocations: 5.915 MB / 0.7284 GB, free: 81.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01919/1.321, allocations: 9.313 MB / 0.7375 GB, free: 79.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009489/1.331, allocations: 3.407 MB / 0.7408 GB, free: 79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=211): time 5.23e-06/1.331, allocations: 0 / 0.7408 GB, free: 79 MB / 490.7 MB Notification: Performance of matching and sorting (n=285): time 0.1098/1.441, allocations: 34.27 MB / 0.7743 GB, free: 75.87 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/1.441, allocations: 167.2 kB / 0.7744 GB, free: 75.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00765/1.448, allocations: 3.705 MB / 0.778 GB, free: 75.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001356/1.45, allocations: 70.14 kB / 0.7781 GB, free: 75.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003916/1.454, allocations: 3.25 MB / 0.7813 GB, free: 73.73 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001975/1.456, allocations: 1.043 MB / 0.7823 GB, free: 73.13 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006472/1.456, allocations: 133.2 kB / 0.7824 GB, free: 73.13 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004212/1.457, allocations: 0.5854 MB / 0.783 GB, free: 72.81 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00469/1.461, allocations: 3.302 MB / 0.7862 GB, free: 72.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006221/1.468, allocations: 6.898 MB / 0.793 GB, free: 66.13 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006945/1.475, allocations: 4.719 MB / 0.7976 GB, free: 64.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.459e-05/1.475, allocations: 36.94 kB / 0.7976 GB, free: 64.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=868) (initialization): time 0.02731/1.502, allocations: 12.53 MB / 0.8098 GB, free: 58.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00014/1.502, allocations: 89.14 kB / 0.8099 GB, free: 58.06 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001966/1.503, allocations: 124 kB / 0.81 GB, free: 57.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00717/1.51, allocations: 2.682 MB / 0.8127 GB, free: 55.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005858/1.516, allocations: 1.482 MB / 0.8141 GB, free: 54.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02669/1.542, allocations: 22.29 MB / 0.8359 GB, free: 34.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006766/1.549, allocations: 432.1 kB / 0.8363 GB, free: 34.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001701/1.551, allocations: 394.3 kB / 0.8367 GB, free: 34.12 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[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],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (765): * Single equations (assignments): 757 * Array equations: 3 * Algorithm blocks: 1 * 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.005606/1.557, allocations: 2.223 MB / 0.8388 GB, free: 32.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001019/1.558, allocations: 402.5 kB / 0.8392 GB, free: 31.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/1.571, allocations: 7.905 MB / 0.8469 GB, free: 25.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.825e-05/1.571, allocations: 37.12 kB / 0.847 GB, free: 25.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.35e-05/1.571, allocations: 8 kB / 0.847 GB, free: 25.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.719e-05/1.571, allocations: 18.66 kB / 0.847 GB, free: 25.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02606/1.597, allocations: 14.66 MB / 0.8613 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/1.597, allocations: 4 kB / 0.8613 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001977/1.599, allocations: 391.4 kB / 0.8617 GB, free: 12.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005667/1.605, allocations: 2.448 MB / 0.8641 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003958/1.605, allocations: 48 kB / 0.8641 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02691/1.632, allocations: 22.09 MB / 0.8857 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/1.632, allocations: 4 kB / 0.8857 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01654/1.649, allocations: 8.289 MB / 0.8938 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00438/1.653, allocations: 0.9877 MB / 0.8948 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001287/1.655, allocations: 51.98 kB / 0.8948 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/1.657, allocations: 207.7 kB / 0.895 GB, free: 9.871 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008052/1.658, allocations: 193.6 kB / 0.8952 GB, free: 9.684 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002923/1.658, allocations: 82.8 kB / 0.8953 GB, free: 9.605 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005392/1.663, allocations: 2.59 MB / 0.8978 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.112e-06/1.663, allocations: 4 kB / 0.8978 GB, free: 7.004 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008104/1.672, allocations: 1.373 MB / 0.8991 GB, free: 5.641 MB / 0.5105 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 182 * 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,(2,100.0%) 14} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.001511/1.673, allocations: 474.3 kB / 0.8996 GB, free: 5.305 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01541/1.688, allocations: 8.823 MB / 0.9082 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/1.689, allocations: 4.062 kB / 0.9082 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006689/1.695, allocations: 4.003 MB / 0.9121 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/1.698, allocations: 432.5 kB / 0.9125 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3156/2.014, allocations: 13.71 MB / 0.9259 GB, free: 147 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007914/2.022, allocations: 3.667 MB / 0.9295 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.008648/2.03, allocations: 2.145 MB / 0.9316 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/2.032, allocations: 270.7 kB / 0.9319 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.553e-06/2.032, allocations: 0 / 0.9319 GB, free: 146.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.1092/2.141, allocations: 60.13 MB / 0.9906 GB, free: 140.6 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1)