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.00116/0.00116, allocations: 80.8 kB / 21.5 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.001329/0.001329, allocations: 168.1 kB / 24.91 MB, free: 9.156 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 0.9493/0.9493, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2928/0.2928, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.423e-06/1.423e-06, allocations: 0 / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.904e-05/2.046e-05, allocations: 3.516 kB / 325.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01144/0.01146, allocations: 12.69 MB / 338 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005943/0.0174, allocations: 4.272 MB / 342.3 MB, free: 6.602 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008725/0.01828, allocations: 83.69 kB / 342.3 MB, free: 6.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.02027, allocations: 2.063 MB / 344.4 MB, free: 4.449 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002384/0.02266, allocations: 1.987 MB / 346.4 MB, free: 2.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007493/0.02341, allocations: 0.5885 MB / 347 MB, free: 1.863 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002878/0.02628, allocations: 4.435 MB / 351.4 MB, free: 13.42 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002118/0.0284, allocations: 2.728 MB / 354.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.03015, allocations: 2.268 MB / 356.4 MB, free: 8.348 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/0.03192, allocations: 2.069 MB / 358.5 MB, free: 6.273 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003683/0.03229, allocations: 304 kB / 358.8 MB, free: 5.977 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.03341, allocations: 0.9946 MB / 359.8 MB, free: 4.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001002/0.03441, allocations: 1.971 MB / 361.7 MB, free: 3.004 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008955/0.0353, allocations: 1.211 MB / 363 MB, free: 1.789 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0031/0.0384, allocations: 4.63 MB / 367.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.03841, allocations: 3.938 kB / 367.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.03841, allocations: 0 / 367.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.841e-05/0.03849, allocations: 0 / 367.6 MB, free: 13.14 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.004291/0.04278, allocations: 4.565 MB / 372.2 MB, free: 8.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.04281, allocations: 12.03 kB / 372.2 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003807/0.04662, allocations: 1.475 MB / 373.6 MB, free: 7.031 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/0.0485, allocations: 1.654 MB / 375.3 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.04863, allocations: 230.2 kB / 375.5 MB, free: 5.113 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003765/0.04901, allocations: 316.1 kB / 375.8 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005464/0.05447, allocations: 5.226 MB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.226e-05/0.05455, allocations: 39.62 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/0.05481, allocations: 143.8 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002001/0.05681, allocations: 2.395 MB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004414/0.06122, allocations: 2.967 MB / 386.6 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02193/0.08315, allocations: 29.93 MB / 416.5 MB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00358/0.08673, allocations: 2.195 MB / 418.7 MB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005242/0.08725, allocations: 434.7 kB / 419.1 MB, free: 7.816 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004718/0.09197, allocations: 4.058 MB / 423.2 MB, free: 3.738 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.092, allocations: 51.88 kB / 423.3 MB, free: 3.676 MB / 394.7 MB Notification: Performance of pre-optimization done (n=198): time 3.186e-06/0.092, allocations: 0 / 423.3 MB, free: 3.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=204): time 0.0115/0.1035, allocations: 5.739 MB / 429 MB, free: 13.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.1035, allocations: 72.72 kB / 429.1 MB, free: 13.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.1054, allocations: 2.657 MB / 431.7 MB, free: 11.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.479e-05/0.1054, allocations: 53.69 kB / 431.8 MB, free: 11.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.1066, allocations: 3.193 MB / 435 MB, free: 7.844 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004121/0.1071, allocations: 0.7867 MB / 435.8 MB, free: 7.051 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008838/0.1079, allocations: 1.089 MB / 436.8 MB, free: 5.949 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.108, allocations: 305.1 kB / 437.1 MB, free: 5.648 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.1092, allocations: 0.7773 MB / 437.9 MB, free: 4.863 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003027/0.1122, allocations: 4.012 MB / 441.9 MB, free: 15.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003995/0.1162, allocations: 5.269 MB / 447.2 MB, free: 8.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-05/0.1162, allocations: 32 kB / 447.2 MB, free: 8.199 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.00473/0.121, allocations: 4.067 MB / 451.3 MB, free: 4.109 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.052e-05/0.121, allocations: 56.94 kB / 451.4 MB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.535e-05/0.1211, allocations: 116 kB / 451.5 MB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008431/0.122, allocations: 379.3 kB / 451.8 MB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/0.1241, allocations: 1.306 MB / 453.1 MB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.1259, allocations: 1.912 MB / 455.1 MB, free: 252 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.1275, allocations: 216 kB / 455.3 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1845/0.312, allocations: 293.8 kB / 455.6 MB, free: 106.5 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.002038/0.3141, allocations: 0.5761 MB / 456.1 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005676/0.3146, allocations: 191.2 kB / 456.3 MB, free: 106.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.3167, allocations: 1.321 MB / 457.6 MB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.626e-05/0.3168, allocations: 41.91 kB / 457.7 MB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.3168, allocations: 6.469 kB / 457.7 MB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.3168, allocations: 7.875 kB / 457.7 MB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006491/0.3233, allocations: 4.658 MB / 462.4 MB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.3233, allocations: 2.781 kB / 462.4 MB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006474/0.324, allocations: 251.2 kB / 462.6 MB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008253/0.3248, allocations: 364.3 kB / 463 MB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.549e-05/0.3249, allocations: 35.97 kB / 463 MB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/0.3263, allocations: 1.679 MB / 464.7 MB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3263, allocations: 8.375 kB / 464.7 MB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002142/0.3285, allocations: 1.724 MB / 466.4 MB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003244/0.3288, allocations: 262.6 kB / 466.7 MB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.329, allocations: 33.8 kB / 466.7 MB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/0.3295, allocations: 31.36 kB / 466.7 MB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.3297, allocations: 112 kB / 466.8 MB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/0.3297, allocations: 39 kB / 466.9 MB, free: 104.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007519/0.3305, allocations: 0.9352 MB / 467.8 MB, free: 104 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3305, allocations: 0 / 467.8 MB, free: 104 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002717/0.3332, allocations: 1.053 MB / 468.9 MB, free: 104 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.0002999/0.3335, allocations: 170.5 kB / 469 MB, free: 104 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00246/0.336, allocations: 2.488 MB / 471.5 MB, free: 103.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001317/0.3361, allocations: 89.38 kB / 471.6 MB, free: 103.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.3367, allocations: 0.6185 MB / 472.2 MB, free: 103.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001206/0.3379, allocations: 0.6217 MB / 472.8 MB, free: 103.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008224/0.3462, allocations: 7.941 MB / 480.8 MB, free: 98.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009632/0.3471, allocations: 1.305 MB / 482.1 MB, free: 98.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009522/0.3481, allocations: 449.8 kB / 482.5 MB, free: 97.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007199/0.3488, allocations: 484.4 kB / 483 MB, free: 97.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.974e-06/0.3488, allocations: 0 / 483 MB, free: 97.29 MB / 426.7 MB Notification: Performance of Templates: time 0.04137/0.3902, allocations: 29.36 MB / 0.5003 GB, free: 70.1 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 -s gbode -gbm=radauIIA3 -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.091772084590048]