Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001767/0.001767, allocations: 81.72 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002266/0.002266, allocations: 163.7 kB / 23.95 MB, free: 4.168 MB / 14.72 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.722/1.722, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2233/0.2233, allocations: 34.28 MB / 294.9 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 442.7 MB, free: 5.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.437e-05/2.611e-05, allocations: 9.172 kB / 442.7 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.1948/0.1948, allocations: 10.47 MB / 453.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009182/0.204, allocations: 4.187 MB / 457.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003/0.207, allocations: 82.75 kB / 457.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006775/0.2138, allocations: 2.825 MB / 460.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00717/0.2209, allocations: 2.134 MB / 462.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00302/0.224, allocations: 1.113 MB / 463.5 MB, free: 8.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008786/0.2327, allocations: 6.087 MB / 469.6 MB, free: 6.305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005389/0.2381, allocations: 3.382 MB / 473 MB, free: 4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007249/0.2454, allocations: 2.693 MB / 475.6 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005448/0.2508, allocations: 2.736 MB / 478.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001445/0.2523, allocations: 378 kB / 478.8 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003447/0.2557, allocations: 1.364 MB / 480.1 MB, free: 312 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003574/0.2593, allocations: 2.333 MB / 482.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003922/0.2632, allocations: 1.437 MB / 483.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.2759, allocations: 8.173 MB / 492.1 MB, free: 4.617 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.2759, allocations: 4 kB / 492.1 MB, free: 4.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2759, allocations: 0 / 492.1 MB, free: 4.613 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003298/0.2762, allocations: 4 kB / 492.1 MB, free: 4.609 MB / 382.1 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.2951, allocations: 5.851 MB / 497.9 MB, free: 14.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.2952, allocations: 8.031 kB / 497.9 MB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02059/0.3158, allocations: 2.736 MB / 0.4889 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008468/0.3242, allocations: 3.083 MB / 0.4919 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003415/0.3246, allocations: 250.8 kB / 0.4922 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00186/0.3264, allocations: 356.2 kB / 0.4925 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02549/0.3519, allocations: 12.49 MB / 0.5047 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002692/0.3522, allocations: 51.52 kB / 0.5048 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001442/0.3536, allocations: 167.8 kB / 0.5049 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004776/0.3584, allocations: 2.377 MB / 0.5072 GB, free: 8.305 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0272/0.3856, allocations: 10.83 MB / 0.5178 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07376/0.4594, allocations: 45.65 MB / 0.5624 GB, free: 14.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01818/0.4775, allocations: 5.531 MB / 0.5678 GB, free: 9.023 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005327/0.4829, allocations: 3.01 MB / 0.5707 GB, free: 6.004 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02583/0.5087, allocations: 11.95 MB / 0.5824 GB, free: 10.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.483e-05/0.5088, allocations: 59.81 kB / 0.5825 GB, free: 9.941 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 5.42e-06/0.5088, allocations: 0 / 0.5825 GB, free: 9.941 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.1259/0.6347, allocations: 37.24 MB / 0.6188 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/0.6348, allocations: 205.9 kB / 0.619 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007705/0.6425, allocations: 4.208 MB / 0.6231 GB, free: 200 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009357/0.6435, allocations: 65.7 kB / 0.6232 GB, free: 128 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003389/0.6469, allocations: 3.505 MB / 0.6266 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00185/0.6487, allocations: 1.012 MB / 0.6276 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002453/0.6512, allocations: 1.406 MB / 0.629 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.6513, allocations: 305.1 kB / 0.6293 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005715/0.6571, allocations: 3.293 MB / 0.6325 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2411/0.8981, allocations: 7.25 MB / 0.6396 GB, free: 164 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01315/0.9113, allocations: 11.24 MB / 0.6506 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002035/0.9115, allocations: 38.69 kB / 0.6506 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03046/0.9419, allocations: 13.22 MB / 0.6635 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.9421, allocations: 63.38 kB / 0.6636 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002335/0.9423, allocations: 135.7 kB / 0.6637 GB, free: 152.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/0.9526, allocations: 3.398 MB / 0.667 GB, free: 151.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005657/0.9583, allocations: 1.578 MB / 0.6685 GB, free: 151.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02272/0.981, allocations: 16.92 MB / 0.6851 GB, free: 143.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006914/0.9879, allocations: 0.5041 MB / 0.6856 GB, free: 142.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00195/0.9899, allocations: 409.5 kB / 0.686 GB, free: 142.4 MB / 0.5294 GB 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.006842/0.9967, allocations: 2.349 MB / 0.6882 GB, free: 140.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/0.9981, allocations: 380.9 kB / 0.6886 GB, free: 140.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01554/1.014, allocations: 7.92 MB / 0.6963 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.531e-05/1.014, allocations: 32 kB / 0.6964 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.3e-05/1.014, allocations: 15.94 kB / 0.6964 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.405e-05/1.014, allocations: 11.95 kB / 0.6964 GB, free: 132.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02723/1.041, allocations: 13.97 MB / 0.71 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.345e-05/1.041, allocations: 0 / 0.71 GB, free: 118.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002134/1.043, allocations: 387.4 kB / 0.7104 GB, free: 117.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009182/1.052, allocations: 3.17 MB / 0.7135 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006548/1.053, allocations: 40 kB / 0.7135 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01993/1.073, allocations: 15.53 MB / 0.7287 GB, free: 99.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/1.073, allocations: 0 / 0.7287 GB, free: 99.14 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01971/1.093, allocations: 12.08 MB / 0.7405 GB, free: 87.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.094, allocations: 381.4 kB / 0.7409 GB, free: 86.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001222/1.095, allocations: 47.52 kB / 0.7409 GB, free: 86.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00325/1.098, allocations: 259.5 kB / 0.7412 GB, free: 86.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008598/1.099, allocations: 162.1 kB / 0.7413 GB, free: 86.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003368/1.1, allocations: 64 kB / 0.7414 GB, free: 86.26 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004673/1.104, allocations: 2.47 MB / 0.7438 GB, free: 83.81 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.21e-07/1.104, allocations: 4 kB / 0.7438 GB, free: 83.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008249/1.113, allocations: 1.476 MB / 0.7452 GB, free: 82.34 MB / 0.5294 GB 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.0009382/1.113, allocations: 199.7 kB / 0.7454 GB, free: 82.14 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0123/1.126, allocations: 7.688 MB / 0.7529 GB, free: 74.46 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/1.126, allocations: 0 / 0.7529 GB, free: 74.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005053/1.131, allocations: 3.056 MB / 0.7559 GB, free: 71.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004114/1.135, allocations: 449.2 kB / 0.7563 GB, free: 70.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02205/1.157, allocations: 12 MB / 0.7681 GB, free: 58.96 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005457/1.162, allocations: 3.142 MB / 0.7711 GB, free: 55.79 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005224/1.168, allocations: 2.141 MB / 0.7732 GB, free: 53.64 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/1.169, allocations: 272.4 kB / 0.7735 GB, free: 53.38 MB / 0.5294 GB Notification: Performance of SimCode: time 2.013e-06/1.169, allocations: 0 / 0.7735 GB, free: 53.38 MB / 0.5294 GB Notification: Performance of Templates: time 0.08786/1.257, allocations: 56.01 MB / 0.8282 GB, free: 13.86 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.418540865182877]