Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008813/0.0008811, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005853/0.005853, allocations: 170 kB / 16.27 MB, free: 6.652 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.481/1.481, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.345/0.345, allocations: 38.03 MB / 308.8 MB, free: 10.33 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.0005495/0.0005494, allocations: 12.52 kB / 377 MB, free: 14.85 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1199, allocations: 57.53 MB / 434.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3046/0.4246, allocations: 87.52 MB / 0.5098 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04952/0.4742, allocations: 17.31 MB / 0.5267 GB, free: 2.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02377/0.498, allocations: 383.3 kB / 0.5271 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.5011, allocations: 0.6056 MB / 0.5277 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.513, allocations: 2.42 MB / 0.5301 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003449/0.5164, allocations: 0.9602 MB / 0.531 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01732/0.5338, allocations: 9.685 MB / 0.5405 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01454/0.5484, allocations: 8.093 MB / 0.5484 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005039/0.5535, allocations: 1.809 MB / 0.5501 GB, free: 5.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005671/0.5592, allocations: 3.106 MB / 0.5532 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001696/0.5609, allocations: 236 kB / 0.5534 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004539/0.5655, allocations: 1.311 MB / 0.5547 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004796/0.5703, allocations: 2.742 MB / 0.5573 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007078/0.5774, allocations: 3.153 MB / 0.5604 GB, free: 11.06 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01597/0.5934, allocations: 10.58 MB / 0.5708 GB, free: 452 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/0.5935, allocations: 0 / 0.5708 GB, free: 452 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.5935, allocations: 0 / 0.5708 GB, free: 452 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004913/0.594, allocations: 0 / 0.5708 GB, free: 452 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01638/0.6104, allocations: 6.183 MB / 0.5768 GB, free: 10.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.6105, allocations: 12.03 kB / 0.5768 GB, free: 10.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/0.6243, allocations: 2.846 MB / 0.5796 GB, free: 7.309 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/0.6344, allocations: 4.265 MB / 0.5838 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004414/0.6349, allocations: 385.7 kB / 0.5841 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002046/0.6369, allocations: 0.4997 MB / 0.5846 GB, free: 2.105 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/0.6709, allocations: 16.43 MB / 0.6007 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002925/0.6713, allocations: 59.44 kB / 0.6007 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001691/0.673, allocations: 243.7 kB / 0.6009 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00611/0.6791, allocations: 3.154 MB / 0.604 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03454/0.7137, allocations: 14.29 MB / 0.618 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3206/1.034, allocations: 59.17 MB / 0.6758 GB, free: 105.2 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01626/1.051, allocations: 7.17 MB / 0.6828 GB, free: 102.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006753/1.057, allocations: 4.498 MB / 0.6872 GB, free: 100.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02498/1.083, allocations: 15.44 MB / 0.7022 GB, free: 94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/1.083, allocations: 66.78 kB / 0.7023 GB, free: 93.94 MB / 494.1 MB Notification: Performance of pre-optimization done (n=306): time 6.552e-06/1.083, allocations: 0 / 0.7023 GB, free: 93.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=348): time 0.08492/1.168, allocations: 32.8 MB / 0.7343 GB, free: 76.28 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.168, allocations: 229.7 kB / 0.7345 GB, free: 76.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009778/1.178, allocations: 5.344 MB / 0.7398 GB, free: 70.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.179, allocations: 77.7 kB / 0.7398 GB, free: 70.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002438/1.181, allocations: 4.333 MB / 0.7441 GB, free: 66.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00199/1.183, allocations: 1.281 MB / 0.7453 GB, free: 64.99 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002042/1.185, allocations: 0.7276 MB / 0.746 GB, free: 64.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.527e-05/1.185, allocations: 301.1 kB / 0.7463 GB, free: 63.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006433/1.192, allocations: 3.921 MB / 0.7501 GB, free: 60.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00857/1.2, allocations: 8.421 MB / 0.7584 GB, free: 49.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01492/1.215, allocations: 13.23 MB / 0.7713 GB, free: 33.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001479/1.215, allocations: 44 kB / 0.7713 GB, free: 33.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.02856/1.244, allocations: 14.26 MB / 0.7853 GB, free: 19.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003699/1.244, allocations: 80.62 kB / 0.7853 GB, free: 19.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00038/1.245, allocations: 156 kB / 0.7855 GB, free: 19.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0062/1.251, allocations: 2.257 MB / 0.7877 GB, free: 17.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007445/1.258, allocations: 1.992 MB / 0.7896 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/1.274, allocations: 13.48 MB / 0.8028 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007218/1.281, allocations: 0.5033 MB / 0.8033 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001742/1.283, allocations: 491.9 kB / 0.8038 GB, free: 436 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1032): * Single equations (assignments): 1027 * 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 {(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.007025/1.29, allocations: 3.092 MB / 0.8068 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001362/1.291, allocations: 0.4898 MB / 0.8073 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01791/1.309, allocations: 8.394 MB / 0.8155 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.019e-05/1.309, allocations: 36 kB / 0.8155 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-05/1.309, allocations: 14.25 kB / 0.8155 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.119e-05/1.31, allocations: 19.94 kB / 0.8155 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2729/1.582, allocations: 17.16 MB / 0.8323 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.178e-05/1.582, allocations: 3.188 kB / 0.8323 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003479/1.586, allocations: 0.6063 MB / 0.8329 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005321/1.591, allocations: 2.038 MB / 0.8349 GB, free: 143 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007114/1.592, allocations: 61.59 kB / 0.8349 GB, free: 143 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01523/1.607, allocations: 12.73 MB / 0.8474 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.607, allocations: 0 / 0.8474 GB, free: 136.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02356/1.631, allocations: 13.14 MB / 0.8602 GB, free: 131.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003242/1.634, allocations: 1.151 MB / 0.8613 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001768/1.636, allocations: 60.44 kB / 0.8614 GB, free: 131.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004061/1.64, allocations: 267.8 kB / 0.8616 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001251/1.641, allocations: 214.7 kB / 0.8618 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007051/1.642, allocations: 90.83 kB / 0.8619 GB, free: 131.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.007877/1.65, allocations: 3.358 MB / 0.8652 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.62e-07/1.65, allocations: 1.219 kB / 0.8652 GB, free: 130.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01081/1.661, allocations: 1.685 MB / 0.8668 GB, free: 130.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (294): * Single equations (assignments): 289 * 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.001208/1.662, allocations: 205.2 kB / 0.867 GB, free: 130 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01733/1.679, allocations: 9.524 MB / 0.8763 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.679, allocations: 2 kB / 0.8763 GB, free: 126.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.006819/1.686, allocations: 4.104 MB / 0.8803 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006433/1.693, allocations: 0.638 MB / 0.881 GB, free: 124.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02865/1.721, allocations: 19.22 MB / 0.8997 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007441/1.729, allocations: 4.799 MB / 0.9044 GB, free: 105.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007781/1.737, allocations: 2.645 MB / 0.907 GB, free: 103.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002563/1.739, allocations: 375.3 kB / 0.9074 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of SimCode: time 9.01e-07/1.739, allocations: 3.719 kB / 0.9074 GB, free: 102.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.1013/1.841, allocations: 66.04 MB / 0.9719 GB, free: 36.88 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) Environment - environmentSimulation: