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.001026/0.001026, allocations: 111.6 kB / 18.45 MB, free: 4.617 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.001203/0.001203, allocations: 190 kB / 19.39 MB, free: 3.688 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.345/1.345, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2111/0.2111, allocations: 44.19 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 67.88 kB / 471.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3422, allocations: 60.81 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque2): time 0.02794/0.3702, allocations: 26.63 MB / 0.5456 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01927/0.3895, allocations: 7.306 MB / 0.5527 GB, free: 9.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007346/0.3969, allocations: 196.3 kB / 0.5529 GB, free: 9.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01979/0.4167, allocations: 10.45 MB / 0.5631 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01401/0.4308, allocations: 4.232 MB / 0.5673 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005717/0.4365, allocations: 2.005 MB / 0.5692 GB, free: 9.098 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01989/0.4564, allocations: 12.71 MB / 0.5816 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02015/0.4766, allocations: 13.11 MB / 0.5944 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00925/0.4859, allocations: 4.705 MB / 0.599 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01211/0.4981, allocations: 6.231 MB / 0.6051 GB, free: 4.176 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005354/0.5035, allocations: 1.035 MB / 0.6061 GB, free: 3.141 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006655/0.5101, allocations: 1.905 MB / 0.608 GB, free: 1.234 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008065/0.5182, allocations: 5.884 MB / 0.6137 GB, free: 11.34 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01175/0.53, allocations: 6.483 MB / 0.6201 GB, free: 4.816 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02612/0.5562, allocations: 19.59 MB / 0.6392 GB, free: 1.148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5562, allocations: 0 / 0.6392 GB, free: 1.148 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5562, allocations: 7.938 kB / 0.6392 GB, free: 1.141 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007959/0.557, allocations: 0 / 0.6392 GB, free: 1.141 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.03804/0.5951, allocations: 14.14 MB / 0.653 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.5951, allocations: 8.031 kB / 0.653 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02297/0.6181, allocations: 4.252 MB / 0.6572 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0201/0.6382, allocations: 8.25 MB / 0.6652 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000678/0.6389, allocations: 0.69 MB / 0.6659 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003587/0.6426, allocations: 0.933 MB / 0.6668 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06011/0.7027, allocations: 26.9 MB / 0.6931 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006362/0.7033, allocations: 119.1 kB / 0.6932 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003413/0.7068, allocations: 431.7 kB / 0.6936 GB, free: 7.66 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00911/0.7159, allocations: 4.898 MB / 0.6984 GB, free: 2.738 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5699/1.286, allocations: 22.57 MB / 0.7204 GB, free: 152.1 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1197/1.406, allocations: 103.8 MB / 0.8218 GB, free: 67.02 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03214/1.438, allocations: 12.38 MB / 0.8339 GB, free: 54.46 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008406/1.446, allocations: 7.756 MB / 0.8415 GB, free: 46.69 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02902/1.475, allocations: 17.76 MB / 0.8588 GB, free: 29.01 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.299e-05/1.475, allocations: 86.16 kB / 0.8589 GB, free: 28.92 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=459): time 1.074e-05/1.475, allocations: 0 / 0.8589 GB, free: 28.92 MB / 0.5607 GB Notification: Performance of matching and sorting (n=543): time 0.1874/1.663, allocations: 67.97 MB / 0.9253 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001932/1.663, allocations: 368.7 kB / 0.9256 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02351/1.687, allocations: 11.66 MB / 0.937 GB, free: 13.13 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.001371/1.688, allocations: 105.7 kB / 0.9371 GB, free: 13.02 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.007637/1.696, allocations: 8.017 MB / 0.945 GB, free: 4.941 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.003501/1.699, allocations: 2.124 MB / 0.947 GB, free: 2.801 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01091/1.71, allocations: 3.012 MB / 0.95 GB, free: 15.77 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.71, allocations: 301.1 kB / 0.9503 GB, free: 15.48 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01328/1.724, allocations: 6.521 MB / 0.9566 GB, free: 8.953 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3586/2.082, allocations: 14.45 MB / 0.9707 GB, free: 207.2 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0334/2.116, allocations: 22.48 MB / 0.9927 GB, free: 191.9 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001015/2.117, allocations: 77.94 kB / 0.9928 GB, free: 191.9 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1904) (initialization): time 0.05113/2.168, allocations: 24.91 MB / 1.017 GB, free: 183.7 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.001202/2.169, allocations: 127.1 kB / 1.017 GB, free: 183.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001122/2.17, allocations: 274 kB / 1.017 GB, free: 183.7 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/2.181, allocations: 4.463 MB / 1.022 GB, free: 182.9 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01216/2.193, allocations: 3.379 MB / 1.025 GB, free: 180.9 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02986/2.223, allocations: 28.63 MB / 1.053 GB, free: 154.5 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01304/2.236, allocations: 0.8512 MB / 1.054 GB, free: 153.7 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002857/2.239, allocations: 0.8319 MB / 1.055 GB, free: 152.9 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.01229/2.252, allocations: 5.307 MB / 1.06 GB, free: 147.7 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002373/2.254, allocations: 1.037 MB / 1.061 GB, free: 147.3 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02283/2.277, allocations: 14.55 MB / 1.075 GB, free: 132.7 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001191/2.277, allocations: 23.91 kB / 1.075 GB, free: 132.7 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/2.277, allocations: 4 kB / 1.075 GB, free: 132.7 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002786/2.28, allocations: 1.123 MB / 1.076 GB, free: 132.1 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002983/2.283, allocations: 91.94 kB / 1.076 GB, free: 132 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006307/2.289, allocations: 391.4 kB / 1.077 GB, free: 131.6 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001602/2.291, allocations: 379.7 kB / 1.077 GB, free: 131.2 MB / 0.6388 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02798/2.319, allocations: 14.68 MB / 1.091 GB, free: 116.6 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02239/2.341, allocations: 18.11 MB / 1.109 GB, free: 98.36 MB / 0.6388 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005583/2.347, allocations: 5.008 MB / 1.114 GB, free: 93.36 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.01163/2.358, allocations: 7.444 MB / 1.121 GB, free: 85.97 MB / 0.6388 GB Notification: Performance of Backend: time 1.303e-06/2.358, allocations: 4 kB / 1.121 GB, free: 85.96 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.02313/2.382, allocations: 11.84 MB / 1.133 GB, free: 74.16 MB / 0.6388 GB Notification: Performance of SimCode: time 0.04298/2.425, allocations: 26.01 MB / 1.158 GB, free: 48.12 MB / 0.6388 GB Notification: Performance of Templates: time 0.4897/2.914, allocations: 139.8 MB / 1.295 GB, free: 139 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