Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009748/0.0009748, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001042/0.001042, allocations: 170.4 kB / 24.91 MB, free: 9.191 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.9617/0.9617, 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2538/0.2538, allocations: 32.8 MB / 294.6 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.Universal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 323.2 MB, free: 9.699 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001e-05/1.119e-05, allocations: 2.312 kB / 323.2 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.009615/0.009626, allocations: 12.64 MB / 335.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008407/0.01803, allocations: 4.267 MB / 340.1 MB, free: 8.707 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.02006, allocations: 87.62 kB / 340.2 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002757/0.02282, allocations: 2.09 MB / 342.3 MB, free: 6.523 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.02664, allocations: 2.022 MB / 344.3 MB, free: 4.492 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.02773, allocations: 0.5924 MB / 344.9 MB, free: 3.898 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004547/0.03228, allocations: 4.428 MB / 349.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003248/0.03553, allocations: 2.835 MB / 352.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003036/0.03856, allocations: 2.292 MB / 354.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002371/0.04093, allocations: 2.077 MB / 356.6 MB, free: 8.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000527/0.04146, allocations: 304 kB / 356.9 MB, free: 7.883 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.04301, allocations: 0.9556 MB / 357.8 MB, free: 6.926 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.04437, allocations: 1.979 MB / 359.8 MB, free: 4.941 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.04586, allocations: 1.203 MB / 361 MB, free: 3.734 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005515/0.05137, allocations: 4.638 MB / 365.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.05138, allocations: 4 kB / 365.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.05138, allocations: 0 / 365.6 MB, free: 15.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001491/0.05153, allocations: 0 / 365.6 MB, free: 15.07 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.005634/0.05716, allocations: 4.565 MB / 370.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.05721, allocations: 8.031 kB / 370.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003847/0.06106, allocations: 1.483 MB / 371.7 MB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002022/0.06308, allocations: 1.654 MB / 373.3 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.0632, allocations: 234.2 kB / 373.6 MB, free: 7.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000384/0.06358, allocations: 308.1 kB / 373.9 MB, free: 6.738 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005912/0.0695, allocations: 5.233 MB / 379.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7e-05/0.06957, allocations: 47.61 kB / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002844/0.06985, allocations: 143.8 kB / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002915/0.07277, allocations: 2.395 MB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006104/0.07887, allocations: 2.959 MB / 384.7 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02778/0.1067, allocations: 29.92 MB / 414.6 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003853/0.1105, allocations: 2.21 MB / 416.8 MB, free: 10.16 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/0.1111, allocations: 450 kB / 417.2 MB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005441/0.1165, allocations: 4.051 MB / 421.3 MB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/0.1166, allocations: 43.88 kB / 421.3 MB, free: 5.602 MB / 394.7 MB Notification: Performance of pre-optimization done (n=198): time 5.771e-06/0.1166, allocations: 4 kB / 421.3 MB, free: 5.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=204): time 0.01296/0.1295, allocations: 5.72 MB / 427 MB, free: 15.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.1296, allocations: 68.7 kB / 427.1 MB, free: 15.76 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.1319, allocations: 2.657 MB / 429.8 MB, free: 13.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.534e-05/0.132, allocations: 61.69 kB / 429.8 MB, free: 13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001486/0.1335, allocations: 3.193 MB / 433 MB, free: 9.781 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000424/0.1339, allocations: 0.7828 MB / 433.8 MB, free: 8.992 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009106/0.1348, allocations: 1.093 MB / 434.9 MB, free: 7.887 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.1349, allocations: 305.1 kB / 435.2 MB, free: 7.586 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.1362, allocations: 0.7773 MB / 436 MB, free: 6.801 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002619/0.1388, allocations: 4.012 MB / 440 MB, free: 1.109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004111/0.143, allocations: 5.262 MB / 445.2 MB, free: 10.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.022e-05/0.143, allocations: 36 kB / 445.3 MB, free: 10.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.005165/0.1482, allocations: 4.06 MB / 449.3 MB, free: 6.062 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.575e-05/0.1482, allocations: 56 kB / 449.4 MB, free: 6.008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.228e-05/0.1483, allocations: 124 kB / 449.5 MB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008949/0.1492, allocations: 383.8 kB / 449.9 MB, free: 5.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/0.1513, allocations: 1.252 MB / 451.1 MB, free: 4.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.1533, allocations: 1.905 MB / 453 MB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.1554, allocations: 220 kB / 453.3 MB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002897/0.1557, allocations: 296 kB / 453.5 MB, free: 1.742 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.001336/0.157, allocations: 0.5796 MB / 454.1 MB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004765/0.1575, allocations: 191.8 kB / 454.3 MB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1551/0.3126, allocations: 1.315 MB / 455.6 MB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.601e-05/0.3127, allocations: 44.67 kB / 455.7 MB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3127, allocations: 2.031 kB / 455.7 MB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.173e-05/0.3127, allocations: 8.422 kB / 455.7 MB, free: 123.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007745/0.3204, allocations: 4.663 MB / 460.3 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.116e-06/0.3205, allocations: 3.906 kB / 460.4 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005926/0.321, allocations: 240.9 kB / 460.6 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008558/0.3219, allocations: 363.2 kB / 460.9 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.265e-05/0.322, allocations: 32.47 kB / 461 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001425/0.3234, allocations: 1.666 MB / 462.6 MB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3234, allocations: 7.781 kB / 462.6 MB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.3256, allocations: 1.731 MB / 464.4 MB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003278/0.3259, allocations: 253.7 kB / 464.6 MB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002133/0.3261, allocations: 31.31 kB / 464.7 MB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005055/0.3266, allocations: 28.69 kB / 464.7 MB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.3268, allocations: 108 kB / 464.8 MB, free: 121.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/0.3268, allocations: 51.64 kB / 464.8 MB, free: 121.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007592/0.3276, allocations: 0.9296 MB / 465.8 MB, free: 121.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3276, allocations: 0 / 465.8 MB, free: 121.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002562/0.3302, allocations: 1.061 MB / 466.8 MB, free: 121.7 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.0003144/0.3305, allocations: 157.4 kB / 467 MB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002437/0.3329, allocations: 2.491 MB / 469.5 MB, free: 121.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001197/0.333, allocations: 90 kB / 469.6 MB, free: 121.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005943/0.3336, allocations: 0.6218 MB / 470.2 MB, free: 121.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.335, allocations: 0.6224 MB / 470.8 MB, free: 121 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00758/0.3426, allocations: 7.937 MB / 478.7 MB, free: 114.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009222/0.3435, allocations: 1.3 MB / 480 MB, free: 113.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001024/0.3445, allocations: 452.4 kB / 480.5 MB, free: 112.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006351/0.3451, allocations: 470.5 kB / 480.9 MB, free: 112.4 MB / 426.7 MB Notification: Performance of SimCode: time 2.154e-06/0.3451, allocations: 0 / 480.9 MB, free: 112.4 MB / 426.7 MB Notification: Performance of Templates: time 0.04197/0.3871, allocations: 29.36 MB / 0.4983 GB, free: 83.62 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 3.8945098998956382]