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.0095/0.0095, allocations: 102.6 kB / 15.73 MB, free: 6.035 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.002133/0.002133, allocations: 190 kB / 16.67 MB, free: 5.973 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.598/1.598, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3249/0.3249, allocations: 37.99 MB / 307.9 MB, free: 10.09 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.001667/0.001667, allocations: 67.89 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3974, allocations: 56.47 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01547/0.4129, allocations: 16.16 MB / 0.4938 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01588/0.4288, allocations: 5.102 MB / 0.4988 GB, free: 5.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005501/0.4344, allocations: 100 kB / 0.4989 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009632/0.4441, allocations: 4.566 MB / 0.5034 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009099/0.4532, allocations: 2.58 MB / 0.5059 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003898/0.4572, allocations: 1.157 MB / 0.507 GB, free: 72 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01387/0.4711, allocations: 6.636 MB / 0.5135 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01001/0.4811, allocations: 5.881 MB / 0.5192 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006867/0.488, allocations: 2.509 MB / 0.5217 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006557/0.4946, allocations: 3.419 MB / 0.525 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00243/0.4971, allocations: 0.5664 MB / 0.5256 GB, free: 2.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004812/0.5019, allocations: 1.576 MB / 0.5271 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004616/0.5066, allocations: 3.145 MB / 0.5302 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006747/0.5133, allocations: 3.601 MB / 0.5337 GB, free: 10.35 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0172/0.5306, allocations: 11.43 MB / 0.5449 GB, free: 14.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.5306, allocations: 0 / 0.5449 GB, free: 14.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5306, allocations: 4 kB / 0.5449 GB, free: 14.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000583/0.5312, allocations: 0 / 0.5449 GB, free: 14.88 MB / 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.02437/0.5556, allocations: 7.571 MB / 0.5523 GB, free: 7.227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.5556, allocations: 11.89 kB / 0.5523 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01347/0.5691, allocations: 2.788 MB / 0.555 GB, free: 4.414 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01056/0.5797, allocations: 4.339 MB / 0.5592 GB, free: 16 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00038/0.5801, allocations: 385.8 kB / 0.5596 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002383/0.5825, allocations: 0.4957 MB / 0.5601 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0372/0.6197, allocations: 16.41 MB / 0.5761 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002212/0.62, allocations: 63.45 kB / 0.5762 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001047/0.621, allocations: 235.8 kB / 0.5764 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005851/0.6269, allocations: 3.166 MB / 0.5795 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03094/0.6579, allocations: 14.27 MB / 0.5934 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3873/1.045, allocations: 58.78 MB / 0.6508 GB, free: 88.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01998/1.065, allocations: 7.17 MB / 0.6578 GB, free: 87.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006404/1.072, allocations: 4.5 MB / 0.6622 GB, free: 85.85 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02421/1.096, allocations: 15.42 MB / 0.6773 GB, free: 79.19 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.846e-05/1.096, allocations: 68.09 kB / 0.6773 GB, free: 79.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=306): time 5.78e-06/1.096, allocations: 3.812 kB / 0.6774 GB, free: 79.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=348): time 0.07433/1.17, allocations: 32.84 MB / 0.7094 GB, free: 60.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.319e-05/1.17, allocations: 218.2 kB / 0.7096 GB, free: 60.46 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006093/1.177, allocations: 5.352 MB / 0.7149 GB, free: 55.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007382/1.177, allocations: 77.7 kB / 0.7149 GB, free: 55.04 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001944/1.179, allocations: 4.336 MB / 0.7192 GB, free: 50.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001226/1.181, allocations: 1.275 MB / 0.7204 GB, free: 49.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002039/1.183, allocations: 1.725 MB / 0.7221 GB, free: 47.7 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.147e-05/1.183, allocations: 309.1 kB / 0.7224 GB, free: 47.4 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004544/1.187, allocations: 3.919 MB / 0.7262 GB, free: 43.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007236/1.194, allocations: 8.423 MB / 0.7344 GB, free: 32.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01382/1.208, allocations: 13.23 MB / 0.7474 GB, free: 17.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001241/1.208, allocations: 44 kB / 0.7474 GB, free: 17.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.02318/1.232, allocations: 14.27 MB / 0.7613 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.232, allocations: 75.94 kB / 0.7614 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001801/1.232, allocations: 156 kB / 0.7616 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00514/1.237, allocations: 2.261 MB / 0.7638 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007556/1.245, allocations: 1.996 MB / 0.7657 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01864/1.263, allocations: 14.4 MB / 0.7798 GB, free: 96 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007988/1.271, allocations: 0.5025 MB / 0.7803 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00241/1.274, allocations: 487.9 kB / 0.7807 GB, free: 15.12 MB / 0.5294 GB 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.007844/1.282, allocations: 3.087 MB / 0.7838 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/1.283, allocations: 0.499 MB / 0.7842 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0151/1.298, allocations: 8.39 MB / 0.7924 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.996e-05/1.298, allocations: 36 kB / 0.7925 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-05/1.298, allocations: 8 kB / 0.7925 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.587e-05/1.298, allocations: 23.94 kB / 0.7925 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03561/1.334, allocations: 16.94 MB / 0.809 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.233e-05/1.334, allocations: 0 / 0.809 GB, free: 2.023 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003372/1.337, allocations: 0.6124 MB / 0.8096 GB, free: 1.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005411/1.343, allocations: 2.038 MB / 0.8116 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006722/1.343, allocations: 63.98 kB / 0.8117 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/1.362, allocations: 13.75 MB / 0.8251 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/1.362, allocations: 3.938 kB / 0.8251 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02468/1.387, allocations: 13.16 MB / 0.838 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004965/1.392, allocations: 1.143 MB / 0.8391 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002056/1.394, allocations: 52 kB / 0.8391 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004993/1.399, allocations: 263.6 kB / 0.8394 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001347/1.4, allocations: 194.1 kB / 0.8396 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007238/1.401, allocations: 90.17 kB / 0.8397 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.009096/1.41, allocations: 3.366 MB / 0.843 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.81e-07/1.41, allocations: 0 / 0.843 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01183/1.422, allocations: 1.681 MB / 0.8446 GB, free: 13.25 MB / 0.5919 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.00156/1.424, allocations: 215.5 kB / 0.8448 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01975/1.443, allocations: 9.567 MB / 0.8541 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.443, allocations: 64 / 0.8541 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00863/1.452, allocations: 4.111 MB / 0.8582 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006114/1.458, allocations: 0.6623 MB / 0.8588 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3095/1.768, allocations: 15.69 MB / 0.8741 GB, free: 214.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01051/1.778, allocations: 4.8 MB / 0.8788 GB, free: 213.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.008701/1.787, allocations: 2.647 MB / 0.8814 GB, free: 213.4 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/1.789, allocations: 373.7 kB / 0.8818 GB, free: 213.4 MB / 0.6075 GB Notification: Performance of SimCode: time 1.133e-06/1.789, allocations: 4.031 kB / 0.8818 GB, free: 213.4 MB / 0.6075 GB Notification: Performance of Templates: time 0.1161/1.905, allocations: 66.25 MB / 0.9465 GB, free: 176.5 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (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)