Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.PlanarLoopWithMove") translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009432/0.009433, allocations: 101 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 192.4 kB / 16.67 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.422/1.422, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2927/0.2927, allocations: 37.99 MB / 307.9 MB, free: 10.04 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.1. 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.001652/0.001652, allocations: 72.45 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3113, allocations: 56.46 MB / 489.4 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.PlanarLoopWithMove): time 0.01253/0.3239, allocations: 12.04 MB / 0.4897 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.3341, allocations: 4.495 MB / 0.4941 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/0.3369, allocations: 80.91 kB / 0.4942 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008428/0.3454, allocations: 3.002 MB / 0.4971 GB, free: 7.016 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.008633/0.3541, allocations: 2.014 MB / 0.4991 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.3575, allocations: 0.8572 MB / 0.4999 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009136/0.3667, allocations: 4.098 MB / 0.5039 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00692/0.3736, allocations: 3.301 MB / 0.5072 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004672/0.3783, allocations: 1.765 MB / 0.5089 GB, free: 388 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005438/0.3838, allocations: 2.175 MB / 0.511 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.3851, allocations: 314.5 kB / 0.5113 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004444/0.3896, allocations: 1.182 MB / 0.5125 GB, free: 14.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004262/0.3939, allocations: 2.006 MB / 0.5144 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006685/0.4006, allocations: 2.312 MB / 0.5167 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01696/0.4176, allocations: 7.176 MB / 0.5237 GB, free: 4.598 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.4177, allocations: 7.984 kB / 0.5237 GB, free: 4.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4177, allocations: 0 / 0.5237 GB, free: 4.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002786/0.418, allocations: 0 / 0.5237 GB, free: 4.59 MB / 398.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.01533/0.4333, allocations: 5.33 MB / 0.5289 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.4334, allocations: 15.89 kB / 0.5289 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00634/0.4397, allocations: 1.866 MB / 0.5307 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005328/0.4451, allocations: 2.613 MB / 0.5333 GB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002099/0.4453, allocations: 238 kB / 0.5335 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00112/0.4465, allocations: 319.7 kB / 0.5338 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02082/0.4673, allocations: 11.2 MB / 0.5448 GB, free: 14.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/0.4675, allocations: 39.62 kB / 0.5448 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001085/0.4686, allocations: 155.8 kB / 0.5449 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004/0.4726, allocations: 2.295 MB / 0.5472 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02013/0.4928, allocations: 9.866 MB / 0.5568 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05957/0.5524, allocations: 44.11 MB / 0.5999 GB, free: 4.422 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0141/0.5666, allocations: 5.824 MB / 0.6056 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004075/0.5707, allocations: 3.229 MB / 0.6087 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01427/0.585, allocations: 9.333 MB / 0.6178 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009997/0.595, allocations: 3.365 MB / 0.6211 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=211): time 7.053e-06/0.5951, allocations: 0 / 0.6211 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=282): time 0.3558/0.9509, allocations: 32.6 MB / 0.653 GB, free: 123.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/0.951, allocations: 160.7 kB / 0.6531 GB, free: 123.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006753/0.9578, allocations: 4.206 MB / 0.6572 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008625/0.9587, allocations: 67.17 kB / 0.6573 GB, free: 121.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002647/0.9613, allocations: 3.246 MB / 0.6605 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001409/0.9628, allocations: 1.034 MB / 0.6615 GB, free: 118.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002125/0.9649, allocations: 1.342 MB / 0.6628 GB, free: 117.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.739e-05/0.965, allocations: 305.1 kB / 0.6631 GB, free: 117.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005244/0.9702, allocations: 3.296 MB / 0.6663 GB, free: 116.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007083/0.9773, allocations: 6.904 MB / 0.673 GB, free: 110.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/0.9889, allocations: 11.01 MB / 0.6838 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001493/0.9891, allocations: 38.12 kB / 0.6838 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=860) (initialization): time 0.02106/1.01, allocations: 12.42 MB / 0.696 GB, free: 92.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/1.01, allocations: 56 kB / 0.696 GB, free: 92.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002513/1.011, allocations: 128 kB / 0.6961 GB, free: 92.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006737/1.017, allocations: 2.63 MB / 0.6987 GB, free: 89.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005609/1.023, allocations: 1.466 MB / 0.7001 GB, free: 88.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0242/1.047, allocations: 23.4 MB / 0.723 GB, free: 64.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006046/1.053, allocations: 435.3 kB / 0.7234 GB, free: 63.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009841/1.054, allocations: 391.9 kB / 0.7238 GB, free: 63.51 MB / 0.4981 GB 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.003346/1.058, allocations: 2.221 MB / 0.7259 GB, free: 61.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008401/1.059, allocations: 410.7 kB / 0.7263 GB, free: 60.87 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/1.07, allocations: 7.82 MB / 0.734 GB, free: 53.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.626e-05/1.07, allocations: 31.52 kB / 0.734 GB, free: 52.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.486e-05/1.07, allocations: 12 kB / 0.734 GB, free: 52.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.551e-05/1.07, allocations: 11.95 kB / 0.734 GB, free: 52.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02198/1.092, allocations: 14.28 MB / 0.748 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/1.092, allocations: 0 / 0.748 GB, free: 38.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002289/1.095, allocations: 389.2 kB / 0.7483 GB, free: 38.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005142/1.1, allocations: 2.296 MB / 0.7506 GB, free: 35.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000599/1.1, allocations: 48 kB / 0.7506 GB, free: 35.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02297/1.123, allocations: 23.25 MB / 0.7733 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.123, allocations: 3.938 kB / 0.7733 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/1.136, allocations: 7.965 MB / 0.7811 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002652/1.138, allocations: 0.9643 MB / 0.782 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007984/1.139, allocations: 51.98 kB / 0.7821 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/1.141, allocations: 215.7 kB / 0.7823 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007072/1.142, allocations: 189.6 kB / 0.7825 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/1.142, allocations: 72.47 kB / 0.7826 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003435/1.146, allocations: 2.642 MB / 0.7851 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/1.146, allocations: 0 / 0.7851 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006806/1.152, allocations: 1.356 MB / 0.7865 GB, free: 14.54 MB / 0.5137 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 (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.001544/1.154, allocations: 495.5 kB / 0.7869 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01557/1.17, allocations: 8.71 MB / 0.7954 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/1.17, allocations: 192 / 0.7954 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007435/1.177, allocations: 3.956 MB / 0.7993 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005114/1.182, allocations: 494.5 kB / 0.7998 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/1.205, allocations: 11.8 MB / 0.8113 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004202/1.21, allocations: 3.574 MB / 0.8148 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005197/1.215, allocations: 2.117 MB / 0.8168 GB, free: 15.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009203/1.216, allocations: 267.3 kB / 0.8171 GB, free: 15.01 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/1.216, allocations: 4 kB / 0.8171 GB, free: 15.01 MB / 0.545 GB Notification: Performance of Templates: time 0.3784/1.594, allocations: 61.35 MB / 0.877 GB, free: 164.1 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1)