Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002424/0.002424, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.561/1.561, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2371/0.2371, allocations: 46.97 MB / 361.6 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Torque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.MultiBody.Forces.Torque2") translateModel(ModelicaTest.MultiBody.Forces.Torque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.1.0_ModelicaTest.MultiBody.Forces.Torque2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 63.91 kB / 0.4974 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3419, allocations: 66.03 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque2): time 0.02729/0.3692, allocations: 22.36 MB / 0.5837 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01654/0.3857, allocations: 7.007 MB / 0.5905 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004885/0.3906, allocations: 226.9 kB / 0.5907 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02094/0.4115, allocations: 10.07 MB / 0.6006 GB, free: 12.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01175/0.4233, allocations: 4.081 MB / 0.6046 GB, free: 8.281 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005613/0.4289, allocations: 2.001 MB / 0.6065 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0211/0.45, allocations: 12.68 MB / 0.6189 GB, free: 9.566 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01618/0.4662, allocations: 9.225 MB / 0.6279 GB, free: 232 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01056/0.4767, allocations: 4.674 MB / 0.6325 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01163/0.4884, allocations: 6.531 MB / 0.6388 GB, free: 4.988 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00365/0.492, allocations: 1.016 MB / 0.6398 GB, free: 3.973 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005669/0.4977, allocations: 1.788 MB / 0.6416 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008453/0.5061, allocations: 5.801 MB / 0.6472 GB, free: 12.37 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01208/0.5182, allocations: 4.731 MB / 0.6519 GB, free: 7.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03228/0.5505, allocations: 19 MB / 0.6704 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5505, allocations: 0 / 0.6704 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.334e-06/0.5505, allocations: 0 / 0.6704 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0008356/0.5513, allocations: 0 / 0.6704 GB, free: 4.539 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3835 * Number of variables: 3835 Notification: Performance of Generate backend data structure: time 0.0392/0.5905, allocations: 13.74 MB / 0.6838 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.5906, allocations: 12.03 kB / 0.6838 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02208/0.6127, allocations: 4.092 MB / 0.6878 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02309/0.6358, allocations: 7.897 MB / 0.6955 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008107/0.6366, allocations: 0.677 MB / 0.6962 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003928/0.6405, allocations: 0.9019 MB / 0.6971 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06307/0.7036, allocations: 25.87 MB / 0.7224 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005721/0.7041, allocations: 115 kB / 0.7225 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00286/0.707, allocations: 423.7 kB / 0.7229 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009564/0.7166, allocations: 4.53 MB / 0.7273 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6139/1.33, allocations: 21.56 MB / 0.7483 GB, free: 137.4 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1178/1.448, allocations: 94.75 MB / 0.8409 GB, free: 45.34 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0306/1.479, allocations: 11.44 MB / 0.852 GB, free: 33.87 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009355/1.488, allocations: 7.165 MB / 0.859 GB, free: 26.7 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03041/1.519, allocations: 14.85 MB / 0.8736 GB, free: 12.1 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.967e-05/1.519, allocations: 94.14 kB / 0.8736 GB, free: 12 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=459): time 1.111e-05/1.519, allocations: 0 / 0.8736 GB, free: 12 MB / 0.5607 GB Notification: Performance of matching and sorting (n=543): time 0.1999/1.719, allocations: 66.78 MB / 0.9389 GB, free: 9.629 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002513/1.719, allocations: 364.8 kB / 0.9392 GB, free: 9.203 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02073/1.74, allocations: 9.19 MB / 0.9482 GB, free: 260 kB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.001822/1.741, allocations: 113.7 kB / 0.9483 GB, free: 140 kB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.008964/1.75, allocations: 7.805 MB / 0.9559 GB, free: 8.27 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.004333/1.755, allocations: 2.116 MB / 0.958 GB, free: 6.137 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0117/1.766, allocations: 2.972 MB / 0.9609 GB, free: 3.152 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001385/1.767, allocations: 301.4 kB / 0.9612 GB, free: 2.855 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01313/1.78, allocations: 6.482 MB / 0.9675 GB, free: 12.37 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02135/1.801, allocations: 14.37 MB / 0.9815 GB, free: 10.19 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3828/2.184, allocations: 22.24 MB / 1.003 GB, free: 213 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002968/2.184, allocations: 77 kB / 1.003 GB, free: 213 MB / 0.67 GB Notification: Performance of matching and sorting (n=1880) (initialization): time 0.04586/2.23, allocations: 24.46 MB / 1.027 GB, free: 204.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004991/2.231, allocations: 119.2 kB / 1.027 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005928/2.231, allocations: 272.2 kB / 1.028 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01164/2.243, allocations: 4.455 MB / 1.032 GB, free: 204.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01199/2.255, allocations: 3.327 MB / 1.035 GB, free: 202.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03102/2.286, allocations: 27.82 MB / 1.062 GB, free: 177.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01241/2.298, allocations: 0.8511 MB / 1.063 GB, free: 176.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003086/2.301, allocations: 0.8199 MB / 1.064 GB, free: 175.7 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1230 * Number of states: 0 () * Number of discrete variables: 132 (torque4.torqueArrow.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.forceArrow.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque3.torqueArrow.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.forceArrow.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.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.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],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 (1740): * Single equations (assignments): 1729 * 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.01257/2.314, allocations: 5.1 MB / 1.069 GB, free: 170.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003416/2.317, allocations: 0.8363 MB / 1.07 GB, free: 170.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02874/2.346, allocations: 14.3 MB / 1.084 GB, free: 156.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000171/2.346, allocations: 27.89 kB / 1.084 GB, free: 156.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/2.346, allocations: 4 kB / 1.084 GB, free: 156.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002633/2.349, allocations: 0.7587 MB / 1.085 GB, free: 155.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003296/2.352, allocations: 92 kB / 1.085 GB, free: 155.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006656/2.359, allocations: 387.4 kB / 1.085 GB, free: 155.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002176/2.361, allocations: 407.3 kB / 1.085 GB, free: 154.9 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02867/2.39, allocations: 14.62 MB / 1.1 GB, free: 140.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02552/2.415, allocations: 17.92 MB / 1.117 GB, free: 122.8 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005908/2.421, allocations: 4.617 MB / 1.122 GB, free: 118.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.009738/2.431, allocations: 5.401 MB / 1.127 GB, free: 112.8 MB / 0.67 GB Notification: Performance of Backend: time 1.102e-06/2.431, allocations: 0 / 1.127 GB, free: 112.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02562/2.456, allocations: 11.05 MB / 1.138 GB, free: 101.7 MB / 0.67 GB Notification: Performance of SimCode: time 0.04784/2.504, allocations: 24.84 MB / 1.162 GB, free: 76.88 MB / 0.67 GB Notification: Performance of Templates: time 0.5661/3.07, allocations: 142.8 MB / 1.301 GB, free: 202.3 MB / 0.6857 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Torque2/Torque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.520252611000615]