Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.032/1.032, allocations: 177 MB / 205.2 MB, free: 5.043 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2745/0.2745, allocations: 34.86 MB / 296.6 MB, free: 376 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 325.9 MB, free: 7.117 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.17e-05, allocations: 2.312 kB / 325.9 MB, free: 7.113 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.009875/0.009897, allocations: 12.65 MB / 338.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00798/0.01788, allocations: 4.271 MB / 342.8 MB, free: 6.125 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002/0.01988, allocations: 83.69 kB / 342.9 MB, free: 6.043 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002925/0.0228, allocations: 2.094 MB / 345 MB, free: 3.941 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.02662, allocations: 2.01 MB / 347 MB, free: 1.922 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.02773, allocations: 0.6041 MB / 347.6 MB, free: 1.316 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004491/0.03222, allocations: 4.421 MB / 352.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003231/0.03545, allocations: 2.842 MB / 354.9 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003128/0.03858, allocations: 2.296 MB / 357.2 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002944/0.04152, allocations: 2.073 MB / 359.3 MB, free: 5.594 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000772/0.04229, allocations: 304 kB / 359.6 MB, free: 5.297 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001762/0.04406, allocations: 0.9556 MB / 360.5 MB, free: 4.34 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001732/0.04579, allocations: 1.983 MB / 362.5 MB, free: 2.352 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.04719, allocations: 1.203 MB / 363.7 MB, free: 1.145 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00469/0.05188, allocations: 4.634 MB / 368.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.05189, allocations: 0 / 368.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.05189, allocations: 0 / 368.3 MB, free: 12.49 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001106/0.052, allocations: 3.938 kB / 368.3 MB, free: 12.49 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.004752/0.05675, allocations: 4.565 MB / 372.9 MB, free: 7.871 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.05679, allocations: 12.03 kB / 372.9 MB, free: 7.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003825/0.06061, allocations: 1.479 MB / 374.4 MB, free: 6.379 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/0.06263, allocations: 1.654 MB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000114/0.06274, allocations: 230.2 kB / 376.3 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003567/0.0631, allocations: 312.1 kB / 376.6 MB, free: 4.156 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005749/0.06885, allocations: 5.226 MB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-05/0.06891, allocations: 39.62 kB / 381.8 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.06917, allocations: 143.8 kB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002021/0.0712, allocations: 2.395 MB / 384.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005566/0.07676, allocations: 2.964 MB / 387.3 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02937/0.1061, allocations: 29.93 MB / 417.3 MB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004281/0.1104, allocations: 2.195 MB / 419.5 MB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005919/0.111, allocations: 442.7 kB / 419.9 MB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006227/0.1172, allocations: 4.055 MB / 424 MB, free: 3.086 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.1173, allocations: 47.88 kB / 424 MB, free: 3.027 MB / 394.7 MB Notification: Performance of pre-optimization done (n=198): time 4.128e-06/0.1173, allocations: 0 / 424 MB, free: 3.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=204): time 0.0142/0.1315, allocations: 5.712 MB / 429.7 MB, free: 13.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1315, allocations: 68.72 kB / 429.8 MB, free: 13.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002906/0.1344, allocations: 2.665 MB / 432.4 MB, free: 10.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001094/0.1345, allocations: 49.7 kB / 432.5 MB, free: 10.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001639/0.1362, allocations: 3.196 MB / 435.7 MB, free: 7.227 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006098/0.1368, allocations: 0.7789 MB / 436.5 MB, free: 6.441 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001445/0.1382, allocations: 1.093 MB / 437.6 MB, free: 5.336 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.008e-05/0.1383, allocations: 305.1 kB / 437.9 MB, free: 5.035 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.1398, allocations: 0.7773 MB / 438.6 MB, free: 4.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003155/0.1429, allocations: 4.012 MB / 442.6 MB, free: 14.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005427/0.1484, allocations: 5.266 MB / 447.9 MB, free: 7.621 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.221e-05/0.1485, allocations: 32 kB / 447.9 MB, free: 7.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.00685/0.1553, allocations: 4.063 MB / 452 MB, free: 3.504 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.769e-05/0.1554, allocations: 60.92 kB / 452.1 MB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/0.1555, allocations: 120 kB / 452.2 MB, free: 3.328 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.1566, allocations: 379.2 kB / 452.6 MB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002965/0.1596, allocations: 1.255 MB / 453.8 MB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2114/0.371, allocations: 1.909 MB / 455.7 MB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003606/0.3746, allocations: 218.6 kB / 455.9 MB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000787/0.3754, allocations: 294.5 kB / 456.2 MB, free: 118.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (717): * Single equations (assignments): 710 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002131/0.3775, allocations: 0.5807 MB / 456.8 MB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/0.378, allocations: 190.3 kB / 457 MB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/0.3804, allocations: 1.317 MB / 458.3 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.046e-05/0.3804, allocations: 41.42 kB / 458.3 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/0.3805, allocations: 3.484 kB / 458.3 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.3805, allocations: 8.578 kB / 458.4 MB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007217/0.3877, allocations: 4.661 MB / 463 MB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.3877, allocations: 3.812 kB / 463 MB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006168/0.3883, allocations: 239.1 kB / 463.3 MB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008333/0.3892, allocations: 363 kB / 463.6 MB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.644e-05/0.3893, allocations: 33.12 kB / 463.6 MB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.3908, allocations: 1.672 MB / 465.3 MB, free: 116.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3908, allocations: 3.938 kB / 465.3 MB, free: 116.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.3932, allocations: 1.723 MB / 467 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004292/0.3936, allocations: 259.2 kB / 467.3 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/0.3938, allocations: 33.44 kB / 467.3 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/0.3943, allocations: 31.12 kB / 467.4 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.3945, allocations: 116 kB / 467.5 MB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.3946, allocations: 47.25 kB / 467.5 MB, free: 116.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009803/0.3956, allocations: 0.9318 MB / 468.4 MB, free: 116.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3956, allocations: 0 / 468.4 MB, free: 116.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003492/0.3991, allocations: 1.056 MB / 469.5 MB, free: 116.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (152): * Single equations (assignments): 145 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003967/0.3995, allocations: 165 kB / 469.7 MB, free: 116.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003014/0.4025, allocations: 2.484 MB / 472.2 MB, free: 115.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001339/0.4026, allocations: 87.53 kB / 472.2 MB, free: 115.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007086/0.4033, allocations: 0.6293 MB / 472.9 MB, free: 115.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/0.4052, allocations: 0.6232 MB / 473.5 MB, free: 115.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01178/0.417, allocations: 7.941 MB / 481.4 MB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001206/0.4182, allocations: 1.306 MB / 482.7 MB, free: 107.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001705/0.4199, allocations: 441.9 kB / 483.2 MB, free: 107 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007315/0.4207, allocations: 487 kB / 483.6 MB, free: 106.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.725e-06/0.4207, allocations: 0 / 483.6 MB, free: 106.6 MB / 426.7 MB Notification: Performance of Templates: time 0.04331/0.464, allocations: 29.34 MB / 0.501 GB, free: 77.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.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: 4.1548867342062294]