Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001165/0.001165, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.577/1.577, allocations: 205.1 MB / 222 MB, free: 4.77 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.38/0.38, allocations: 39.94 MB / 309.3 MB, free: 9.652 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.001577/0.001577, allocations: 59.92 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1771, allocations: 56.89 MB / 433.8 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.4273/0.6045, allocations: 97.55 MB / 0.5189 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.07079/0.6754, allocations: 18.65 MB / 0.5371 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03892/0.7145, allocations: 422.3 kB / 0.5375 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01389/0.7284, allocations: 4.833 MB / 0.5422 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01271/0.7412, allocations: 2.606 MB / 0.5448 GB, free: 5.934 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004123/0.7454, allocations: 1.065 MB / 0.5458 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01673/0.7621, allocations: 10.22 MB / 0.5558 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0103/0.7725, allocations: 5.968 MB / 0.5616 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006009/0.7785, allocations: 2.308 MB / 0.5639 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007564/0.7861, allocations: 3.793 MB / 0.5676 GB, free: 28 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003255/0.7894, allocations: 416 kB / 0.568 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006042/0.7955, allocations: 1.51 MB / 0.5695 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006522/0.8021, allocations: 3.175 MB / 0.5726 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009398/0.8115, allocations: 3.623 MB / 0.5761 GB, free: 7.281 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01998/0.8315, allocations: 11.41 MB / 0.5872 GB, free: 11.84 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.103e-05/0.8316, allocations: 0 / 0.5872 GB, free: 11.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.8316, allocations: 0 / 0.5872 GB, free: 11.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006349/0.8323, allocations: 0 / 0.5872 GB, free: 11.84 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02841/0.8607, allocations: 8.069 MB / 0.5951 GB, free: 3.684 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.8608, allocations: 8.031 kB / 0.5951 GB, free: 3.676 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/0.8746, allocations: 2.857 MB / 0.5979 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01269/0.8873, allocations: 4.573 MB / 0.6024 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005211/0.8879, allocations: 398.1 kB / 0.6028 GB, free: 11.76 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00364/0.8916, allocations: 0.5152 MB / 0.6033 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04401/0.9356, allocations: 16.9 MB / 0.6198 GB, free: 9.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002956/0.936, allocations: 75.3 kB / 0.6198 GB, free: 9.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001024/0.937, allocations: 251.8 kB / 0.6201 GB, free: 9.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005964/0.943, allocations: 3.248 MB / 0.6233 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.571/1.514, allocations: 14.5 MB / 0.6374 GB, free: 140.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09862/1.613, allocations: 62.76 MB / 0.6987 GB, free: 98.88 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02068/1.634, allocations: 6.899 MB / 0.7055 GB, free: 96.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007127/1.641, allocations: 4.252 MB / 0.7096 GB, free: 94.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02297/1.664, allocations: 9.668 MB / 0.719 GB, free: 88.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/1.664, allocations: 60.88 kB / 0.7191 GB, free: 88.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=297): time 9.788e-06/1.664, allocations: 4 kB / 0.7191 GB, free: 88.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.08722/1.751, allocations: 34.77 MB / 0.7531 GB, free: 53.23 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.751, allocations: 252.2 kB / 0.7533 GB, free: 52.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/1.762, allocations: 6.747 MB / 0.7599 GB, free: 46.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001389/1.763, allocations: 77.7 kB / 0.76 GB, free: 46.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002804/1.766, allocations: 4.744 MB / 0.7646 GB, free: 41.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001884/1.768, allocations: 1.268 MB / 0.7658 GB, free: 40.07 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002338/1.77, allocations: 1.888 MB / 0.7677 GB, free: 38.17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.249e-05/1.77, allocations: 305.1 kB / 0.768 GB, free: 37.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004892/1.775, allocations: 4.074 MB / 0.772 GB, free: 33.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007058/1.782, allocations: 9.143 MB / 0.7809 GB, free: 22.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01405/1.796, allocations: 14.15 MB / 0.7947 GB, free: 5.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001524/1.796, allocations: 52 kB / 0.7948 GB, free: 5.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.03235/1.829, allocations: 15.12 MB / 0.8095 GB, free: 6.344 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001553/1.829, allocations: 84 kB / 0.8096 GB, free: 6.262 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002403/1.829, allocations: 176 kB / 0.8098 GB, free: 6.09 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005999/1.835, allocations: 2.288 MB / 0.812 GB, free: 3.793 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009206/1.845, allocations: 2.152 MB / 0.8141 GB, free: 1.637 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3421/2.187, allocations: 13.52 MB / 0.8273 GB, free: 139.2 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/2.197, allocations: 0.5334 MB / 0.8278 GB, free: 139.1 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00236/2.199, allocations: 0.5309 MB / 0.8283 GB, free: 139 MB / 0.4982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 804 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1125): * Single equations (assignments): 1118 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008025/2.207, allocations: 3.291 MB / 0.8316 GB, free: 137.7 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001693/2.209, allocations: 0.5783 MB / 0.8321 GB, free: 137.7 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/2.224, allocations: 8.458 MB / 0.8404 GB, free: 134.8 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.392e-05/2.224, allocations: 34.62 kB / 0.8404 GB, free: 134.8 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.272e-05/2.224, allocations: 9.188 kB / 0.8404 GB, free: 134.8 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.089e-05/2.224, allocations: 13.22 kB / 0.8404 GB, free: 134.8 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04723/2.271, allocations: 17.11 MB / 0.8571 GB, free: 128.9 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.303e-05/2.271, allocations: 5.234 kB / 0.8571 GB, free: 128.9 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003848/2.275, allocations: 0.582 MB / 0.8577 GB, free: 128.9 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007205/2.282, allocations: 2.044 MB / 0.8597 GB, free: 128.5 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001358/2.284, allocations: 66.25 kB / 0.8598 GB, free: 128.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01715/2.301, allocations: 12.72 MB / 0.8722 GB, free: 122.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/2.301, allocations: 13.44 kB / 0.8722 GB, free: 122.2 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02052/2.321, allocations: 13.09 MB / 0.885 GB, free: 117.1 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00519/2.327, allocations: 1.233 MB / 0.8862 GB, free: 116.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002716/2.329, allocations: 66.3 kB / 0.8863 GB, free: 116.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004416/2.334, allocations: 238.2 kB / 0.8865 GB, free: 116.2 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008088/2.335, allocations: 200.9 kB / 0.8867 GB, free: 116 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003476/2.335, allocations: 91.64 kB / 0.8868 GB, free: 115.9 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.009543/2.345, allocations: 4.357 MB / 0.891 GB, free: 111.6 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.41e-07/2.345, allocations: 0 / 0.891 GB, free: 111.6 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.0103/2.355, allocations: 1.774 MB / 0.8928 GB, free: 109.8 MB / 0.4982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (279): * Single equations (assignments): 274 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008751/2.356, allocations: 212.7 kB / 0.893 GB, free: 109.7 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01488/2.371, allocations: 9.815 MB / 0.9025 GB, free: 99.98 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/2.371, allocations: 0 / 0.9025 GB, free: 99.98 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005872/2.377, allocations: 3.973 MB / 0.9064 GB, free: 95.99 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005914/2.383, allocations: 0.7355 MB / 0.9071 GB, free: 95.29 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03368/2.416, allocations: 20.01 MB / 0.9267 GB, free: 75.31 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007307/2.424, allocations: 5.034 MB / 0.9316 GB, free: 70.24 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.007915/2.432, allocations: 2.979 MB / 0.9345 GB, free: 67.25 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/2.433, allocations: 411.3 kB / 0.9349 GB, free: 66.85 MB / 0.4982 GB Notification: Performance of SimCode: time 1.212e-06/2.433, allocations: 0 / 0.9349 GB, free: 66.85 MB / 0.4982 GB Notification: Performance of Templates: time 0.1215/2.555, allocations: 70.26 MB / 1.004 GB, free: 12.68 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1)