Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_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.00114/0.00114, allocations: 108.2 kB / 17.09 MB, free: 6.012 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.001074/0.001074, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.358/1.358, allocations: 205.1 MB / 223.9 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2036/0.2036, allocations: 43.53 MB / 314.8 MB, free: 476 kB / 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: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 79.89 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0984/0.0998, allocations: 57.78 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.01582/0.1157, allocations: 16.17 MB / 0.5044 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01021/0.1259, allocations: 5.105 MB / 0.5094 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002445/0.1284, allocations: 103.8 kB / 0.5095 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007948/0.1364, allocations: 4.567 MB / 0.5139 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006591/0.143, allocations: 2.575 MB / 0.5164 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002588/0.1456, allocations: 1.154 MB / 0.5176 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008857/0.1545, allocations: 6.641 MB / 0.524 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006702/0.1613, allocations: 5.894 MB / 0.5298 GB, free: 1.363 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.222/0.3833, allocations: 2.503 MB / 0.5322 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005481/0.3889, allocations: 3.415 MB / 0.5356 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001373/0.3903, allocations: 0.5683 MB / 0.5361 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.3933, allocations: 1.569 MB / 0.5377 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003162/0.3964, allocations: 3.145 MB / 0.5407 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004954/0.4014, allocations: 3.6 MB / 0.5443 GB, free: 8.336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.4148, allocations: 11.44 MB / 0.5554 GB, free: 6.105 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.4148, allocations: 1.219 kB / 0.5554 GB, free: 6.105 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4148, allocations: 0 / 0.5554 GB, free: 6.105 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003221/0.4151, allocations: 0 / 0.5554 GB, free: 6.105 MB / 414.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.01914/0.4343, allocations: 7.567 MB / 0.5628 GB, free: 1.836 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4343, allocations: 11.67 kB / 0.5628 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01215/0.4465, allocations: 2.787 MB / 0.5656 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009297/0.4558, allocations: 4.333 MB / 0.5698 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/0.4561, allocations: 386.3 kB / 0.5702 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00167/0.4578, allocations: 0.5039 MB / 0.5706 GB, free: 13.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02918/0.487, allocations: 16.41 MB / 0.5867 GB, free: 0.875 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000181/0.4872, allocations: 69.95 kB / 0.5867 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006959/0.4879, allocations: 234.7 kB / 0.587 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005159/0.4931, allocations: 3.155 MB / 0.59 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02942/0.5225, allocations: 14.26 MB / 0.604 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08256/0.6051, allocations: 58.81 MB / 0.6614 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01758/0.6227, allocations: 7.165 MB / 0.6684 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005966/0.6287, allocations: 4.5 MB / 0.6728 GB, free: 8.273 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02539/0.6541, allocations: 15.42 MB / 0.6878 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.982e-05/0.6542, allocations: 72.3 kB / 0.6879 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=306): time 7.024e-06/0.6542, allocations: 4 kB / 0.6879 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=348): time 0.08892/0.7432, allocations: 32.81 MB / 0.72 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.7433, allocations: 221.4 kB / 0.7202 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01188/0.7552, allocations: 5.356 MB / 0.7254 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001094/0.7563, allocations: 77.7 kB / 0.7255 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00398/0.7603, allocations: 4.335 MB / 0.7297 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002147/0.7625, allocations: 1.28 MB / 0.731 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00481/0.7673, allocations: 1.721 MB / 0.7326 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.7675, allocations: 304.8 kB / 0.7329 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007234/0.7747, allocations: 3.921 MB / 0.7368 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01271/0.7874, allocations: 8.421 MB / 0.745 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2421/1.03, allocations: 13.23 MB / 0.7579 GB, free: 197.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001011/1.03, allocations: 43.97 kB / 0.7579 GB, free: 197.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.02624/1.056, allocations: 14.26 MB / 0.7719 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.89e-05/1.056, allocations: 71.98 kB / 0.7719 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001575/1.056, allocations: 158 kB / 0.7721 GB, free: 195.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005325/1.062, allocations: 2.261 MB / 0.7743 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007368/1.069, allocations: 1.995 MB / 0.7762 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01506/1.084, allocations: 14.42 MB / 0.7903 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006419/1.091, allocations: 0.5061 MB / 0.7908 GB, free: 187.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001417/1.092, allocations: 488.7 kB / 0.7913 GB, free: 187.3 MB / 0.5919 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.005582/1.098, allocations: 3.092 MB / 0.7943 GB, free: 186 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/1.099, allocations: 0.4934 MB / 0.7948 GB, free: 186 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0134/1.112, allocations: 8.401 MB / 0.803 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.034e-05/1.112, allocations: 15.23 kB / 0.803 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.112, allocations: 0 / 0.803 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002552/1.115, allocations: 1.147 MB / 0.8041 GB, free: 180.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001414/1.116, allocations: 63.47 kB / 0.8042 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003042/1.119, allocations: 255.1 kB / 0.8044 GB, free: 180.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006734/1.12, allocations: 235.9 kB / 0.8047 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01407/1.134, allocations: 8.721 MB / 0.8132 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01294/1.147, allocations: 11.35 MB / 0.8243 GB, free: 161.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003524/1.15, allocations: 3.187 MB / 0.8274 GB, free: 158.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006042/1.156, allocations: 3.362 MB / 0.8307 GB, free: 154.9 MB / 0.5919 GB Notification: Performance of Backend: time 7.62e-07/1.157, allocations: 8 kB / 0.8307 GB, free: 154.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01483/1.171, allocations: 7.037 MB / 0.8375 GB, free: 147.9 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02315/1.195, allocations: 14.13 MB / 0.8513 GB, free: 133.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1163/1.311, allocations: 83.29 MB / 0.9327 GB, free: 50.62 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1)