Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.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.001166/0.001166, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002552, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007068/0.0007068, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009185/0.001625, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.057/1.057, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1161/1.173, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3111/0.3111, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02951/0.3407, allocations: 12.53 MB / 289.3 MB, free: 8.684 MB / 282.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.JointUPS2,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.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,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.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.201e-05/3.447e-05, allocations: 2.312 kB / 290.6 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01382/0.01386, allocations: 11.41 MB / 302 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.02496, allocations: 4.471 MB / 306.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002517/0.02748, allocations: 83.62 kB / 306.6 MB, free: 8.285 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004/0.03148, allocations: 2.814 MB / 309.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00492/0.0364, allocations: 2.123 MB / 311.5 MB, free: 3.328 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001677/0.03807, allocations: 1.037 MB / 312.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005898/0.04397, allocations: 5.766 MB / 318.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003634/0.04761, allocations: 3.089 MB / 321.4 MB, free: 9.355 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00484/0.05245, allocations: 3.223 MB / 324.6 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003628/0.05607, allocations: 2.599 MB / 327.2 MB, free: 3.523 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009413/0.05701, allocations: 368 kB / 327.6 MB, free: 3.164 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.05901, allocations: 1.381 MB / 329 MB, free: 1.781 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001901/0.06092, allocations: 2.085 MB / 331.1 MB, free: 15.69 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001753/0.06267, allocations: 1.164 MB / 332.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006681/0.06935, allocations: 4.916 MB / 337.1 MB, free: 9.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.55e-05/0.06938, allocations: 0 / 337.1 MB, free: 9.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.06938, allocations: 0 / 337.1 MB, free: 9.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000269/0.06965, allocations: 3.984 kB / 337.1 MB, free: 9.586 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.01095/0.08059, allocations: 6.235 MB / 343.4 MB, free: 3.277 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.08064, allocations: 12.03 kB / 343.4 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003986/0.08462, allocations: 1.242 MB / 344.6 MB, free: 2.023 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003719/0.08834, allocations: 2.221 MB / 346.9 MB, free: 15.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.08851, allocations: 250.7 kB / 347.1 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006223/0.08913, allocations: 348.3 kB / 347.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008753/0.09789, allocations: 5.931 MB / 353.4 MB, free: 8.395 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.09801, allocations: 51.56 kB / 353.4 MB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003695/0.09838, allocations: 163.8 kB / 353.6 MB, free: 8.184 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001907/0.1003, allocations: 2.096 MB / 355.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005739/0.106, allocations: 3.084 MB / 358.8 MB, free: 2.957 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03571/0.1417, allocations: 36.95 MB / 395.7 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005558/0.1473, allocations: 2.391 MB / 398.1 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007964/0.1481, allocations: 0.5315 MB / 398.6 MB, free: 9.637 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008101/0.1562, allocations: 5.494 MB / 404.1 MB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.1562, allocations: 51.56 kB / 404.2 MB, free: 4.055 MB / 394.7 MB Notification: Performance of pre-optimization done (n=165): time 4.358e-06/0.1562, allocations: 0 / 404.2 MB, free: 4.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=203): time 0.03823/0.1945, allocations: 15.62 MB / 419.8 MB, free: 4.395 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.1945, allocations: 153.8 kB / 420 MB, free: 4.215 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003901/0.1984, allocations: 3.455 MB / 423.4 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.1986, allocations: 57.7 kB / 423.5 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001567/0.2002, allocations: 3.411 MB / 426.9 MB, free: 13.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006601/0.2009, allocations: 0.814 MB / 427.7 MB, free: 12.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001228/0.2021, allocations: 1.287 MB / 429 MB, free: 11.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.755e-05/0.2022, allocations: 301.1 kB / 429.3 MB, free: 10.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.2036, allocations: 0.9679 MB / 430.2 MB, free: 9.879 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/0.2069, allocations: 4.969 MB / 435.2 MB, free: 2.855 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2406/0.4475, allocations: 6.489 MB / 441.7 MB, free: 114.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001901/0.4477, allocations: 41.31 kB / 441.7 MB, free: 114.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01468/0.4624, allocations: 5.733 MB / 447.5 MB, free: 113.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.4625, allocations: 70.25 kB / 447.5 MB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002387/0.4627, allocations: 147.3 kB / 447.7 MB, free: 113.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004669/0.4674, allocations: 1.751 MB / 449.4 MB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003076/0.4705, allocations: 1.645 MB / 451.1 MB, free: 113.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007499/0.478, allocations: 4.731 MB / 455.8 MB, free: 112 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004478/0.4824, allocations: 295.1 kB / 456.1 MB, free: 112 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001108/0.4835, allocations: 351.4 kB / 456.4 MB, free: 112 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (825): * Single equations (assignments): 821 * Array equations: 3 * 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,41,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002632/0.4862, allocations: 0.6653 MB / 457.1 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007994/0.487, allocations: 255.3 kB / 457.4 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0047/0.4917, allocations: 2.341 MB / 459.7 MB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.185e-05/0.4917, allocations: 22.66 kB / 459.7 MB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/0.4917, allocations: 8 kB / 459.7 MB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.4917, allocations: 11.22 kB / 459.7 MB, free: 111.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/0.5068, allocations: 6.548 MB / 466.3 MB, free: 106 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/0.5068, allocations: 4 kB / 466.3 MB, free: 106 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008708/0.5077, allocations: 287.6 kB / 466.6 MB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.5089, allocations: 341 kB / 466.9 MB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004783/0.5137, allocations: 1.7 MB / 468.6 MB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002616/0.5139, allocations: 39.98 kB / 468.6 MB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00583/0.5197, allocations: 3.736 MB / 472.4 MB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.5197, allocations: 0 / 472.4 MB, free: 100.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005961/0.5257, allocations: 3.215 MB / 475.6 MB, free: 96.88 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/0.5268, allocations: 28 kB / 475.6 MB, free: 96.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.528, allocations: 42.88 kB / 475.7 MB, free: 96.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003708/0.5283, allocations: 132.9 kB / 475.8 MB, free: 96.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.5285, allocations: 40 kB / 475.8 MB, free: 96.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001588/0.53, allocations: 1.273 MB / 477.1 MB, free: 95.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.53, allocations: 3.609 kB / 477.1 MB, free: 95.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005329/0.5354, allocations: 1.402 MB / 478.5 MB, free: 94.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (147): * Single equations (assignments): 143 * Array equations: 3 * 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,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004511/0.5358, allocations: 164 kB / 478.7 MB, free: 93.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004165/0.54, allocations: 3.18 MB / 481.9 MB, free: 90.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002496/0.5402, allocations: 114.8 kB / 482 MB, free: 90.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.5416, allocations: 0.889 MB / 482.9 MB, free: 89.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/0.5453, allocations: 0.9291 MB / 483.8 MB, free: 89.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/0.5641, allocations: 8.711 MB / 492.5 MB, free: 80.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.5656, allocations: 1.406 MB / 493.9 MB, free: 78.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002027/0.5676, allocations: 0.5304 MB / 494.4 MB, free: 78.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/0.5687, allocations: 0.5909 MB / 495 MB, free: 77.74 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-06/0.5687, allocations: 0 / 495 MB, free: 77.74 MB / 426.7 MB Notification: Performance of Templates: time 0.06831/0.637, allocations: 54.11 MB / 0.5363 GB, free: 24.09 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.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.850012421607971]