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.0008518/0.0008518, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003795/0.003795, allocations: 162 kB / 24.7 MB, free: 9.43 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.8835/0.8835, allocations: 177.1 MB / 205 MB, free: 5.734 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.2494/0.2494, allocations: 32.8 MB / 294.2 MB, free: 1.203 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.803e-06/1.803e-06, allocations: 0 / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.326e-05, allocations: 2.281 kB / 440.9 MB, free: 3.727 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.2018/0.2019, allocations: 10.46 MB / 451.3 MB, free: 41 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00698/0.2089, allocations: 4.18 MB / 455.5 MB, free: 38.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002583/0.2114, allocations: 89.16 kB / 455.6 MB, free: 38.46 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003585/0.215, allocations: 2.82 MB / 458.4 MB, free: 37.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004675/0.2197, allocations: 2.139 MB / 460.5 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001739/0.2214, allocations: 1.104 MB / 461.6 MB, free: 35.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.005115/0.2266, allocations: 6.092 MB / 467.7 MB, free: 33.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003342/0.2299, allocations: 3.377 MB / 471.1 MB, free: 32.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003986/0.2339, allocations: 2.689 MB / 473.8 MB, free: 30.96 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003575/0.2375, allocations: 2.746 MB / 476.6 MB, free: 30.25 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009418/0.2384, allocations: 377.3 kB / 476.9 MB, free: 30.25 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002117/0.2405, allocations: 1.366 MB / 478.3 MB, free: 30 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001723/0.2422, allocations: 2.329 MB / 480.6 MB, free: 29.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002395/0.2446, allocations: 1.44 MB / 482.1 MB, free: 28.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01032/0.255, allocations: 8.166 MB / 490.2 MB, free: 25.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.255, allocations: 4 kB / 490.2 MB, free: 25.49 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.255, allocations: 1.188 kB / 490.2 MB, free: 25.49 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003016/0.2553, allocations: 0 / 490.2 MB, free: 25.49 MB / 410.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.01727/0.2725, allocations: 5.861 MB / 496.1 MB, free: 22.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.2726, allocations: 9.094 kB / 496.1 MB, free: 22.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009244/0.2818, allocations: 2.692 MB / 498.8 MB, free: 21.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007189/0.289, allocations: 3.083 MB / 0.4901 GB, free: 19.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.2893, allocations: 257.5 kB / 0.4904 GB, free: 19.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001714/0.291, allocations: 351.2 kB / 0.4907 GB, free: 18.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/0.3128, allocations: 12.47 MB / 0.5029 GB, free: 9.492 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001771/0.313, allocations: 55.56 kB / 0.5029 GB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005161/0.3135, allocations: 167.8 kB / 0.5031 GB, free: 9.273 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002134/0.3157, allocations: 2.381 MB / 0.5054 GB, free: 6.887 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.3315, allocations: 10.81 MB / 0.516 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05061/0.3821, allocations: 45.64 MB / 0.5605 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/0.3926, allocations: 5.53 MB / 0.5659 GB, free: 7.68 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003634/0.3962, allocations: 3.01 MB / 0.5689 GB, free: 4.66 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01504/0.4113, allocations: 11.96 MB / 0.5805 GB, free: 8.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.4113, allocations: 63.86 kB / 0.5806 GB, free: 8.59 MB / 490.7 MB Notification: Performance of pre-optimization done (n=204): time 5.981e-06/0.4113, allocations: 0 / 0.5806 GB, free: 8.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.06775/0.4791, allocations: 37.23 MB / 0.617 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.4792, allocations: 214 kB / 0.6172 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005839/0.485, allocations: 4.216 MB / 0.6213 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009147/0.4859, allocations: 61.7 kB / 0.6213 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002216/0.4882, allocations: 3.509 MB / 0.6248 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/0.4897, allocations: 1.012 MB / 0.6258 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001848/0.4915, allocations: 1.406 MB / 0.6271 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.425e-05/0.4916, allocations: 305.1 kB / 0.6274 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004115/0.4957, allocations: 3.281 MB / 0.6306 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2256/0.7213, allocations: 7.248 MB / 0.6377 GB, free: 151.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01118/0.7324, allocations: 11.23 MB / 0.6487 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001675/0.7326, allocations: 37.72 kB / 0.6487 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02193/0.7545, allocations: 13.2 MB / 0.6616 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.649e-05/0.7546, allocations: 64.84 kB / 0.6617 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/0.7548, allocations: 140.7 kB / 0.6618 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005923/0.7607, allocations: 3.39 MB / 0.6651 GB, free: 139 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004634/0.7653, allocations: 1.574 MB / 0.6666 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0187/0.784, allocations: 16.92 MB / 0.6832 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005741/0.7898, allocations: 486.4 kB / 0.6836 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00144/0.7912, allocations: 414.1 kB / 0.684 GB, free: 131.5 MB / 0.5261 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.005286/0.7965, allocations: 2.354 MB / 0.6863 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008478/0.7973, allocations: 381.7 kB / 0.6867 GB, free: 130.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009268/0.8066, allocations: 7.917 MB / 0.6944 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/0.8066, allocations: 33.91 kB / 0.6945 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.8067, allocations: 15.58 kB / 0.6945 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.346e-05/0.8067, allocations: 14.95 kB / 0.6945 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01955/0.8262, allocations: 13.96 MB / 0.7081 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.8262, allocations: 0 / 0.7081 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/0.8274, allocations: 387.4 kB / 0.7085 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004687/0.8321, allocations: 3.163 MB / 0.7116 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003318/0.8324, allocations: 51.91 kB / 0.7116 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01317/0.8456, allocations: 15.52 MB / 0.7268 GB, free: 99.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8456, allocations: 0 / 0.7268 GB, free: 99.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/0.8575, allocations: 12.08 MB / 0.7386 GB, free: 87.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/0.8588, allocations: 384.2 kB / 0.7389 GB, free: 87.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004431/0.8593, allocations: 40 kB / 0.739 GB, free: 87.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.8606, allocations: 255.4 kB / 0.7392 GB, free: 87.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004434/0.8611, allocations: 162.2 kB / 0.7394 GB, free: 86.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.8612, allocations: 64 kB / 0.7394 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002869/0.8641, allocations: 2.473 MB / 0.7419 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/0.8641, allocations: 0 / 0.7419 GB, free: 84.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006664/0.8708, allocations: 1.483 MB / 0.7433 GB, free: 82.87 MB / 0.5261 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.0007723/0.8715, allocations: 192.4 kB / 0.7435 GB, free: 82.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009698/0.8812, allocations: 7.684 MB / 0.751 GB, free: 75.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.8812, allocations: 4 kB / 0.751 GB, free: 75.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003332/0.8846, allocations: 3.055 MB / 0.754 GB, free: 71.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.8872, allocations: 447.2 kB / 0.7544 GB, free: 71.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01837/0.9056, allocations: 12.49 MB / 0.7666 GB, free: 59.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003166/0.9087, allocations: 3.122 MB / 0.7697 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001724/0.9105, allocations: 324.4 kB / 0.77 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of SimCode: time 2.475e-06/0.9105, allocations: 0 / 0.77 GB, free: 55.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.3235/1.234, allocations: 93.79 MB / 0.8616 GB, free: 161 MB / 0.5417 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] 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: 9.812290116213262]