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.001345/0.001345, allocations: 95.77 kB / 17.08 MB, free: 5.992 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.001902/0.001902, allocations: 194.2 kB / 18.01 MB, free: 5.078 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.353/1.353, 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.2079/0.2079, allocations: 43.53 MB / 314.8 MB, free: 452 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.001649/0.001649, allocations: 64.28 kB / 442.5 MB, free: 5.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1137, allocations: 57.8 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque3): time 0.02896/0.1427, allocations: 28.24 MB / 0.5162 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01565/0.1584, allocations: 7.445 MB / 0.5235 GB, free: 7.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004929/0.1633, allocations: 187.6 kB / 0.5236 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2555/0.4188, allocations: 9.746 MB / 0.5331 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01157/0.4305, allocations: 4.181 MB / 0.5372 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005207/0.4357, allocations: 1.94 MB / 0.5391 GB, free: 3.84 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01892/0.4547, allocations: 12.11 MB / 0.5509 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01332/0.468, allocations: 11.74 MB / 0.5624 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009564/0.4776, allocations: 4.7 MB / 0.567 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/0.4878, allocations: 6.495 MB / 0.5733 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003292/0.4911, allocations: 1.098 MB / 0.5744 GB, free: 10.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005876/0.497, allocations: 1.937 MB / 0.5763 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007896/0.505, allocations: 5.964 MB / 0.5821 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01286/0.5178, allocations: 6.649 MB / 0.5886 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02765/0.5455, allocations: 20.34 MB / 0.6085 GB, free: 8.289 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/0.5456, allocations: 8 kB / 0.6085 GB, free: 8.281 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5456, allocations: 0 / 0.6085 GB, free: 8.281 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000758/0.5464, allocations: 0 / 0.6085 GB, free: 8.281 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.03792/0.5843, allocations: 13.76 MB / 0.6219 GB, free: 10.67 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.5844, allocations: 11.89 kB / 0.6219 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02166/0.606, allocations: 4.219 MB / 0.6261 GB, free: 6.418 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01971/0.6258, allocations: 8.089 MB / 0.634 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001206/0.627, allocations: 0.7078 MB / 0.6347 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005256/0.6323, allocations: 0.9461 MB / 0.6356 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06031/0.6926, allocations: 27.95 MB / 0.6629 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007028/0.6934, allocations: 114.8 kB / 0.663 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003858/0.6973, allocations: 444.8 kB / 0.6634 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00917/0.7064, allocations: 5.182 MB / 0.6685 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04959/0.7561, allocations: 23.91 MB / 0.6918 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5999/1.356, allocations: 103.4 MB / 0.7928 GB, free: 133.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03492/1.391, allocations: 14.03 MB / 0.8065 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01052/1.402, allocations: 8.581 MB / 0.8149 GB, free: 128.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002968/1.405, allocations: 2.343 MB / 0.8171 GB, free: 126.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002102/1.405, allocations: 102.1 kB / 0.8172 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=559): time 2.36e-05/1.405, allocations: 0 / 0.8172 GB, free: 126.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=643): time 0.1631/1.568, allocations: 67.53 MB / 0.8832 GB, free: 77.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.558e-05/1.568, allocations: 329.5 kB / 0.8835 GB, free: 77.36 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01218/1.58, allocations: 10.28 MB / 0.8935 GB, free: 67.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001801/1.582, allocations: 133.7 kB / 0.8937 GB, free: 66.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003625/1.586, allocations: 7.607 MB / 0.9011 GB, free: 59.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002891/1.589, allocations: 2.353 MB / 0.9034 GB, free: 57.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003974/1.593, allocations: 3.01 MB / 0.9063 GB, free: 54 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.663e-05/1.593, allocations: 301.1 kB / 0.9066 GB, free: 53.71 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008263/1.601, allocations: 7.166 MB / 0.9136 GB, free: 46.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01117/1.612, allocations: 14.8 MB / 0.9281 GB, free: 28.18 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02212/1.634, allocations: 23.5 MB / 0.951 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001767/1.634, allocations: 76 kB / 0.9511 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1932) (initialization): time 0.05077/1.685, allocations: 25.95 MB / 0.9764 GB, free: 6.977 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/1.685, allocations: 120.9 kB / 0.9766 GB, free: 6.859 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002723/1.686, allocations: 264 kB / 0.9768 GB, free: 6.602 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01124/1.697, allocations: 4.459 MB / 0.9812 GB, free: 2.125 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01366/1.711, allocations: 3.54 MB / 0.9846 GB, free: 14.58 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2998/2.01, allocations: 28.65 MB / 1.013 GB, free: 206.2 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01305/2.024, allocations: 0.9032 MB / 1.013 GB, free: 206 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003457/2.027, allocations: 0.8231 MB / 1.014 GB, free: 205.9 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.01233/2.039, allocations: 5.346 MB / 1.02 GB, free: 203.8 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002209/2.042, allocations: 0.9313 MB / 1.02 GB, free: 203.8 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02892/2.071, allocations: 16.53 MB / 1.037 GB, free: 198.1 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001712/2.071, allocations: 32.48 kB / 1.037 GB, free: 198.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/2.071, allocations: 0 / 1.037 GB, free: 198.1 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005538/2.076, allocations: 2.111 MB / 1.039 GB, free: 197.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002398/2.079, allocations: 103 kB / 1.039 GB, free: 197.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005417/2.084, allocations: 496.7 kB / 1.039 GB, free: 197.4 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001121/2.085, allocations: 439.6 kB / 1.04 GB, free: 197.3 MB / 0.6388 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02725/2.113, allocations: 16.36 MB / 1.056 GB, free: 192.2 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02617/2.139, allocations: 20.96 MB / 1.076 GB, free: 181.2 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006905/2.146, allocations: 5.97 MB / 1.082 GB, free: 175.2 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.008623/2.154, allocations: 6.552 MB / 1.088 GB, free: 168.7 MB / 0.6388 GB Notification: Performance of Backend: time 8.82e-07/2.154, allocations: 0 / 1.088 GB, free: 168.7 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02216/2.177, allocations: 12.56 MB / 1.101 GB, free: 156.4 MB / 0.6388 GB Notification: Performance of SimCode: time 0.03686/2.213, allocations: 25.5 MB / 1.125 GB, free: 130.9 MB / 0.6388 GB Notification: Performance of Templates: time 0.4562/2.67, allocations: 149.5 MB / 1.272 GB, free: 201.9 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)