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.002146/0.002146, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002413/0.002413, allocations: 214.7 kB / 23.74 MB, free: 4.656 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.582/1.582, allocations: 230.6 MB / 257.5 MB, free: 8.035 MB / 206.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.2418/0.2418, allocations: 46.93 MB / 360.8 MB, free: 4.379 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002092/0.002092, allocations: 64.14 kB / 0.4966 GB, free: 7.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3853, allocations: 66.03 MB / 0.5611 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01548/0.4008, allocations: 12.04 MB / 0.5729 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01076/0.4115, allocations: 4.436 MB / 0.5772 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.4137, allocations: 79.62 kB / 0.5773 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006001/0.4197, allocations: 2.803 MB / 0.58 GB, free: 1.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006032/0.4257, allocations: 2.062 MB / 0.582 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.4286, allocations: 1.006 MB / 0.583 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009271/0.4378, allocations: 5.377 MB / 0.5883 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00487/0.4427, allocations: 2.888 MB / 0.5911 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003705/0.4464, allocations: 1.768 MB / 0.5928 GB, free: 3.938 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004332/0.4507, allocations: 2.644 MB / 0.5954 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008231/0.4516, allocations: 372 kB / 0.5958 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002722/0.4543, allocations: 1.455 MB / 0.5972 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002335/0.4566, allocations: 2.236 MB / 0.5994 GB, free: 13.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002837/0.4595, allocations: 2.474 MB / 0.6018 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.4705, allocations: 8.05 MB / 0.6096 GB, free: 2.652 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4705, allocations: 0 / 0.6096 GB, free: 2.652 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4705, allocations: 0 / 0.6096 GB, free: 2.652 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002837/0.4708, allocations: 0 / 0.6096 GB, free: 2.652 MB / 446.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.01805/0.4888, allocations: 5.798 MB / 0.6153 GB, free: 12.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.4889, allocations: 8.031 kB / 0.6153 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01699/0.5059, allocations: 2.626 MB / 0.6179 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008554/0.5144, allocations: 3.084 MB / 0.6209 GB, free: 7.012 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/0.5147, allocations: 258.8 kB / 0.6211 GB, free: 6.758 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/0.516, allocations: 347.9 kB / 0.6215 GB, free: 6.418 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02567/0.5416, allocations: 12.37 MB / 0.6335 GB, free: 9.238 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001734/0.5418, allocations: 51.53 kB / 0.6336 GB, free: 9.188 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004949/0.5423, allocations: 163.8 kB / 0.6338 GB, free: 9.027 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004284/0.5466, allocations: 2.381 MB / 0.6361 GB, free: 6.645 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02639/0.573, allocations: 10.84 MB / 0.6467 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07491/0.6479, allocations: 48.55 MB / 0.6941 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01644/0.6643, allocations: 5.359 MB / 0.6993 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004913/0.6692, allocations: 3.009 MB / 0.7022 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02499/0.6942, allocations: 12.4 MB / 0.7144 GB, free: 4.996 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/0.6943, allocations: 51.88 kB / 0.7144 GB, free: 4.938 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 6.913e-06/0.6943, allocations: 0 / 0.7144 GB, free: 4.938 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.384/1.078, allocations: 36.06 MB / 0.7496 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.875e-05/1.078, allocations: 212.8 kB / 0.7498 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004812/1.083, allocations: 4.371 MB / 0.7541 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006754/1.084, allocations: 68.42 kB / 0.7542 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001567/1.085, allocations: 3.511 MB / 0.7576 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007451/1.086, allocations: 1.026 MB / 0.7586 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/1.088, allocations: 1.431 MB / 0.76 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.189e-05/1.088, allocations: 302 kB / 0.7603 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003557/1.091, allocations: 3.293 MB / 0.7635 GB, free: 142.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005059/1.096, allocations: 7.204 MB / 0.7705 GB, free: 133.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/1.107, allocations: 11.24 MB / 0.7815 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.411e-05/1.107, allocations: 40 kB / 0.7815 GB, free: 120.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02269/1.129, allocations: 13.26 MB / 0.7945 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/1.13, allocations: 64 kB / 0.7945 GB, free: 107.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002148/1.13, allocations: 136 kB / 0.7947 GB, free: 107.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009228/1.139, allocations: 3.405 MB / 0.798 GB, free: 103.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005377/1.144, allocations: 1.575 MB / 0.7995 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02176/1.166, allocations: 17.44 MB / 0.8166 GB, free: 84.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005573/1.172, allocations: 431.5 kB / 0.817 GB, free: 84.21 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/1.173, allocations: 415.6 kB / 0.8174 GB, free: 83.81 MB / 0.5606 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 (841): * Single equations (assignments): 837 * 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,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004269/1.177, allocations: 2.35 MB / 0.8197 GB, free: 81.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/1.178, allocations: 425.2 kB / 0.8201 GB, free: 81.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/1.193, allocations: 7.967 MB / 0.8279 GB, free: 73.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.361e-05/1.193, allocations: 28 kB / 0.8279 GB, free: 73.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.095e-05/1.193, allocations: 16 kB / 0.8279 GB, free: 73.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-05/1.193, allocations: 11.95 kB / 0.8279 GB, free: 73 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02529/1.218, allocations: 15.32 MB / 0.8429 GB, free: 57.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.36e-05/1.218, allocations: 0 / 0.8429 GB, free: 57.67 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/1.22, allocations: 387.4 kB / 0.8432 GB, free: 57.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008487/1.229, allocations: 3.169 MB / 0.8463 GB, free: 54.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000273/1.229, allocations: 44 kB / 0.8464 GB, free: 54.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0184/1.248, allocations: 15.71 MB / 0.8617 GB, free: 38.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/1.248, allocations: 4 kB / 0.8617 GB, free: 38.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01927/1.267, allocations: 12.13 MB / 0.8736 GB, free: 26.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.268, allocations: 393 kB / 0.8739 GB, free: 25.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001049/1.269, allocations: 44.47 kB / 0.874 GB, free: 25.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002506/1.271, allocations: 195.8 kB / 0.8742 GB, free: 25.42 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000622/1.272, allocations: 162.1 kB / 0.8743 GB, free: 25.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002702/1.272, allocations: 68 kB / 0.8744 GB, free: 25.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004129/1.276, allocations: 2.729 MB / 0.877 GB, free: 22.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.276, allocations: 3.938 kB / 0.8771 GB, free: 22.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005649/1.282, allocations: 1.348 MB / 0.8784 GB, free: 21.11 MB / 0.5606 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.0005686/1.283, allocations: 186.3 kB / 0.8785 GB, free: 20.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.294, allocations: 7.845 MB / 0.8862 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/1.294, allocations: 0 / 0.8862 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004818/1.299, allocations: 3.063 MB / 0.8892 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/1.303, allocations: 0.4905 MB / 0.8897 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02469/1.328, allocations: 12.13 MB / 0.9015 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008384/1.336, allocations: 3.658 MB / 0.9051 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006786/1.343, allocations: 2.176 MB / 0.9072 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/1.345, allocations: 283.4 kB / 0.9075 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/1.345, allocations: 4 kB / 0.9075 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of Templates: time 0.1298/1.475, allocations: 62.56 MB / 0.9686 GB, free: 8.988 MB / 0.6387 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.98618724802509]