Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.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.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009801/0.00098, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009218/0.009218, allocations: 170 kB / 16.26 MB, free: 6.613 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.643/1.643, allocations: 205.4 MB / 222.4 MB, free: 5.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.4176/0.4176, allocations: 40.01 MB / 310.7 MB, free: 9.586 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.0006016/0.0006015, allocations: 12 kB / 379.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1774, allocations: 57.96 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces2): time 0.4598/0.6372, allocations: 122 MB / 0.5463 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.08286/0.7201, allocations: 23.34 MB / 0.5691 GB, free: 76 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04233/0.7625, allocations: 0.5381 MB / 0.5696 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004051/0.7667, allocations: 0.7575 MB / 0.5703 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01298/0.7797, allocations: 3.056 MB / 0.5733 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004618/0.7843, allocations: 1.251 MB / 0.5746 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02226/0.8066, allocations: 13.88 MB / 0.5881 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02415/0.8309, allocations: 11.1 MB / 0.5989 GB, free: 1.785 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007026/0.8379, allocations: 2.4 MB / 0.6013 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008726/0.8467, allocations: 4.22 MB / 0.6054 GB, free: 11.14 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002871/0.8496, allocations: 296 kB / 0.6057 GB, free: 10.85 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005513/0.8552, allocations: 1.373 MB / 0.607 GB, free: 9.477 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006928/0.8621, allocations: 3.677 MB / 0.6106 GB, free: 5.789 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01024/0.8724, allocations: 4.019 MB / 0.6145 GB, free: 1.738 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0242/0.8966, allocations: 13.37 MB / 0.6276 GB, free: 4.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.8967, allocations: 0 / 0.6276 GB, free: 4.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.8967, allocations: 0 / 0.6276 GB, free: 4.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0006898/0.8974, allocations: 0 / 0.6276 GB, free: 4.32 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.6983/1.596, allocations: 7.973 MB / 0.6354 GB, free: 42.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.596, allocations: 9.906 kB / 0.6354 GB, free: 42.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02183/1.618, allocations: 3.752 MB / 0.6391 GB, free: 41.76 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01812/1.636, allocations: 6.462 MB / 0.6454 GB, free: 40.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008349/1.637, allocations: 485.6 kB / 0.6458 GB, free: 40.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003958/1.641, allocations: 0.6339 MB / 0.6465 GB, free: 40.74 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05464/1.695, allocations: 19.18 MB / 0.6652 GB, free: 36.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005844/1.696, allocations: 82.36 kB / 0.6653 GB, free: 36.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001727/1.698, allocations: 299.7 kB / 0.6656 GB, free: 36.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006904/1.705, allocations: 3.417 MB / 0.6689 GB, free: 35.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03627/1.741, allocations: 16.21 MB / 0.6847 GB, free: 25.42 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.105/1.846, allocations: 70.62 MB / 0.7537 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02152/1.867, allocations: 8.498 MB / 0.762 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007807/1.875, allocations: 4.525 MB / 0.7664 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009234/1.876, allocations: 0.6669 MB / 0.7671 GB, free: 4.316 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.066e-05/1.876, allocations: 72.44 kB / 0.7671 GB, free: 4.234 MB / 0.545 GB Notification: Performance of pre-optimization done (n=307): time 8.045e-06/1.876, allocations: 0 / 0.7671 GB, free: 4.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=331): time 0.1105/1.987, allocations: 34.99 MB / 0.8013 GB, free: 1.086 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002359/1.987, allocations: 294 kB / 0.8016 GB, free: 0.7422 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02191/2.009, allocations: 7.641 MB / 0.809 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001477/2.011, allocations: 77.7 kB / 0.8091 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.007484/2.018, allocations: 5.494 MB / 0.8145 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002876/2.021, allocations: 1.263 MB / 0.8157 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003653/2.025, allocations: 0.8582 MB / 0.8165 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001122/2.025, allocations: 305.1 kB / 0.8168 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009321/2.034, allocations: 4.042 MB / 0.8208 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01528/2.05, allocations: 9.589 MB / 0.8302 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02222/2.072, allocations: 14.54 MB / 0.8444 GB, free: 496 kB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002837/2.072, allocations: 60 kB / 0.8444 GB, free: 436 kB / 0.6232 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.04041/2.113, allocations: 15.47 MB / 0.8595 GB, free: 2.102 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005134/2.113, allocations: 84 kB / 0.8596 GB, free: 2.02 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006015/2.114, allocations: 196.2 kB / 0.8598 GB, free: 1.828 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3544/2.468, allocations: 2.302 MB / 0.862 GB, free: 279.7 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008713/2.477, allocations: 2.338 MB / 0.8643 GB, free: 279.7 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/2.496, allocations: 15.34 MB / 0.8793 GB, free: 273.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/2.508, allocations: 0.5703 MB / 0.8799 GB, free: 273.7 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003046/2.511, allocations: 0.5608 MB / 0.8804 GB, free: 273.6 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 877 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1220): * Single equations (assignments): 1213 * 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): 4 systems {(1,13,100.0%), (2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01017/2.521, allocations: 3.746 MB / 0.8841 GB, free: 272.1 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001905/2.523, allocations: 0.6508 MB / 0.8847 GB, free: 272.1 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/2.538, allocations: 7.879 MB / 0.8924 GB, free: 269.4 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001/2.538, allocations: 35.78 kB / 0.8924 GB, free: 269.4 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-05/2.538, allocations: 9.906 kB / 0.8924 GB, free: 269.4 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.898e-05/2.538, allocations: 14.86 kB / 0.8924 GB, free: 269.4 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04562/2.584, allocations: 16.98 MB / 0.909 GB, free: 263.6 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.921e-05/2.584, allocations: 2.688 kB / 0.909 GB, free: 263.6 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003698/2.588, allocations: 0.6067 MB / 0.9096 GB, free: 263.6 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006504/2.594, allocations: 1.964 MB / 0.9115 GB, free: 263.2 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008977/2.595, allocations: 59.77 kB / 0.9116 GB, free: 263.2 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01533/2.611, allocations: 14.18 MB / 0.9254 GB, free: 254.6 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/2.611, allocations: 5.906 kB / 0.9255 GB, free: 254.6 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0216/2.632, allocations: 12.25 MB / 0.9374 GB, free: 250.2 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004694/2.637, allocations: 1.267 MB / 0.9387 GB, free: 249.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00213/2.639, allocations: 51.5 kB / 0.9387 GB, free: 249.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003757/2.643, allocations: 244.7 kB / 0.9389 GB, free: 249.7 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006339/2.644, allocations: 195.3 kB / 0.9391 GB, free: 249.7 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002327/2.644, allocations: 85.14 kB / 0.9392 GB, free: 249.7 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.009039/2.653, allocations: 4.888 MB / 0.944 GB, free: 246.1 MB / 0.6388 GB Notification: Performance of sort global known variables: time 2.3e-07/2.653, allocations: 0 / 0.944 GB, free: 246.1 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01298/2.666, allocations: 1.962 MB / 0.9459 GB, free: 244.2 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (276): * Single equations (assignments): 269 * 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): 4 systems {(1,10,100.0%), (1,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001175/2.667, allocations: 208.2 kB / 0.9461 GB, free: 244 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01562/2.683, allocations: 9.912 MB / 0.9558 GB, free: 234.1 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/2.683, allocations: 0 / 0.9558 GB, free: 234.1 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.004776/2.688, allocations: 3.593 MB / 0.9593 GB, free: 230.5 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008362/2.696, allocations: 0.9027 MB / 0.9602 GB, free: 229.6 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03779/2.734, allocations: 22.36 MB / 0.982 GB, free: 207.3 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009708/2.744, allocations: 5.741 MB / 0.9876 GB, free: 201.6 MB / 0.6388 GB Notification: Performance of simCode: alias equations: time 0.008312/2.752, allocations: 3.022 MB / 0.9906 GB, free: 198.5 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0019/2.754, allocations: 455.4 kB / 0.991 GB, free: 198.1 MB / 0.6388 GB Notification: Performance of SimCode: time 1.443e-06/2.754, allocations: 0 / 0.991 GB, free: 198.1 MB / 0.6388 GB Notification: Performance of Templates: time 0.1407/2.895, allocations: 75.96 MB / 1.065 GB, free: 122.2 MB / 0.6388 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) Environment - environmentSimulation: