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.001061/0.001061, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001002/0.001002, allocations: 161 kB / 24.56 MB, free: 20 kB / 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.9422/0.9422, allocations: 177.1 MB / 205 MB, free: 5.293 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.2488/0.2488, allocations: 32.81 MB / 294.3 MB, free: 1.227 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.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 1.523e-06/1.523e-06, allocations: 0 / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.353e-05, allocations: 9.344 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01421/0.01423, allocations: 11.57 MB / 387.6 MB, free: 9.031 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007247/0.02148, allocations: 4.305 MB / 391.9 MB, free: 4.715 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009685/0.02245, allocations: 79.62 kB / 392 MB, free: 4.637 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003069/0.02551, allocations: 2.959 MB / 394.9 MB, free: 1.668 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003239/0.02875, allocations: 2.142 MB / 397.1 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.03026, allocations: 1.119 MB / 398.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004846/0.0351, allocations: 6.112 MB / 404.3 MB, free: 8.273 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002866/0.03797, allocations: 3.494 MB / 407.8 MB, free: 4.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002416/0.04039, allocations: 2.705 MB / 410.5 MB, free: 2.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002498/0.04289, allocations: 2.786 MB / 413.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003711/0.04326, allocations: 376 kB / 413.7 MB, free: 14.86 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.04477, allocations: 1.357 MB / 415 MB, free: 13.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001518/0.04629, allocations: 2.357 MB / 417.4 MB, free: 11.14 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001023/0.04731, allocations: 1.449 MB / 418.8 MB, free: 9.684 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004294/0.05161, allocations: 5.379 MB / 424.2 MB, free: 4.285 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.05161, allocations: 0 / 424.2 MB, free: 4.285 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.05161, allocations: 0 / 424.2 MB, free: 4.285 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.256e-05/0.05165, allocations: 0 / 424.2 MB, free: 4.285 MB / 394.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.006316/0.05797, allocations: 6.246 MB / 430.5 MB, free: 13.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.058, allocations: 12.03 kB / 430.5 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008435/0.06644, allocations: 3.157 MB / 433.6 MB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003492/0.06993, allocations: 2.832 MB / 436.5 MB, free: 7.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.07006, allocations: 258.8 kB / 436.7 MB, free: 7.656 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000427/0.07049, allocations: 352.2 kB / 437.1 MB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1663/0.2368, allocations: 7.632 MB / 444.7 MB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.2369, allocations: 51.58 kB / 444.7 MB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003576/0.2373, allocations: 163.1 kB / 444.9 MB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001949/0.2393, allocations: 2.379 MB / 447.3 MB, free: 89.16 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008065/0.2473, allocations: 4.434 MB / 451.7 MB, free: 89.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02597/0.2733, allocations: 51.23 MB / 0.4912 GB, free: 49.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007056/0.2803, allocations: 3.43 MB / 0.4945 GB, free: 48.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00134/0.2817, allocations: 1.018 MB / 0.4955 GB, free: 48.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008733/0.2904, allocations: 7.85 MB / 0.5032 GB, free: 44.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.2904, allocations: 57.12 kB / 0.5032 GB, free: 44.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=204): time 3.086e-06/0.2904, allocations: 3.938 kB / 0.5032 GB, free: 44.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.04757/0.338, allocations: 25.95 MB / 0.5286 GB, free: 27.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.3381, allocations: 213.9 kB / 0.5288 GB, free: 27.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/0.3409, allocations: 3.698 MB / 0.5324 GB, free: 23.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.3411, allocations: 65.7 kB / 0.5324 GB, free: 23.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.3422, allocations: 3.683 MB / 0.536 GB, free: 20.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005402/0.3427, allocations: 1.059 MB / 0.5371 GB, free: 19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001213/0.344, allocations: 1.496 MB / 0.5385 GB, free: 17.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.344, allocations: 476.8 kB / 0.539 GB, free: 17.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.3455, allocations: 1.044 MB / 0.54 GB, free: 15.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002864/0.3484, allocations: 6.883 MB / 0.5467 GB, free: 6.461 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006369/0.3547, allocations: 8.736 MB / 0.5553 GB, free: 11.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.988e-05/0.3548, allocations: 40 kB / 0.5553 GB, free: 11.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01286/0.3676, allocations: 8.272 MB / 0.5634 GB, free: 2.832 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/0.3677, allocations: 70.53 kB / 0.5634 GB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.3678, allocations: 136 kB / 0.5636 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005602/0.3734, allocations: 2.669 MB / 0.5662 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/0.3763, allocations: 1.583 MB / 0.5677 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009353/0.3857, allocations: 6.721 MB / 0.5743 GB, free: 7.547 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003101/0.3888, allocations: 496.7 kB / 0.5748 GB, free: 7.062 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004057/0.3892, allocations: 412 kB / 0.5752 GB, free: 6.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * 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 (839): * Single equations (assignments): 835 * 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 {(4,51,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001319/0.3905, allocations: 0.7002 MB / 0.5758 GB, free: 5.945 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005678/0.3911, allocations: 468 kB / 0.5763 GB, free: 5.488 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00728/0.3983, allocations: 4.284 MB / 0.5805 GB, free: 1.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.928e-05/0.3984, allocations: 28 kB / 0.5805 GB, free: 1.152 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.3984, allocations: 12 kB / 0.5805 GB, free: 1.141 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.497e-05/0.3984, allocations: 11.95 kB / 0.5805 GB, free: 1.129 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/0.4137, allocations: 9.278 MB / 0.5896 GB, free: 7.875 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.4137, allocations: 4 kB / 0.5896 GB, free: 7.871 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.4147, allocations: 383.4 kB / 0.59 GB, free: 7.496 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00514/0.4199, allocations: 2.444 MB / 0.5923 GB, free: 5.047 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000165/0.4201, allocations: 48 kB / 0.5924 GB, free: 5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.171/0.591, allocations: 5.794 MB / 0.598 GB, free: 119.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.591, allocations: 2.625 kB / 0.598 GB, free: 119.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008912/0.5999, allocations: 5.547 MB / 0.6035 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007493/0.6007, allocations: 376.4 kB / 0.6038 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/0.601, allocations: 44.02 kB / 0.6039 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.6022, allocations: 250 kB / 0.6041 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/0.6025, allocations: 158.5 kB / 0.6043 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/0.6027, allocations: 62.25 kB / 0.6043 GB, free: 118.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001836/0.6045, allocations: 1.613 MB / 0.6059 GB, free: 118.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.6045, allocations: 3.969 kB / 0.6059 GB, free: 118.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003848/0.6084, allocations: 1.474 MB / 0.6073 GB, free: 118.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (197): * Single equations (assignments): 193 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004229/0.6088, allocations: 195.8 kB / 0.6075 GB, free: 118.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005405/0.6142, allocations: 4.419 MB / 0.6118 GB, free: 117.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.6142, allocations: 3.656 kB / 0.6118 GB, free: 117.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002042/0.6162, allocations: 1.746 MB / 0.6135 GB, free: 117.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001412/0.6176, allocations: 453.8 kB / 0.614 GB, free: 117.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.6279, allocations: 9.348 MB / 0.6231 GB, free: 114.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.629, allocations: 1.451 MB / 0.6245 GB, free: 114 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002801/0.6318, allocations: 1.782 MB / 0.6263 GB, free: 113.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007391/0.6326, allocations: 270.7 kB / 0.6265 GB, free: 113.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.943e-06/0.6326, allocations: 0 / 0.6265 GB, free: 113.9 MB / 458.7 MB Notification: Performance of Templates: time 0.06243/0.695, allocations: 56.86 MB / 0.6821 GB, free: 76.46 MB / 458.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 -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.880546228028834]