Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.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.0009861/0.0009861, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009436/0.0009436, allocations: 169.9 kB / 24.91 MB, free: 8.723 MB / 18.57 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] 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.2754/0.2754, allocations: 34.25 MB / 296.1 MB, free: 0.6836 MB / 266.7 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.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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.Universal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 325.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.753e-05/2.9e-05, allocations: 3.812 kB / 325.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01569/0.01572, allocations: 12.65 MB / 337.9 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009686/0.0254, allocations: 4.268 MB / 342.2 MB, free: 6.715 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002952/0.02836, allocations: 79.69 kB / 342.3 MB, free: 6.637 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004208/0.03256, allocations: 2.094 MB / 344.3 MB, free: 4.535 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00568/0.03824, allocations: 2.022 MB / 346.4 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.04, allocations: 0.5924 MB / 347 MB, free: 1.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006537/0.04654, allocations: 4.434 MB / 351.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004751/0.05129, allocations: 2.83 MB / 354.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004123/0.05541, allocations: 2.288 MB / 356.5 MB, free: 8.273 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002746/0.05816, allocations: 2.073 MB / 358.6 MB, free: 6.195 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006093/0.05877, allocations: 304 kB / 358.9 MB, free: 5.898 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.06042, allocations: 0.9673 MB / 359.8 MB, free: 4.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.06177, allocations: 1.975 MB / 361.8 MB, free: 2.949 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001429/0.0632, allocations: 1.207 MB / 363 MB, free: 1.738 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0051/0.0683, allocations: 4.634 MB / 367.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.06831, allocations: 0 / 367.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.06831, allocations: 0 / 367.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001943/0.0685, allocations: 0 / 367.7 MB, free: 13.09 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.006414/0.07492, allocations: 4.565 MB / 372.2 MB, free: 8.469 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.07496, allocations: 12.03 kB / 372.2 MB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003991/0.07896, allocations: 1.483 MB / 373.7 MB, free: 6.973 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.08135, allocations: 1.654 MB / 375.4 MB, free: 5.281 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001568/0.0815, allocations: 242.2 kB / 375.6 MB, free: 5.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004883/0.08199, allocations: 304.1 kB / 375.9 MB, free: 4.746 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007144/0.08914, allocations: 5.226 MB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.883e-05/0.08922, allocations: 43.62 kB / 381.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002843/0.0895, allocations: 143.8 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002163/0.09166, allocations: 2.402 MB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006745/0.09841, allocations: 2.954 MB / 386.7 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03158/0.13, allocations: 29.93 MB / 416.6 MB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004244/0.1342, allocations: 2.197 MB / 418.8 MB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006657/0.1349, allocations: 438.7 kB / 419.2 MB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005855/0.1408, allocations: 4.047 MB / 423.3 MB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1408, allocations: 55.88 kB / 423.3 MB, free: 3.617 MB / 394.7 MB Notification: Performance of pre-optimization done (n=198): time 4.208e-06/0.1408, allocations: 0 / 423.3 MB, free: 3.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=204): time 0.01215/0.1529, allocations: 5.708 MB / 429 MB, free: 13.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.153, allocations: 68.72 kB / 429.1 MB, free: 13.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002189/0.1552, allocations: 2.669 MB / 431.8 MB, free: 11.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.585e-05/0.1552, allocations: 49.7 kB / 431.8 MB, free: 11.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.1566, allocations: 3.196 MB / 435 MB, free: 7.809 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/0.157, allocations: 0.7867 MB / 435.8 MB, free: 7.016 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008489/0.1579, allocations: 1.089 MB / 436.9 MB, free: 5.914 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.223e-05/0.1579, allocations: 309.1 kB / 437.2 MB, free: 5.609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.159, allocations: 0.7695 MB / 438 MB, free: 4.832 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/0.1616, allocations: 4.02 MB / 442 MB, free: 15.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003804/0.1654, allocations: 5.262 MB / 447.3 MB, free: 8.199 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.005e-05/0.1654, allocations: 36 kB / 447.3 MB, free: 8.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.004937/0.1703, allocations: 4.06 MB / 451.4 MB, free: 4.082 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.1704, allocations: 56 kB / 451.4 MB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.811e-05/0.1705, allocations: 119.9 kB / 451.5 MB, free: 3.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008545/0.1713, allocations: 387.9 kB / 451.9 MB, free: 3.527 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.1734, allocations: 1.248 MB / 453.1 MB, free: 2.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.1754, allocations: 1.91 MB / 455.1 MB, free: 276 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/0.1778, allocations: 224 kB / 455.3 MB, free: 52 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1706/0.3484, allocations: 289.9 kB / 455.6 MB, free: 120.6 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.001831/0.3502, allocations: 0.5743 MB / 456.1 MB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/0.3507, allocations: 195 kB / 456.3 MB, free: 120.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.3527, allocations: 1.321 MB / 457.6 MB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-05/0.3528, allocations: 40.33 kB / 457.7 MB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.3528, allocations: 3.844 kB / 457.7 MB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.3528, allocations: 7.734 kB / 457.7 MB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006247/0.359, allocations: 4.663 MB / 462.4 MB, free: 119.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.3591, allocations: 3.219 kB / 462.4 MB, free: 119.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/0.3597, allocations: 236.4 kB / 462.6 MB, free: 119.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008205/0.3605, allocations: 371.4 kB / 463 MB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/0.3606, allocations: 29.56 kB / 463 MB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.3621, allocations: 1.67 MB / 464.7 MB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3621, allocations: 3.844 kB / 464.7 MB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.3643, allocations: 1.727 MB / 466.4 MB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.3646, allocations: 257.8 kB / 466.6 MB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002132/0.3648, allocations: 31.56 kB / 466.7 MB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004887/0.3653, allocations: 31.25 kB / 466.7 MB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.3654, allocations: 107.4 kB / 466.8 MB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.156e-05/0.3655, allocations: 48.8 kB / 466.9 MB, free: 118.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000725/0.3662, allocations: 0.933 MB / 467.8 MB, free: 118.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3662, allocations: 0 / 467.8 MB, free: 118.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002844/0.3691, allocations: 1.056 MB / 468.8 MB, free: 118.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.00036/0.3694, allocations: 165 kB / 469 MB, free: 118.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002628/0.3721, allocations: 2.487 MB / 471.5 MB, free: 117.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001243/0.3722, allocations: 88.66 kB / 471.6 MB, free: 117.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006555/0.3728, allocations: 0.6256 MB / 472.2 MB, free: 117.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001645/0.3745, allocations: 0.6236 MB / 472.8 MB, free: 116.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009198/0.3837, allocations: 7.935 MB / 480.8 MB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.3848, allocations: 1.302 MB / 482.1 MB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001203/0.386, allocations: 445.9 kB / 482.5 MB, free: 108.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006598/0.3866, allocations: 478 kB / 483 MB, free: 108 MB / 426.7 MB Notification: Performance of SimCode: time 1.724e-06/0.3866, allocations: 0 / 483 MB, free: 108 MB / 426.7 MB Notification: Performance of Templates: time 0.04301/0.4296, allocations: 29.36 MB / 0.5003 GB, free: 79.34 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.061148152220994]