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.001094/0.001094, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001016/0.001016, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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.9223/0.9223, allocations: 158.6 MB / 185.7 MB, free: 2.891 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.2074/0.2074, allocations: 32.38 MB / 270.4 MB, free: 14.7 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 1.763e-06/1.763e-06, allocations: 0 / 347.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.956e-05, allocations: 6.312 kB / 347.7 MB, free: 9.402 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01137/0.0114, allocations: 16.52 MB / 364.2 MB, free: 8.816 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008466/0.01986, allocations: 5.034 MB / 369.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001583/0.02145, allocations: 131.4 kB / 369.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005289/0.02674, allocations: 5.455 MB / 374.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004975/0.03171, allocations: 2.892 MB / 377.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.03356, allocations: 1.201 MB / 378.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006824/0.04039, allocations: 7.536 MB / 386.5 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004362/0.04475, allocations: 5.357 MB / 391.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004447/0.04919, allocations: 3.91 MB / 395.7 MB, free: 9.152 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003277/0.05247, allocations: 3.811 MB / 399.6 MB, free: 5.332 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005732/0.05305, allocations: 0.5547 MB / 400.1 MB, free: 4.777 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.05498, allocations: 1.424 MB / 401.5 MB, free: 3.352 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002132/0.05711, allocations: 3.491 MB / 405 MB, free: 15.85 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.05878, allocations: 2.158 MB / 407.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006624/0.06541, allocations: 7.317 MB / 414.5 MB, free: 6.344 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.06541, allocations: 4 kB / 414.5 MB, free: 6.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.06541, allocations: 0 / 414.5 MB, free: 6.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.028e-05/0.0655, allocations: 0 / 414.5 MB, free: 6.34 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.009088/0.07459, allocations: 8.586 MB / 423.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.07465, allocations: 12.03 kB / 423.1 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00735/0.082, allocations: 3.565 MB / 426.7 MB, free: 10.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005015/0.08701, allocations: 3.998 MB / 430.7 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.08721, allocations: 390.2 kB / 431 MB, free: 5.625 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005489/0.08776, allocations: 0.504 MB / 431.5 MB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1831/0.2708, allocations: 9.459 MB / 441 MB, free: 76.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002215/0.2711, allocations: 71.19 kB / 441.1 MB, free: 76.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004751/0.2715, allocations: 245.3 kB / 441.3 MB, free: 76.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00357/0.2751, allocations: 3.054 MB / 444.4 MB, free: 76.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.2866, allocations: 5.249 MB / 449.6 MB, free: 76.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04372/0.3303, allocations: 65.94 MB / 0.5035 GB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008783/0.3391, allocations: 3.19 MB / 0.5066 GB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/0.3408, allocations: 1.206 MB / 0.5078 GB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008377/0.3492, allocations: 6.195 MB / 0.5138 GB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.3492, allocations: 63.39 kB / 0.5139 GB, free: 2.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=269): time 6.302e-06/0.3492, allocations: 0 / 0.5139 GB, free: 2.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=311): time 0.04706/0.3963, allocations: 23.37 MB / 0.5367 GB, free: 11.28 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.3964, allocations: 239.9 kB / 0.5369 GB, free: 11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005939/0.4024, allocations: 5.324 MB / 0.5421 GB, free: 5.891 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002572/0.4026, allocations: 69.7 kB / 0.5422 GB, free: 5.816 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003357/0.406, allocations: 5.181 MB / 0.5473 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001323/0.4073, allocations: 1.286 MB / 0.5485 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002364/0.4097, allocations: 2.042 MB / 0.5505 GB, free: 13.34 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.4098, allocations: 480.5 kB / 0.551 GB, free: 12.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00202/0.4118, allocations: 1.248 MB / 0.5522 GB, free: 11.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006038/0.4179, allocations: 9.186 MB / 0.5612 GB, free: 14.85 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009559/0.4274, allocations: 11.42 MB / 0.5723 GB, free: 15.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.526e-05/0.4275, allocations: 56 kB / 0.5724 GB, free: 15.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.0129/0.4404, allocations: 9.447 MB / 0.5816 GB, free: 6.363 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.401e-05/0.4405, allocations: 94.38 kB / 0.5817 GB, free: 6.277 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001304/0.4406, allocations: 184 kB / 0.5819 GB, free: 6.098 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003081/0.4437, allocations: 1.495 MB / 0.5833 GB, free: 4.594 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003851/0.4475, allocations: 2.172 MB / 0.5854 GB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2103/0.6578, allocations: 7.713 MB / 0.593 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006924/0.6647, allocations: 0.6116 MB / 0.5936 GB, free: 125.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009915/0.6657, allocations: 0.5444 MB / 0.5941 GB, free: 125.9 MB / 442.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.002491/0.6682, allocations: 0.9114 MB / 0.595 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000944/0.6691, allocations: 0.6049 MB / 0.5956 GB, free: 125.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006297/0.6754, allocations: 3.86 MB / 0.5993 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.829e-05/0.6755, allocations: 33.38 kB / 0.5994 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.497e-05/0.6755, allocations: 10.59 kB / 0.5994 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/0.6755, allocations: 20.36 kB / 0.5994 GB, free: 125.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/0.6892, allocations: 9.971 MB / 0.6091 GB, free: 124.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/0.6892, allocations: 7.656 kB / 0.6092 GB, free: 124.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/0.6906, allocations: 0.5174 MB / 0.6097 GB, free: 124.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002786/0.6934, allocations: 1.257 MB / 0.6109 GB, free: 124.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002252/0.6936, allocations: 55.02 kB / 0.6109 GB, free: 124.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007083/0.7007, allocations: 7.247 MB / 0.618 GB, free: 120.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.7007, allocations: 10.23 kB / 0.618 GB, free: 120.6 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00725/0.7079, allocations: 5.413 MB / 0.6233 GB, free: 118.9 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/0.7095, allocations: 0.9848 MB / 0.6243 GB, free: 118.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004193/0.7099, allocations: 56 kB / 0.6243 GB, free: 118.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.7113, allocations: 290.8 kB / 0.6246 GB, free: 118.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003407/0.7117, allocations: 197.5 kB / 0.6248 GB, free: 118.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/0.7118, allocations: 86.62 kB / 0.6249 GB, free: 118.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002822/0.7146, allocations: 2.316 MB / 0.6271 GB, free: 116.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7146, allocations: 0 / 0.6271 GB, free: 116.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005823/0.7205, allocations: 1.901 MB / 0.629 GB, free: 114.4 MB / 442.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.0004936/0.721, allocations: 226.1 kB / 0.6292 GB, free: 114.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006477/0.7274, allocations: 5.389 MB / 0.6345 GB, free: 109.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.7274, allocations: 4.062 kB / 0.6345 GB, free: 109.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002354/0.7298, allocations: 2.075 MB / 0.6365 GB, free: 107.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00205/0.7318, allocations: 0.6272 MB / 0.6371 GB, free: 107.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01543/0.7473, allocations: 12.82 MB / 0.6496 GB, free: 94.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.7487, allocations: 2.036 MB / 0.6516 GB, free: 92.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003451/0.7522, allocations: 2.373 MB / 0.6539 GB, free: 89.74 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009289/0.7531, allocations: 368.4 kB / 0.6543 GB, free: 89.38 MB / 442.7 MB Notification: Performance of SimCode: time 2.505e-06/0.7531, allocations: 0 / 0.6543 GB, free: 89.38 MB / 442.7 MB Notification: Performance of Templates: time 0.07363/0.8267, allocations: 60.71 MB / 0.7136 GB, free: 28.76 MB / 442.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.246589440852404]