Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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.001425/0.001425, allocations: 88.2 kB / 20.94 MB, free: 3.609 MB / 18.57 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.001008/0.001008, allocations: 173 kB / 24.25 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9497/0.9497, allocations: 158.6 MB / 186 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1503/0.1503, allocations: 32.38 MB / 270.7 MB, free: 14.75 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Torque,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.564e-06/2.564e-06, allocations: 0 / 347.7 MB, free: 9.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/3.066e-05, allocations: 6.25 kB / 347.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01236/0.01239, allocations: 16.45 MB / 364.2 MB, free: 9.195 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.02385, allocations: 5.023 MB / 369.2 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003246/0.0271, allocations: 131.4 kB / 369.3 MB, free: 4.027 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006668/0.03377, allocations: 5.436 MB / 374.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006899/0.04066, allocations: 2.892 MB / 377.7 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.04339, allocations: 1.197 MB / 378.9 MB, free: 10.46 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01114/0.05453, allocations: 7.54 MB / 386.4 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007164/0.0617, allocations: 5.346 MB / 391.7 MB, free: 13.49 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009802/0.0715, allocations: 3.921 MB / 395.7 MB, free: 9.559 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007662/0.07916, allocations: 3.807 MB / 399.5 MB, free: 5.742 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002416/0.08158, allocations: 0.5586 MB / 400 MB, free: 5.184 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004408/0.08599, allocations: 1.416 MB / 401.4 MB, free: 3.766 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00406/0.09005, allocations: 3.503 MB / 404.9 MB, free: 260 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003661/0.09371, allocations: 2.158 MB / 407.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009233/0.1029, allocations: 7.309 MB / 414.4 MB, free: 6.754 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.727e-06/0.1029, allocations: 4 kB / 414.4 MB, free: 6.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.103, allocations: 0 / 414.4 MB, free: 6.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004201/0.1034, allocations: 0 / 414.4 MB, free: 6.75 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.01342/0.1168, allocations: 8.586 MB / 423 MB, free: 14.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.1168, allocations: 8.031 kB / 423 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008499/0.1253, allocations: 3.577 MB / 426.6 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006716/0.1321, allocations: 3.995 MB / 430.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002546/0.1323, allocations: 390.2 kB / 431 MB, free: 6.031 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009746/0.1333, allocations: 0.5001 MB / 431.5 MB, free: 5.531 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.181/0.3143, allocations: 9.47 MB / 440.9 MB, free: 56.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002279/0.3145, allocations: 66.36 kB / 441 MB, free: 56.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007154/0.3152, allocations: 241.8 kB / 441.2 MB, free: 56.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004124/0.3194, allocations: 3.059 MB / 444.3 MB, free: 56.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01645/0.3358, allocations: 5.238 MB / 449.5 MB, free: 56.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04675/0.3825, allocations: 65.94 MB / 0.5034 GB, free: 1.305 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008034/0.3906, allocations: 3.199 MB / 0.5065 GB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.3925, allocations: 1.208 MB / 0.5077 GB, free: 12.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009427/0.4019, allocations: 6.194 MB / 0.5137 GB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/0.402, allocations: 70.48 kB / 0.5138 GB, free: 6.766 MB / 378.7 MB Notification: Performance of pre-optimization done (n=269): time 6.031e-06/0.402, allocations: 0 / 0.5138 GB, free: 6.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=311): time 0.04822/0.4502, allocations: 23.36 MB / 0.5366 GB, free: 15.76 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.4503, allocations: 235.9 kB / 0.5368 GB, free: 15.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/0.4607, allocations: 5.333 MB / 0.542 GB, free: 10.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007335/0.4615, allocations: 73.7 kB / 0.5421 GB, free: 10.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006512/0.468, allocations: 5.186 MB / 0.5472 GB, free: 5.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004973/0.473, allocations: 1.271 MB / 0.5484 GB, free: 3.887 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006301/0.4793, allocations: 2.044 MB / 0.5504 GB, free: 1.828 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.4794, allocations: 480.7 kB / 0.5509 GB, free: 1.355 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005977/0.4853, allocations: 1.255 MB / 0.5521 GB, free: 100 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01399/0.4993, allocations: 9.172 MB / 0.5611 GB, free: 3.414 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01805/0.5174, allocations: 11.44 MB / 0.5722 GB, free: 4.879 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001622/0.5175, allocations: 52 kB / 0.5723 GB, free: 4.828 MB / 442.7 MB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.01717/0.5347, allocations: 9.446 MB / 0.5815 GB, free: 11.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.5348, allocations: 90.59 kB / 0.5816 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001902/0.535, allocations: 184 kB / 0.5818 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00356/0.5386, allocations: 1.5 MB / 0.5832 GB, free: 9.594 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005662/0.5442, allocations: 2.172 MB / 0.5853 GB, free: 7.418 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1795/0.7237, allocations: 7.722 MB / 0.5929 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005785/0.7295, allocations: 0.6139 MB / 0.5935 GB, free: 125.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001696/0.7312, allocations: 0.5461 MB / 0.594 GB, free: 125.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 63 (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 (1140): * Single equations (assignments): 1133 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.003215/0.7344, allocations: 0.9043 MB / 0.5949 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001375/0.7358, allocations: 0.605 MB / 0.5955 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006687/0.7425, allocations: 3.863 MB / 0.5993 GB, free: 125.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-05/0.7425, allocations: 32.12 kB / 0.5993 GB, free: 125.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.348e-05/0.7425, allocations: 11.03 kB / 0.5993 GB, free: 125.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/0.7426, allocations: 16.94 kB / 0.5993 GB, free: 125.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01845/0.761, allocations: 9.974 MB / 0.6091 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-05/0.761, allocations: 7.312 kB / 0.6091 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.7627, allocations: 0.5197 MB / 0.6096 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003122/0.7658, allocations: 1.249 MB / 0.6108 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006489/0.7665, allocations: 57.5 kB / 0.6109 GB, free: 124.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007862/0.7743, allocations: 7.24 MB / 0.6179 GB, free: 120.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.7744, allocations: 3.844 kB / 0.6179 GB, free: 120.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008641/0.783, allocations: 5.416 MB / 0.6232 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002071/0.7851, allocations: 0.9855 MB / 0.6242 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008217/0.7859, allocations: 53.56 kB / 0.6242 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/0.7877, allocations: 288.2 kB / 0.6245 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004786/0.7882, allocations: 207.7 kB / 0.6247 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/0.7884, allocations: 81.34 kB / 0.6248 GB, free: 119.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003442/0.7918, allocations: 2.311 MB / 0.627 GB, free: 119.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7918, allocations: 0 / 0.627 GB, free: 119.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006713/0.7985, allocations: 1.902 MB / 0.6289 GB, free: 119.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 249 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006616/0.7992, allocations: 228.2 kB / 0.6291 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008132/0.8073, allocations: 5.394 MB / 0.6344 GB, free: 116.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.8073, allocations: 4 kB / 0.6344 GB, free: 116.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003148/0.8105, allocations: 2.081 MB / 0.6364 GB, free: 115.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003449/0.8139, allocations: 0.6371 MB / 0.637 GB, free: 114.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/0.8318, allocations: 12.81 MB / 0.6496 GB, free: 102.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/0.8337, allocations: 2.032 MB / 0.6515 GB, free: 100.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004023/0.8377, allocations: 2.365 MB / 0.6538 GB, free: 98.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.8388, allocations: 376.4 kB / 0.6542 GB, free: 97.84 MB / 458.7 MB Notification: Performance of SimCode: time 2.474e-06/0.8388, allocations: 1.422 kB / 0.6542 GB, free: 97.84 MB / 458.7 MB Notification: Performance of Templates: time 0.07236/0.9111, allocations: 60.71 MB / 0.7135 GB, free: 37.28 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3303704739082605]