Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.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.001174/0.001174, allocations: 80.8 kB / 21.5 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.001371/0.001371, allocations: 174.3 kB / 24.91 MB, free: 8.77 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 1.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.125 MB / 186.7 MB " [Timeout remaining time 179] 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.2719/0.2719, allocations: 34.27 MB / 296.1 MB, free: 0.6875 MB / 266.7 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.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rRod1_ia.[0-9,]+.|rRod2_ib.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.|jointUPS.frame_b.r_0.[0-9,]+.|jointUPS.frame_b.f.[0-9,]+.|jointUPS.frame_b.t.[0-9,]+.|jointUPS.frame_ia.r_0.[0-9,]+.|jointUPS.frame_ia.f.[0-9,]+.|jointUPS.frame_ia.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rRod1_ia.[0-9,]+.|rRod2_ib.[0-9,]+.|Fixed1.frame_b.r_0.[0-9,]+.|Fixed1.frame_b.f.[0-9,]+.|Fixed1.frame_b.t.[0-9,]+.|jointUPS.frame_b.r_0.[0-9,]+.|jointUPS.frame_b.f.[0-9,]+.|jointUPS.frame_b.t.[0-9,]+.|jointUPS.frame_ia.r_0.[0-9,]+.|jointUPS.frame_ia.f.[0-9,]+.|jointUPS.frame_ia.t.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.644e-06/1.644e-06, allocations: 0 / 325.3 MB, free: 7.734 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.989e-05/3.153e-05, allocations: 3.156 kB / 325.3 MB, free: 7.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.008867/0.008899, allocations: 7.69 MB / 332.9 MB, free: 0 / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004388/0.01329, allocations: 2.662 MB / 335.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003323/0.01362, allocations: 43.88 kB / 335.6 MB, free: 13.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.01508, allocations: 1.374 MB / 337 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.01563, allocations: 489.1 kB / 337.5 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.0161, allocations: 466.7 kB / 338 MB, free: 10.97 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006649/0.01676, allocations: 1.056 MB / 339 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000706/0.01747, allocations: 1.066 MB / 340.1 MB, free: 8.805 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006105/0.01808, allocations: 0.8185 MB / 340.9 MB, free: 7.984 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005827/0.01866, allocations: 0.6817 MB / 341.6 MB, free: 7.301 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.01876, allocations: 112 kB / 341.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004956/0.01926, allocations: 0.5731 MB / 342.3 MB, free: 6.617 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004128/0.01967, allocations: 0.744 MB / 343 MB, free: 5.871 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.01998, allocations: 458.5 kB / 343.5 MB, free: 5.422 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.02112, allocations: 1.697 MB / 345.2 MB, free: 3.719 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.02112, allocations: 0 / 345.2 MB, free: 3.719 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.02112, allocations: 4 kB / 345.2 MB, free: 3.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.02113, allocations: 0 / 345.2 MB, free: 3.715 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.002494/0.02363, allocations: 1.836 MB / 347 MB, free: 1.844 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.02367, allocations: 8.031 kB / 347 MB, free: 1.836 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007374/0.02441, allocations: 256.7 kB / 347.2 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009542/0.02536, allocations: 0.611 MB / 347.9 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.394e-05/0.02545, allocations: 90.7 kB / 347.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.0257, allocations: 124.5 kB / 348.1 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003281/0.02898, allocations: 2.041 MB / 350.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.02901, allocations: 15.88 kB / 350.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.02914, allocations: 55.95 kB / 350.2 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008507/0.02999, allocations: 0.6936 MB / 350.9 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/0.0326, allocations: 1.062 MB / 351.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009181/0.04178, allocations: 10.69 MB / 362.6 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/0.04362, allocations: 0.8786 MB / 363.5 MB, free: 0.668 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.0438, allocations: 174.3 kB / 363.7 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/0.04562, allocations: 1.758 MB / 365.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.04564, allocations: 38.89 kB / 365.5 MB, free: 14.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.643e-06/0.04565, allocations: 0 / 365.5 MB, free: 14.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.002772/0.04842, allocations: 1.273 MB / 366.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.04845, allocations: 55.41 kB / 366.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/0.0491, allocations: 1.105 MB / 367.9 MB, free: 12.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.04912, allocations: 33.7 kB / 367.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005035/0.04963, allocations: 1.183 MB / 369.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/0.04971, allocations: 178.8 kB / 369.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002657/0.04997, allocations: 423.2 kB / 369.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.122e-05/0.05007, allocations: 337.9 kB / 370 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.05025, allocations: 199.1 kB / 370.2 MB, free: 9.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000855/0.05111, allocations: 1.577 MB / 371.8 MB, free: 7.539 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.05227, allocations: 2.055 MB / 373.9 MB, free: 4.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.05228, allocations: 12 kB / 373.9 MB, free: 4.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.001256/0.05354, allocations: 1.439 MB / 375.3 MB, free: 3.312 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.05357, allocations: 28 kB / 375.3 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.01e-05/0.0536, allocations: 48 kB / 375.4 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.462e-05/0.05364, allocations: 68 kB / 375.5 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006734/0.05431, allocations: 491 kB / 375.9 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.877e-05/0.05436, allocations: 99.64 kB / 376 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005735/0.05494, allocations: 289.8 kB / 376.3 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.14e-05/0.05502, allocations: 116 kB / 376.4 MB, free: 2.195 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 39 (rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 269 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002984/0.05532, allocations: 319.6 kB / 376.7 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.05539, allocations: 71.92 kB / 376.8 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.05549, allocations: 115.1 kB / 376.9 MB, free: 1.684 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.05549, allocations: 7.938 kB / 376.9 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.0555, allocations: 4 kB / 376.9 MB, free: 1.672 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.0555, allocations: 3.938 kB / 376.9 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/0.05712, allocations: 1.948 MB / 378.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/0.05713, allocations: 12 kB / 378.9 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.05728, allocations: 95.84 kB / 379 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.05729, allocations: 19.94 kB / 379 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.05731, allocations: 20 kB / 379 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-05/0.05732, allocations: 19.92 kB / 379.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/0.05733, allocations: 23.88 kB / 379.1 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.05777, allocations: 0.698 MB / 379.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.009e-05/0.05786, allocations: 131 kB / 379.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.922e-05/0.05791, allocations: 23.98 kB / 379.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.05808, allocations: 20 kB / 379.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.05813, allocations: 71.62 kB / 380 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.05815, allocations: 24 kB / 380 MB, free: 14.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003056/0.05845, allocations: 441.9 kB / 380.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05845, allocations: 0 / 380.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000851/0.0593, allocations: 418.8 kB / 380.9 MB, free: 13.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * 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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001408/0.05945, allocations: 112.1 kB / 381 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006182/0.06006, allocations: 0.806 MB / 381.8 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-05/0.06011, allocations: 33.34 kB / 381.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.06023, allocations: 148 kB / 382 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.06074, allocations: 181.4 kB / 382.1 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.06325, allocations: 2.888 MB / 385 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.06357, allocations: 455.2 kB / 385.5 MB, free: 8.418 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003396/0.06391, allocations: 183.2 kB / 385.7 MB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.06413, allocations: 223.3 kB / 385.9 MB, free: 8.016 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.06413, allocations: 0 / 385.9 MB, free: 8.016 MB / 362.7 MB Notification: Performance of Templates: time 0.0137/0.07783, allocations: 8.927 MB / 394.8 MB, free: 15.23 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS/JointUPS.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: 3.204435328952968]