Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque2.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Torque2,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_4.0.0_ModelicaTest.MultiBody.Forces.Torque2") translateModel(ModelicaTest.MultiBody.Forces.Torque2,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_4.0.0_ModelicaTest.MultiBody.Forces.Torque2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 109.4 kB / 18.46 MB, free: 4.598 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.001189/0.001189, allocations: 184.3 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 243.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2078/0.2078, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 59.91 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3785, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque2): time 0.02706/0.4056, allocations: 26.62 MB / 0.5456 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01924/0.4249, allocations: 7.314 MB / 0.5527 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00789/0.4328, allocations: 200.8 kB / 0.5529 GB, free: 9.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02009/0.453, allocations: 10.45 MB / 0.5631 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01521/0.4683, allocations: 4.228 MB / 0.5673 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006075/0.4744, allocations: 2.001 MB / 0.5692 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0241/0.4985, allocations: 12.71 MB / 0.5816 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02865/0.5272, allocations: 13.11 MB / 0.5944 GB, free: 15.09 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01036/0.5376, allocations: 4.697 MB / 0.599 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01061/0.5483, allocations: 6.231 MB / 0.6051 GB, free: 4.125 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004152/0.5524, allocations: 1.035 MB / 0.6061 GB, free: 3.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007087/0.5596, allocations: 1.912 MB / 0.608 GB, free: 1.176 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008398/0.568, allocations: 5.876 MB / 0.6137 GB, free: 11.29 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01268/0.5807, allocations: 6.479 MB / 0.6201 GB, free: 4.77 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02447/0.6052, allocations: 19.51 MB / 0.6391 GB, free: 1.191 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.6053, allocations: 4 kB / 0.6391 GB, free: 1.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6053, allocations: 0 / 0.6391 GB, free: 1.188 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000797/0.6061, allocations: 0 / 0.6391 GB, free: 1.188 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.03746/0.6436, allocations: 13.78 MB / 0.6526 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.6436, allocations: 8.031 kB / 0.6526 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0225/0.6661, allocations: 4.173 MB / 0.6567 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02018/0.6863, allocations: 8.215 MB / 0.6647 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006629/0.687, allocations: 0.69 MB / 0.6654 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00331/0.6904, allocations: 0.9368 MB / 0.6663 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05868/0.749, allocations: 26.89 MB / 0.6925 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006513/0.7497, allocations: 118.9 kB / 0.6926 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00334/0.7531, allocations: 435.7 kB / 0.6931 GB, free: 8.176 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01004/0.7632, allocations: 4.895 MB / 0.6978 GB, free: 3.258 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5446/1.308, allocations: 22.57 MB / 0.7199 GB, free: 152.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1163/1.424, allocations: 103.6 MB / 0.8211 GB, free: 67.51 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0311/1.455, allocations: 12.37 MB / 0.8332 GB, free: 54.95 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007953/1.463, allocations: 7.766 MB / 0.8407 GB, free: 47.17 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02722/1.491, allocations: 17.71 MB / 0.858 GB, free: 29.27 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.988e-05/1.491, allocations: 93.91 kB / 0.8581 GB, free: 29.17 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=459): time 9.808e-06/1.491, allocations: 4 kB / 0.8581 GB, free: 29.17 MB / 0.5607 GB Notification: Performance of matching and sorting (n=543): time 0.1759/1.667, allocations: 66.92 MB / 0.9235 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000205/1.667, allocations: 368.7 kB / 0.9238 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02184/1.689, allocations: 11.64 MB / 0.9352 GB, free: 13.71 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.001244/1.69, allocations: 105.7 kB / 0.9353 GB, free: 13.6 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.007177/1.697, allocations: 7.741 MB / 0.9429 GB, free: 5.77 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002921/1.7, allocations: 2.024 MB / 0.9448 GB, free: 3.719 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008739/1.709, allocations: 3.006 MB / 0.9478 GB, free: 0.6992 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/1.709, allocations: 301.1 kB / 0.9481 GB, free: 412 kB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01099/1.72, allocations: 6.513 MB / 0.9544 GB, free: 9.879 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2807/2.001, allocations: 14.45 MB / 0.9685 GB, free: 207.3 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02522/2.026, allocations: 22.47 MB / 0.9905 GB, free: 192 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005246/2.027, allocations: 81.47 kB / 0.9906 GB, free: 192 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1904) (initialization): time 0.04496/2.072, allocations: 24.85 MB / 1.015 GB, free: 183.8 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005894/2.072, allocations: 125.2 kB / 1.015 GB, free: 183.8 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005543/2.073, allocations: 274.2 kB / 1.015 GB, free: 183.8 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01128/2.084, allocations: 4.472 MB / 1.02 GB, free: 183 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01183/2.096, allocations: 3.372 MB / 1.023 GB, free: 180.9 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03021/2.126, allocations: 28.61 MB / 1.051 GB, free: 154.4 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01399/2.14, allocations: 0.8561 MB / 1.052 GB, free: 153.5 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003077/2.143, allocations: 0.8319 MB / 1.052 GB, free: 152.7 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1254 * Number of states: 0 () * Number of discrete variables: 138 (torque4.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.forceArrow.arrowLine.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,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.forceArrow.color[3],torque4.forceArrow.color[2],torque4.forceArrow.color[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.forceArrow.color[3],torque3.forceArrow.color[2],torque3.forceArrow.color[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[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],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (1764): * Single equations (assignments): 1753 * Array equations: 7 * 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.01076/2.154, allocations: 5.303 MB / 1.058 GB, free: 147.6 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002602/2.157, allocations: 0.9857 MB / 1.059 GB, free: 147.1 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02563/2.182, allocations: 14.53 MB / 1.073 GB, free: 132.5 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000172/2.183, allocations: 27.89 kB / 1.073 GB, free: 132.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/2.183, allocations: 4 kB / 1.073 GB, free: 132.5 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00302/2.186, allocations: 1.074 MB / 1.074 GB, free: 132 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003363/2.189, allocations: 96.98 kB / 1.074 GB, free: 131.9 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00691/2.196, allocations: 387.4 kB / 1.074 GB, free: 131.5 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002453/2.198, allocations: 379.7 kB / 1.075 GB, free: 131.1 MB / 0.6388 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02807/2.226, allocations: 14.67 MB / 1.089 GB, free: 116.6 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02209/2.249, allocations: 18.05 MB / 1.107 GB, free: 98.35 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005538/2.254, allocations: 5.001 MB / 1.112 GB, free: 93.35 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.01277/2.267, allocations: 7.451 MB / 1.119 GB, free: 85.95 MB / 0.6388 GB Notification: Performance of Backend: time 1.072e-06/2.267, allocations: 0 / 1.119 GB, free: 85.95 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02597/2.293, allocations: 11.83 MB / 1.13 GB, free: 74.16 MB / 0.6388 GB Notification: Performance of SimCode: time 0.04738/2.34, allocations: 25.6 MB / 1.155 GB, free: 48.55 MB / 0.6388 GB Notification: Performance of Templates: time 0.4993/2.84, allocations: 139.8 MB / 1.292 GB, free: 140.8 MB / 0.6388 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Torque2/Torque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Torque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches