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.0009397/0.0009397, 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.0009493/0.0009493, allocations: 169.1 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.9223/0.9223, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2482/0.2482, allocations: 32.8 MB / 294.6 MB, free: 1.254 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.333e-06/1.333e-06, allocations: 0 / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.505e-05/1.638e-05, allocations: 4.984 kB / 323.2 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.008268/0.008284, allocations: 11.28 MB / 334.5 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006784/0.01507, allocations: 4.447 MB / 339 MB, free: 9.922 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.01617, allocations: 91.56 kB / 339 MB, free: 9.832 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003016/0.01918, allocations: 2.943 MB / 342 MB, free: 6.879 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003252/0.02244, allocations: 2.173 MB / 344.2 MB, free: 4.695 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.02399, allocations: 1.127 MB / 345.3 MB, free: 3.566 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004985/0.02897, allocations: 6.099 MB / 351.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002988/0.03196, allocations: 3.576 MB / 355 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003257/0.03522, allocations: 3.29 MB / 358.3 MB, free: 6.516 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/0.03772, allocations: 2.603 MB / 360.9 MB, free: 3.906 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004916/0.03822, allocations: 368 kB / 361.2 MB, free: 3.547 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001506/0.03972, allocations: 1.334 MB / 362.6 MB, free: 2.211 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001312/0.04103, allocations: 2.341 MB / 364.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.04214, allocations: 1.437 MB / 366.3 MB, free: 14.42 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003939/0.04608, allocations: 5.344 MB / 371.7 MB, free: 9.059 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.04609, allocations: 0 / 371.7 MB, free: 9.059 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.04609, allocations: 0 / 371.7 MB, free: 9.059 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.393e-05/0.04613, allocations: 0 / 371.7 MB, free: 9.059 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.005105/0.05124, allocations: 5.211 MB / 376.9 MB, free: 3.793 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.05127, allocations: 12.02 kB / 376.9 MB, free: 3.781 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/0.05428, allocations: 1.23 MB / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002251/0.05653, allocations: 2.217 MB / 380.3 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001714/0.05671, allocations: 254.8 kB / 380.6 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000422/0.05713, allocations: 344.3 kB / 380.9 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005628/0.06276, allocations: 5.943 MB / 386.9 MB, free: 8.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000126/0.06288, allocations: 55.55 kB / 386.9 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002706/0.06315, allocations: 167.8 kB / 387.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001598/0.06475, allocations: 2.081 MB / 389.2 MB, free: 6.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005211/0.06996, allocations: 3.079 MB / 392.2 MB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02936/0.09932, allocations: 36.96 MB / 429.2 MB, free: 13.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005303/0.1046, allocations: 2.441 MB / 431.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006362/0.1053, allocations: 0.5365 MB / 432.2 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006838/0.1121, allocations: 5.537 MB / 437.7 MB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/0.1121, allocations: 51.5 kB / 437.8 MB, free: 4.492 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 4.037e-06/0.1121, allocations: 0 / 437.8 MB, free: 4.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.03555/0.1477, allocations: 15.46 MB / 453.2 MB, free: 4.992 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.972e-05/0.1478, allocations: 201.2 kB / 453.4 MB, free: 4.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.1507, allocations: 3.459 MB / 456.9 MB, free: 1.305 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.1509, allocations: 57.7 kB / 456.9 MB, free: 1.242 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1675/0.3183, allocations: 3.411 MB / 460.4 MB, free: 127.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001279/0.3196, allocations: 0.8142 MB / 461.2 MB, free: 126.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001269/0.3209, allocations: 1.279 MB / 462.4 MB, free: 126.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.334e-05/0.3209, allocations: 301.1 kB / 462.7 MB, free: 126.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.3223, allocations: 0.9659 MB / 463.7 MB, free: 126.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002347/0.3247, allocations: 4.976 MB / 468.7 MB, free: 120.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/0.3286, allocations: 6.482 MB / 475.2 MB, free: 115.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.359e-05/0.3287, allocations: 41.91 kB / 475.2 MB, free: 115.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.00755/0.3362, allocations: 5.736 MB / 480.9 MB, free: 114.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.617e-05/0.3363, allocations: 68.7 kB / 481 MB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.3364, allocations: 148 kB / 481.2 MB, free: 114 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004059/0.3404, allocations: 1.754 MB / 482.9 MB, free: 113 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/0.3426, allocations: 1.473 MB / 484.4 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006035/0.3487, allocations: 4.697 MB / 489.1 MB, free: 108 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.3513, allocations: 291.2 kB / 489.4 MB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002856/0.3516, allocations: 349.1 kB / 489.7 MB, free: 107.4 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.001197/0.3528, allocations: 0.6713 MB / 490.4 MB, free: 106.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003846/0.3532, allocations: 247.1 kB / 490.6 MB, free: 106.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.3571, allocations: 2.338 MB / 493 MB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/0.3571, allocations: 20 kB / 493 MB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.3571, allocations: 8 kB / 493 MB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.3572, allocations: 11.97 kB / 493 MB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009339/0.3665, allocations: 6.562 MB / 499.6 MB, free: 98.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.3665, allocations: 4 kB / 499.6 MB, free: 98.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000549/0.3671, allocations: 239.4 kB / 499.8 MB, free: 98.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003856/0.3709, allocations: 1.702 MB / 0.4897 GB, free: 96.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.371, allocations: 35.98 kB / 0.4898 GB, free: 96.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004976/0.376, allocations: 3.708 MB / 0.4934 GB, free: 92.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.376, allocations: 7.875 kB / 0.4934 GB, free: 92.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004888/0.3809, allocations: 3.204 MB / 0.4965 GB, free: 89.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006622/0.3816, allocations: 342.1 kB / 0.4969 GB, free: 89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.3818, allocations: 32 kB / 0.4969 GB, free: 88.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007591/0.3826, allocations: 43.98 kB / 0.4969 GB, free: 88.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/0.3829, allocations: 121 kB / 0.497 GB, free: 88.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.242e-05/0.383, allocations: 40 kB / 0.4971 GB, free: 88.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001116/0.3841, allocations: 1.274 MB / 0.4983 GB, free: 87.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3841, allocations: 3.062 kB / 0.4983 GB, free: 87.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003764/0.3878, allocations: 1.397 MB / 0.4997 GB, free: 86.12 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.0003393/0.3882, allocations: 162.6 kB / 0.4999 GB, free: 85.96 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002999/0.3912, allocations: 3.187 MB / 0.503 GB, free: 82.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000131/0.3913, allocations: 101.7 kB / 0.5031 GB, free: 82.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008736/0.3922, allocations: 0.8911 MB / 0.5039 GB, free: 81.77 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.3938, allocations: 0.6654 MB / 0.5046 GB, free: 81.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007805/0.4016, allocations: 8.501 MB / 0.5129 GB, free: 72.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009158/0.4025, allocations: 1.397 MB / 0.5142 GB, free: 71.12 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001092/0.4036, allocations: 0.5293 MB / 0.5148 GB, free: 70.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007313/0.4043, allocations: 0.5851 MB / 0.5153 GB, free: 70.01 MB / 426.7 MB Notification: Performance of SimCode: time 8.02e-07/0.4043, allocations: 0 / 0.5153 GB, free: 70.01 MB / 426.7 MB Notification: Performance of Templates: time 0.05759/0.4619, allocations: 53.36 MB / 0.5674 GB, free: 17 MB / 426.7 MB " [Timeout remaining time 660] 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.39979292312637]