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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 193 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3323/0.3323, allocations: 39.94 MB / 309.7 MB, free: 9.297 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 71.91 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1309, allocations: 56.89 MB / 434.5 MB, free: 3.684 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01408/0.145, allocations: 12.03 MB / 446.5 MB, free: 7.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01025/0.1553, allocations: 4.503 MB / 451 MB, free: 3.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002258/0.1576, allocations: 83.69 kB / 451.1 MB, free: 3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2486/0.4062, allocations: 2.995 MB / 454.1 MB, free: 36.42 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.006125/0.4124, allocations: 1.961 MB / 456.1 MB, free: 36.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002645/0.4151, allocations: 0.8516 MB / 456.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006304/0.4214, allocations: 4.086 MB / 461 MB, free: 36.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004096/0.4255, allocations: 3.299 MB / 464.3 MB, free: 36.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003388/0.429, allocations: 1.773 MB / 466.1 MB, free: 35.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003379/0.4324, allocations: 2.161 MB / 468.2 MB, free: 35.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009238/0.4333, allocations: 312.9 kB / 468.5 MB, free: 35.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003136/0.4364, allocations: 1.184 MB / 469.7 MB, free: 35.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002126/0.4386, allocations: 1.96 MB / 471.7 MB, free: 34.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002739/0.4413, allocations: 2.297 MB / 474 MB, free: 33.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007494/0.4489, allocations: 6.918 MB / 480.9 MB, free: 30.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4489, allocations: 0 / 480.9 MB, free: 30.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4489, allocations: 0 / 480.9 MB, free: 30.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000151/0.449, allocations: 6.75 kB / 480.9 MB, free: 30.68 MB / 382.1 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.01239/0.4614, allocations: 5.323 MB / 486.2 MB, free: 27.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/0.4615, allocations: 15.14 kB / 486.2 MB, free: 27.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007755/0.4693, allocations: 1.876 MB / 488.1 MB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007403/0.4767, allocations: 2.553 MB / 490.7 MB, free: 26.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003537/0.4771, allocations: 235.6 kB / 490.9 MB, free: 26.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001538/0.4787, allocations: 321.8 kB / 491.2 MB, free: 26.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02668/0.5054, allocations: 11.19 MB / 0.4906 GB, free: 21.1 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001625/0.5056, allocations: 41.59 kB / 0.4907 GB, free: 21.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005085/0.5061, allocations: 159.4 kB / 0.4908 GB, free: 21.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004279/0.5104, allocations: 2.299 MB / 0.4931 GB, free: 20.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01971/0.5301, allocations: 9.869 MB / 0.5027 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06171/0.5919, allocations: 44.3 MB / 0.546 GB, free: 2.027 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01452/0.6064, allocations: 5.824 MB / 0.5517 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004644/0.6111, allocations: 3.235 MB / 0.5548 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01527/0.6264, allocations: 9.324 MB / 0.5639 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01024/0.6368, allocations: 3.364 MB / 0.5672 GB, free: 11.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=211): time 7.804e-06/0.6368, allocations: 3.984 kB / 0.5672 GB, free: 11.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=282): time 0.1275/0.7643, allocations: 32.61 MB / 0.5991 GB, free: 11.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001801/0.7646, allocations: 174.4 kB / 0.5992 GB, free: 11 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009002/0.7736, allocations: 4.202 MB / 0.6033 GB, free: 6.77 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001038/0.7747, allocations: 65.7 kB / 0.6034 GB, free: 6.699 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00377/0.7785, allocations: 3.246 MB / 0.6066 GB, free: 3.449 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001983/0.7805, allocations: 1.032 MB / 0.6076 GB, free: 2.426 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003625/0.7841, allocations: 1.336 MB / 0.6089 GB, free: 1.082 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.7842, allocations: 301.1 kB / 0.6092 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005487/0.7897, allocations: 3.3 MB / 0.6124 GB, free: 13.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008722/0.7985, allocations: 6.899 MB / 0.6191 GB, free: 4.824 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3146/1.113, allocations: 11.01 MB / 0.6299 GB, free: 136.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/1.113, allocations: 34.53 kB / 0.6299 GB, free: 136.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=860) (initialization): time 0.02351/1.137, allocations: 12.42 MB / 0.642 GB, free: 133.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.971e-05/1.137, allocations: 60.38 kB / 0.6421 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001187/1.137, allocations: 132.5 kB / 0.6422 GB, free: 133.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006677/1.144, allocations: 2.634 MB / 0.6448 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0052/1.149, allocations: 1.467 MB / 0.6462 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03211/1.181, allocations: 23.41 MB / 0.6691 GB, free: 120 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00738/1.189, allocations: 434.5 kB / 0.6695 GB, free: 119.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001536/1.19, allocations: 389.8 kB / 0.6699 GB, free: 119.8 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 571 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent,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.groundColor[3],world.groundColor[2],world.groundColor[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 (761): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (2,14,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,27)} Notification: Performance of prepare postOptimizeDAE: time 0.006688/1.197, allocations: 2.228 MB / 0.672 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/1.198, allocations: 406.5 kB / 0.6724 GB, free: 118.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/1.212, allocations: 7.819 MB / 0.6801 GB, free: 116 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.614e-05/1.212, allocations: 28.19 kB / 0.6801 GB, free: 116 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.573e-05/1.212, allocations: 11.56 kB / 0.6801 GB, free: 116 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-05/1.212, allocations: 13.48 kB / 0.6801 GB, free: 116 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02352/1.236, allocations: 14.47 MB / 0.6942 GB, free: 109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-05/1.236, allocations: 4 kB / 0.6943 GB, free: 109 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/1.238, allocations: 379.4 kB / 0.6946 GB, free: 108.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005115/1.243, allocations: 2.305 MB / 0.6969 GB, free: 106.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003202/1.243, allocations: 48 kB / 0.6969 GB, free: 106.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02415/1.267, allocations: 23.22 MB / 0.7196 GB, free: 82.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.267, allocations: 7.938 kB / 0.7196 GB, free: 82.56 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/1.281, allocations: 7.949 MB / 0.7274 GB, free: 74.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002979/1.284, allocations: 0.9681 MB / 0.7283 GB, free: 73.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008655/1.285, allocations: 44 kB / 0.7283 GB, free: 73.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002269/1.288, allocations: 219.7 kB / 0.7286 GB, free: 73.24 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000814/1.288, allocations: 197.5 kB / 0.7287 GB, free: 73.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002432/1.289, allocations: 74.8 kB / 0.7288 GB, free: 72.98 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003962/1.293, allocations: 2.642 MB / 0.7314 GB, free: 70.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.293, allocations: 0 / 0.7314 GB, free: 70.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007352/1.3, allocations: 1.345 MB / 0.7327 GB, free: 69 MB / 494.1 MB 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 (185): * Single equations (assignments): 176 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,16,100.0%), (2,14,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001428/1.302, allocations: 496.6 kB / 0.7332 GB, free: 68.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01795/1.319, allocations: 11.34 MB / 0.7443 GB, free: 57.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.138e-05/1.32, allocations: 0 / 0.7443 GB, free: 57.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005866/1.325, allocations: 3.942 MB / 0.7481 GB, free: 53.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/1.329, allocations: 0.4991 MB / 0.7486 GB, free: 52.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.352, allocations: 11.91 MB / 0.7602 GB, free: 40.79 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00433/1.356, allocations: 3.578 MB / 0.7637 GB, free: 37.18 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005831/1.362, allocations: 2.121 MB / 0.7658 GB, free: 35.05 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.363, allocations: 267.4 kB / 0.766 GB, free: 34.79 MB / 494.1 MB Notification: Performance of SimCode: time 1.323e-06/1.363, allocations: 4 kB / 0.766 GB, free: 34.79 MB / 494.1 MB Notification: Performance of Templates: time 0.3929/1.756, allocations: 64.79 MB / 0.8293 GB, free: 148.3 MB / 0.4981 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)