Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3") translateModel(ModelicaTest.MultiBody.Forces.Torque3,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 112.5 kB / 17.09 MB, free: 5.812 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.001515/0.001515, allocations: 191.3 kB / 18.02 MB, free: 4.938 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.39/1.39, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2049/0.2049, allocations: 43.52 MB / 314.8 MB, free: 456 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.001826/0.001826, allocations: 69.3 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1124, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque3): time 0.02836/0.1408, allocations: 28.25 MB / 0.5162 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01739/0.1583, allocations: 7.426 MB / 0.5234 GB, free: 7.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00533/0.1636, allocations: 191.5 kB / 0.5236 GB, free: 7.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2568/0.4205, allocations: 9.755 MB / 0.5331 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01107/0.4316, allocations: 4.339 MB / 0.5374 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004515/0.4361, allocations: 1.937 MB / 0.5393 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0199/0.4561, allocations: 12.12 MB / 0.5511 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01416/0.4703, allocations: 11.74 MB / 0.5626 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008709/0.479, allocations: 4.709 MB / 0.5672 GB, free: 14.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009484/0.4885, allocations: 6.49 MB / 0.5735 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003491/0.492, allocations: 1.099 MB / 0.5746 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005854/0.4979, allocations: 1.926 MB / 0.5765 GB, free: 8.664 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007664/0.5056, allocations: 5.968 MB / 0.5823 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01255/0.5182, allocations: 6.651 MB / 0.5888 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02748/0.5457, allocations: 20.42 MB / 0.6087 GB, free: 8.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.5457, allocations: 0 / 0.6087 GB, free: 8.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5457, allocations: 0 / 0.6087 GB, free: 8.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000693/0.5464, allocations: 4 kB / 0.6087 GB, free: 8.066 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: 4187 * Number of variables: 4187 Notification: Performance of Generate backend data structure: time 0.03665/0.5831, allocations: 14.12 MB / 0.6225 GB, free: 10.07 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.5832, allocations: 11.89 kB / 0.6225 GB, free: 10.06 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02294/0.6061, allocations: 4.3 MB / 0.6267 GB, free: 5.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02014/0.6263, allocations: 8.113 MB / 0.6347 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008384/0.6272, allocations: 0.7087 MB / 0.6354 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003853/0.631, allocations: 0.9444 MB / 0.6363 GB, free: 12.18 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05688/0.6879, allocations: 27.94 MB / 0.6636 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005599/0.6885, allocations: 111.1 kB / 0.6637 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003364/0.6919, allocations: 449.1 kB / 0.6641 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01073/0.7027, allocations: 5.191 MB / 0.6692 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0522/0.7549, allocations: 23.91 MB / 0.6925 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6084/1.363, allocations: 103.6 MB / 0.7937 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03374/1.397, allocations: 14.02 MB / 0.8074 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01008/1.407, allocations: 8.588 MB / 0.8157 GB, free: 128.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002324/1.41, allocations: 2.345 MB / 0.818 GB, free: 126.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.207e-05/1.41, allocations: 97.75 kB / 0.8181 GB, free: 126.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=559): time 8.916e-06/1.41, allocations: 3.844 kB / 0.8181 GB, free: 126.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=643): time 0.1629/1.573, allocations: 68.3 MB / 0.8848 GB, free: 77.06 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/1.573, allocations: 321.7 kB / 0.8851 GB, free: 76.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01286/1.586, allocations: 10.3 MB / 0.8952 GB, free: 66.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001883/1.588, allocations: 125.1 kB / 0.8953 GB, free: 66.44 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004716/1.592, allocations: 7.903 MB / 0.903 GB, free: 59.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002984/1.595, allocations: 2.455 MB / 0.9054 GB, free: 56.88 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005089/1.6, allocations: 3.032 MB / 0.9084 GB, free: 53.83 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.882e-05/1.6, allocations: 311.2 kB / 0.9087 GB, free: 53.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009748/1.61, allocations: 7.162 MB / 0.9157 GB, free: 46.36 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01438/1.625, allocations: 14.8 MB / 0.9301 GB, free: 28 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02503/1.65, allocations: 23.49 MB / 0.9531 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002572/1.65, allocations: 76 kB / 0.9531 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1932) (initialization): time 0.05551/1.706, allocations: 26.01 MB / 0.9785 GB, free: 6.758 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003851/1.706, allocations: 116 kB / 0.9787 GB, free: 6.645 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005329/1.707, allocations: 264 kB / 0.9789 GB, free: 6.387 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/1.719, allocations: 4.46 MB / 0.9833 GB, free: 1.91 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01375/1.733, allocations: 3.54 MB / 0.9867 GB, free: 14.36 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.292/2.025, allocations: 28.67 MB / 1.015 GB, free: 205.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01328/2.038, allocations: 0.8976 MB / 1.016 GB, free: 205.3 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004772/2.043, allocations: 0.8226 MB / 1.016 GB, free: 205.2 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1196 * Number of states: 0 () * Number of discrete variables: 108 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1812): * Single equations (assignments): 1805 * 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 {(2,23,100.0%), (2,23,100.0%), (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.011/2.054, allocations: 5.337 MB / 1.022 GB, free: 203.2 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002237/2.056, allocations: 0.9873 MB / 1.023 GB, free: 203.2 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02802/2.084, allocations: 16.54 MB / 1.039 GB, free: 197.5 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002002/2.084, allocations: 31.95 kB / 1.039 GB, free: 197.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/2.084, allocations: 0 / 1.039 GB, free: 197.5 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006464/2.091, allocations: 2.157 MB / 1.041 GB, free: 196.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003572/2.094, allocations: 108.4 kB / 1.041 GB, free: 196.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006619/2.101, allocations: 499 kB / 1.041 GB, free: 196.7 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001601/2.103, allocations: 429.5 kB / 1.042 GB, free: 196.7 MB / 0.6388 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02848/2.131, allocations: 16.37 MB / 1.058 GB, free: 191.5 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02499/2.156, allocations: 21.02 MB / 1.078 GB, free: 180.8 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006786/2.163, allocations: 5.96 MB / 1.084 GB, free: 174.8 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.009177/2.172, allocations: 6.552 MB / 1.091 GB, free: 168.3 MB / 0.6388 GB Notification: Performance of Backend: time 6.71e-07/2.172, allocations: 0 / 1.091 GB, free: 168.3 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02215/2.194, allocations: 12.59 MB / 1.103 GB, free: 156 MB / 0.6388 GB Notification: Performance of SimCode: time 0.04204/2.236, allocations: 25.92 MB / 1.128 GB, free: 130.1 MB / 0.6388 GB Notification: Performance of Templates: time 0.4569/2.693, allocations: 147.7 MB / 1.272 GB, free: 202.5 MB / 0.6388 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1)