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.001941/0.001941, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002781/0.002781, allocations: 165.3 kB / 24.27 MB, free: 152 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.622/1.622, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3898/0.3898, allocations: 32.8 MB / 293.9 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 179] 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.863e-06/1.863e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.925e-05, allocations: 2.312 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01642/0.01645, allocations: 11.49 MB / 386.8 MB, free: 9.441 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.02719, allocations: 4.285 MB / 391 MB, free: 5.145 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.02916, allocations: 87.56 kB / 391.1 MB, free: 5.059 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006901/0.03606, allocations: 2.947 MB / 394.1 MB, free: 2.102 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006396/0.04246, allocations: 2.138 MB / 396.2 MB, free: 15.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.04525, allocations: 1.123 MB / 397.3 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009599/0.05484, allocations: 6.096 MB / 403.4 MB, free: 8.723 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005749/0.06059, allocations: 3.509 MB / 406.9 MB, free: 5.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005542/0.06613, allocations: 2.697 MB / 409.6 MB, free: 2.461 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005502/0.07164, allocations: 2.786 MB / 412.4 MB, free: 15.67 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.07281, allocations: 376 kB / 412.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003799/0.07661, allocations: 1.373 MB / 414.2 MB, free: 13.93 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004263/0.08088, allocations: 2.353 MB / 416.5 MB, free: 11.57 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003835/0.08471, allocations: 1.445 MB / 418 MB, free: 10.12 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01383/0.09854, allocations: 8.173 MB / 426.1 MB, free: 1.918 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.09855, allocations: 0 / 426.1 MB, free: 1.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.09855, allocations: 0 / 426.1 MB, free: 1.918 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003027/0.09885, allocations: 0 / 426.1 MB, free: 1.918 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.01891/0.1178, allocations: 6.727 MB / 432.9 MB, free: 11.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1178, allocations: 8.031 kB / 432.9 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0207/0.1385, allocations: 3.173 MB / 436.1 MB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009254/0.1478, allocations: 2.871 MB / 438.9 MB, free: 5.012 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003133/0.1481, allocations: 254.8 kB / 439.2 MB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001539/0.1496, allocations: 352.2 kB / 439.5 MB, free: 4.418 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2284/0.378, allocations: 8.114 MB / 447.6 MB, free: 93.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002511/0.3783, allocations: 47.86 kB / 447.7 MB, free: 93.41 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001231/0.3795, allocations: 170.3 kB / 447.8 MB, free: 93.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004896/0.3844, allocations: 2.376 MB / 450.2 MB, free: 93.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01748/0.4019, allocations: 4.84 MB / 455.1 MB, free: 92.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0596/0.4615, allocations: 56.14 MB / 0.4992 GB, free: 48.95 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01313/0.4746, allocations: 3.49 MB / 0.5026 GB, free: 48.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002343/0.4769, allocations: 1.031 MB / 0.5036 GB, free: 48.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0163/0.4932, allocations: 7.962 MB / 0.5114 GB, free: 43.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.4933, allocations: 66.48 kB / 0.5115 GB, free: 43.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=204): time 4.218e-06/0.4933, allocations: 0 / 0.5115 GB, free: 43.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.08701/0.5803, allocations: 26.27 MB / 0.5371 GB, free: 20.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.5804, allocations: 205.9 kB / 0.5373 GB, free: 20.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005173/0.5855, allocations: 4.736 MB / 0.5419 GB, free: 16.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006304/0.5862, allocations: 61.7 kB / 0.542 GB, free: 15.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001792/0.588, allocations: 3.896 MB / 0.5458 GB, free: 12.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00127/0.5892, allocations: 1.131 MB / 0.5469 GB, free: 10.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002039/0.5913, allocations: 1.758 MB / 0.5486 GB, free: 9.191 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.5913, allocations: 480.8 kB / 0.5491 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/0.5936, allocations: 1.138 MB / 0.5502 GB, free: 7.578 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005386/0.5989, allocations: 7.202 MB / 0.5572 GB, free: 13.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01447/0.6134, allocations: 9.315 MB / 0.5663 GB, free: 1.797 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001995/0.6136, allocations: 44 kB / 0.5664 GB, free: 1.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02623/0.6398, allocations: 8.478 MB / 0.5747 GB, free: 9.258 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.64, allocations: 67.94 kB / 0.5747 GB, free: 9.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/0.6401, allocations: 136.9 kB / 0.5748 GB, free: 9.059 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01167/0.6518, allocations: 2.711 MB / 0.5775 GB, free: 6.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006336/0.6581, allocations: 1.575 MB / 0.579 GB, free: 4.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01853/0.6767, allocations: 7.089 MB / 0.586 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006381/0.6831, allocations: 499.3 kB / 0.5864 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/0.6846, allocations: 412 kB / 0.5868 GB, free: 12.66 MB / 458.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.004033/0.6886, allocations: 0.8173 MB / 0.5876 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/0.6903, allocations: 457.5 kB / 0.5881 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/0.7059, allocations: 4.401 MB / 0.5924 GB, free: 6.953 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.897e-05/0.706, allocations: 28 kB / 0.5924 GB, free: 6.926 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.322e-05/0.706, allocations: 8 kB / 0.5924 GB, free: 6.918 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.236e-05/0.7061, allocations: 15.95 kB / 0.5924 GB, free: 6.902 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2198/0.9259, allocations: 10.46 MB / 0.6026 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/0.9259, allocations: 2.75 kB / 0.6026 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002223/0.9281, allocations: 385 kB / 0.603 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009969/0.9381, allocations: 2.479 MB / 0.6054 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008811/0.939, allocations: 45.02 kB / 0.6055 GB, free: 121.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01509/0.9541, allocations: 6.101 MB / 0.6114 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.9541, allocations: 3.938 kB / 0.6114 GB, free: 119.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01604/0.9701, allocations: 5.79 MB / 0.6171 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/0.9713, allocations: 383.4 kB / 0.6174 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001079/0.9724, allocations: 43.5 kB / 0.6175 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/0.9754, allocations: 240.8 kB / 0.6177 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008309/0.9762, allocations: 170.9 kB / 0.6179 GB, free: 119 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003799/0.9766, allocations: 65.69 kB / 0.6179 GB, free: 119 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004157/0.9808, allocations: 1.919 MB / 0.6198 GB, free: 118.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9808, allocations: 0 / 0.6198 GB, free: 118.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00687/0.9876, allocations: 1.487 MB / 0.6213 GB, free: 118.8 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.0008474/0.9885, allocations: 194.3 kB / 0.6214 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009898/0.9984, allocations: 4.799 MB / 0.6261 GB, free: 118 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.9984, allocations: 1 kB / 0.6261 GB, free: 118 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004364/1.003, allocations: 1.872 MB / 0.628 GB, free: 117.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003803/1.007, allocations: 454.4 kB / 0.6284 GB, free: 117.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02051/1.027, allocations: 9.473 MB / 0.6376 GB, free: 113.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006035/1.033, allocations: 2.852 MB / 0.6404 GB, free: 112.4 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005226/1.038, allocations: 1.79 MB / 0.6422 GB, free: 112.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/1.04, allocations: 269.8 kB / 0.6424 GB, free: 112.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.954e-06/1.04, allocations: 0 / 0.6424 GB, free: 112.3 MB / 458.7 MB Notification: Performance of Templates: time 0.08439/1.124, allocations: 56.82 MB / 0.6979 GB, free: 63.01 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.117900532088242]