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.001056/0.001056, allocations: 79.59 kB / 21.18 MB, free: 3.383 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.001007/0.001007, allocations: 161 kB / 24.56 MB, free: 12 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 1.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.605 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.2881/0.2881, allocations: 32.81 MB / 294.3 MB, free: 1.266 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 2.334e-06/2.334e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.107e-05, allocations: 6.25 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01374/0.01377, allocations: 11.57 MB / 387.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008663/0.02243, allocations: 4.309 MB / 391.9 MB, free: 4.699 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.02439, allocations: 87.56 kB / 392 MB, free: 4.613 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003886/0.02828, allocations: 2.955 MB / 394.9 MB, free: 1.648 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00452/0.0328, allocations: 2.146 MB / 397.1 MB, free: 15.49 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.03472, allocations: 1.115 MB / 398.2 MB, free: 14.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006445/0.04116, allocations: 6.114 MB / 404.3 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005009/0.04617, allocations: 3.498 MB / 407.8 MB, free: 4.707 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005152/0.05132, allocations: 3.294 MB / 411.1 MB, free: 1.406 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002932/0.05426, allocations: 2.724 MB / 413.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006045/0.05486, allocations: 368 kB / 414.2 MB, free: 14.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.05698, allocations: 1.35 MB / 415.5 MB, free: 12.96 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.05866, allocations: 2.341 MB / 417.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.06013, allocations: 1.429 MB / 419.3 MB, free: 9.184 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00542/0.06554, allocations: 5.352 MB / 424.7 MB, free: 3.812 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.06555, allocations: 0 / 424.7 MB, free: 3.812 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.06555, allocations: 0 / 424.7 MB, free: 3.812 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.966e-05/0.06563, allocations: 0 / 424.7 MB, free: 3.812 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.007555/0.07319, allocations: 6.254 MB / 430.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.711e-05/0.07324, allocations: 12.03 kB / 430.9 MB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008653/0.0819, allocations: 3.103 MB / 434 MB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004656/0.08655, allocations: 2.688 MB / 436.7 MB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.08671, allocations: 250.8 kB / 437 MB, free: 7.383 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004753/0.08719, allocations: 348.3 kB / 437.3 MB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2394/0.3266, allocations: 7.62 MB / 444.9 MB, free: 89.35 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002827/0.3269, allocations: 50.47 kB / 445 MB, free: 89.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009414/0.3278, allocations: 161.4 kB / 445.1 MB, free: 89.35 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002208/0.33, allocations: 2.267 MB / 447.4 MB, free: 89.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01306/0.3431, allocations: 4.221 MB / 451.6 MB, free: 89.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04373/0.3868, allocations: 51.67 MB / 0.4915 GB, free: 48.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01044/0.3973, allocations: 3.13 MB / 0.4946 GB, free: 48.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/0.3993, allocations: 0.7987 MB / 0.4953 GB, free: 47.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01231/0.4116, allocations: 6.796 MB / 0.502 GB, free: 44.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/0.4116, allocations: 58.25 kB / 0.502 GB, free: 44.35 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 7.113e-06/0.4116, allocations: 0 / 0.502 GB, free: 44.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.06708/0.4787, allocations: 28.66 MB / 0.53 GB, free: 26.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/0.4788, allocations: 201.2 kB / 0.5302 GB, free: 25.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0039/0.4827, allocations: 3.857 MB / 0.534 GB, free: 22.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000418/0.4831, allocations: 61.7 kB / 0.534 GB, free: 22.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001944/0.4851, allocations: 3.814 MB / 0.5378 GB, free: 18.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009346/0.486, allocations: 0.8456 MB / 0.5386 GB, free: 17.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.4872, allocations: 1.452 MB / 0.54 GB, free: 16.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.467e-05/0.4872, allocations: 476.8 kB / 0.5405 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001376/0.4886, allocations: 0.8996 MB / 0.5413 GB, free: 14.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00292/0.4915, allocations: 7.023 MB / 0.5482 GB, free: 4.855 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007239/0.4988, allocations: 8.701 MB / 0.5567 GB, free: 9.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001958/0.499, allocations: 48 kB / 0.5567 GB, free: 9.363 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01573/0.5147, allocations: 8.195 MB / 0.5647 GB, free: 1.156 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.306e-05/0.5148, allocations: 68 kB / 0.5648 GB, free: 1.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001398/0.5149, allocations: 148.1 kB / 0.5649 GB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006466/0.5214, allocations: 2.901 MB / 0.5678 GB, free: 14.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003895/0.5253, allocations: 1.532 MB / 0.5693 GB, free: 12.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009957/0.5352, allocations: 6.291 MB / 0.5754 GB, free: 6.102 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004098/0.5393, allocations: 0.4994 MB / 0.5759 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008042/0.5401, allocations: 406 kB / 0.5763 GB, free: 5.207 MB / 442.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.00177/0.5419, allocations: 0.7156 MB / 0.577 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008245/0.5427, allocations: 429.8 kB / 0.5774 GB, free: 4.062 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006934/0.5497, allocations: 3.855 MB / 0.5812 GB, free: 188 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-05/0.5497, allocations: 27.94 kB / 0.5812 GB, free: 160 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-05/0.5497, allocations: 8 kB / 0.5812 GB, free: 152 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.976e-05/0.5498, allocations: 11.95 kB / 0.5812 GB, free: 140 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01772/0.5675, allocations: 8.934 MB / 0.5899 GB, free: 7.164 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/0.5675, allocations: 4 kB / 0.5899 GB, free: 7.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000842/0.5683, allocations: 275.6 kB / 0.5902 GB, free: 6.891 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005686/0.574, allocations: 2.409 MB / 0.5926 GB, free: 4.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002891/0.5743, allocations: 39.98 kB / 0.5926 GB, free: 4.441 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2372/0.8116, allocations: 5.145 MB / 0.5976 GB, free: 119.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.8116, allocations: 10.17 kB / 0.5976 GB, free: 119.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008583/0.8202, allocations: 4.882 MB / 0.6024 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/0.8216, allocations: 359.8 kB / 0.6027 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004321/0.822, allocations: 35.22 kB / 0.6028 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.8232, allocations: 205.8 kB / 0.603 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003922/0.8235, allocations: 132.2 kB / 0.6031 GB, free: 118.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.8237, allocations: 55.17 kB / 0.6031 GB, free: 118.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002362/0.826, allocations: 1.66 MB / 0.6048 GB, free: 118.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.826, allocations: 0 / 0.6048 GB, free: 118.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004995/0.831, allocations: 1.393 MB / 0.6061 GB, free: 118.3 MB / 458.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.0005757/0.8316, allocations: 186.2 kB / 0.6063 GB, free: 118.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00639/0.838, allocations: 3.864 MB / 0.6101 GB, free: 117.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.838, allocations: 0 / 0.6101 GB, free: 117.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.8398, allocations: 1.23 MB / 0.6113 GB, free: 117.6 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.8421, allocations: 439.6 kB / 0.6117 GB, free: 117.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.8558, allocations: 8.687 MB / 0.6202 GB, free: 114.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001926/0.8577, allocations: 1.412 MB / 0.6216 GB, free: 114.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003216/0.861, allocations: 1.733 MB / 0.6233 GB, free: 114 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007014/0.8617, allocations: 254.2 kB / 0.6235 GB, free: 114 MB / 458.7 MB Notification: Performance of SimCode: time 2.164e-06/0.8617, allocations: 0 / 0.6235 GB, free: 114 MB / 458.7 MB Notification: Performance of Templates: time 0.07227/0.9339, allocations: 51.5 MB / 0.6738 GB, free: 83.82 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: 5.146313379984349]