Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001055/0.001055, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001176/0.001176, allocations: 161 kB / 24.56 MB, free: 16 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.048/1.048, allocations: 177.1 MB / 205 MB, free: 5.652 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.2693/0.2693, allocations: 32.8 MB / 294.3 MB, free: 1.289 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.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.0.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.0.0_ModelicaTest.MultiBody.Joints.JointUPS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 376 MB, free: 4.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.357e-05, allocations: 2.312 kB / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.01001/0.01005, allocations: 7.868 MB / 383.9 MB, free: 12.78 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005964/0.01601, allocations: 2.591 MB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.01773, allocations: 39.88 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003045/0.02077, allocations: 1.382 MB / 387.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.02222, allocations: 493.1 kB / 388.4 MB, free: 8.266 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.02348, allocations: 458.8 kB / 388.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.02477, allocations: 1.063 MB / 389.9 MB, free: 6.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008783/0.02565, allocations: 1.019 MB / 390.9 MB, free: 5.707 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006395/0.02629, allocations: 0.7599 MB / 391.7 MB, free: 4.945 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007835/0.02707, allocations: 0.7325 MB / 392.4 MB, free: 4.211 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.0272, allocations: 116 kB / 392.5 MB, free: 4.098 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006393/0.02784, allocations: 0.5926 MB / 393.1 MB, free: 3.504 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000486/0.02833, allocations: 0.7596 MB / 393.9 MB, free: 2.742 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003315/0.02866, allocations: 466.5 kB / 394.3 MB, free: 2.285 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.0301, allocations: 1.716 MB / 396 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.0301, allocations: 0 / 396 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.03011, allocations: 3.938 kB / 396.1 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.376e-05/0.03013, allocations: 0 / 396.1 MB, free: 0.5586 MB / 362.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.002518/0.03265, allocations: 2.244 MB / 398.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.03269, allocations: 8.031 kB / 398.3 MB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006397/0.03333, allocations: 383.4 kB / 398.7 MB, free: 13.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008628/0.03419, allocations: 0.7332 MB / 399.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/0.03424, allocations: 90.7 kB / 399.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.03441, allocations: 124.4 kB / 399.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003247/0.03765, allocations: 2.776 MB / 402.4 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.03768, allocations: 11.88 kB / 402.4 MB, free: 9.777 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.634e-05/0.03777, allocations: 51.95 kB / 402.5 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005956/0.03836, allocations: 0.7249 MB / 403.2 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/0.04118, allocations: 1.667 MB / 404.9 MB, free: 7.324 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008719/0.0499, allocations: 14.73 MB / 419.6 MB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.05203, allocations: 0.8597 MB / 420.4 MB, free: 7.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003251/0.05235, allocations: 269.1 kB / 420.7 MB, free: 7.02 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002399/0.05475, allocations: 2.153 MB / 422.9 MB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.05479, allocations: 41.33 kB / 422.9 MB, free: 4.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 1.553e-06/0.05479, allocations: 4 kB / 422.9 MB, free: 4.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=43): time 0.003415/0.0582, allocations: 1.538 MB / 424.4 MB, free: 3.242 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.05823, allocations: 55.41 kB / 424.5 MB, free: 3.176 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.05923, allocations: 1.295 MB / 425.8 MB, free: 1.867 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.05926, allocations: 29.7 kB / 425.8 MB, free: 1.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005975/0.05986, allocations: 1.295 MB / 427.1 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.05997, allocations: 198.7 kB / 427.3 MB, free: 332 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003481/0.06032, allocations: 465.3 kB / 427.8 MB, free: 15.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.06045, allocations: 0.5081 MB / 428.3 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/0.06076, allocations: 216.1 kB / 428.5 MB, free: 15.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.06196, allocations: 2.241 MB / 430.7 MB, free: 11.92 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/0.06378, allocations: 2.697 MB / 433.4 MB, free: 8.273 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-05/0.0638, allocations: 20 kB / 433.4 MB, free: 8.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.001886/0.06568, allocations: 1.803 MB / 435.2 MB, free: 6.445 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.06572, allocations: 28.22 kB / 435.3 MB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.553e-05/0.06576, allocations: 59.92 kB / 435.3 MB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.211e-05/0.06581, allocations: 64 kB / 435.4 MB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007562/0.06657, allocations: 487.1 kB / 435.9 MB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.749e-05/0.06662, allocations: 99.58 kB / 436 MB, free: 5.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/0.06731, allocations: 297.9 kB / 436.3 MB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.755e-05/0.06741, allocations: 131.9 kB / 436.4 MB, free: 5.301 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 225 * 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.0003147/0.06773, allocations: 363.3 kB / 436.7 MB, free: 4.934 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.716e-05/0.06782, allocations: 123.2 kB / 436.9 MB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001104/0.06793, allocations: 119.3 kB / 437 MB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.06794, allocations: 4 kB / 437 MB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.06795, allocations: 4 kB / 437 MB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.06795, allocations: 3.984 kB / 437 MB, free: 4.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.06986, allocations: 2.018 MB / 439 MB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.06986, allocations: 11.94 kB / 439 MB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.07005, allocations: 103.8 kB / 439.1 MB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.07006, allocations: 15.94 kB / 439.1 MB, free: 2.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.07008, allocations: 20 kB / 439.2 MB, free: 2.305 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.07009, allocations: 19.92 kB / 439.2 MB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.517e-06/0.0701, allocations: 15.94 kB / 439.2 MB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006104/0.07071, allocations: 0.8859 MB / 440.1 MB, free: 1.195 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.07082, allocations: 127 kB / 440.2 MB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.07088, allocations: 24 kB / 440.2 MB, free: 1.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.07109, allocations: 23.98 kB / 440.2 MB, free: 1.023 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.622e-05/0.07115, allocations: 63.69 kB / 440.3 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.07117, allocations: 32 kB / 440.3 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005265/0.0717, allocations: 0.5958 MB / 440.9 MB, free: 336 kB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.0717, allocations: 3.938 kB / 440.9 MB, free: 332 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009851/0.07269, allocations: 430.8 kB / 441.4 MB, free: 15.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (55): * Single equations (assignments): 55 * 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.0001486/0.07283, allocations: 127.1 kB / 441.5 MB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008913/0.07372, allocations: 0.9032 MB / 442.4 MB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.07373, allocations: 0 / 442.4 MB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.07389, allocations: 177.4 kB / 442.6 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005915/0.07448, allocations: 162 kB / 442.7 MB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/0.07718, allocations: 2.837 MB / 445.6 MB, free: 11.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.07751, allocations: 454.9 kB / 446 MB, free: 11.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006828/0.07819, allocations: 0.4907 MB / 446.5 MB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.07832, allocations: 84.5 kB / 446.6 MB, free: 10.44 MB / 426.7 MB Notification: Performance of SimCode: time 6.91e-07/0.07832, allocations: 0 / 446.6 MB, free: 10.44 MB / 426.7 MB Notification: Performance of Templates: time 0.01324/0.09156, allocations: 8.691 MB / 455.3 MB, free: 1.918 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7700075870379806]