Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00124/0.00124, allocations: 80.98 kB / 20.65 MB, free: 3.844 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.001912/0.001912, allocations: 177 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.049/1.049, allocations: 158.6 MB / 185.9 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1413/0.1413, allocations: 32.37 MB / 270.7 MB, free: 14.55 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 348.1 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.305e-05/2.476e-05, allocations: 4.281 kB / 348.1 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.005787/0.005812, allocations: 8.652 MB / 356.8 MB, free: 500 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00339/0.009202, allocations: 2.627 MB / 359.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004166/0.009619, allocations: 43.88 kB / 359.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.01102, allocations: 1.386 MB / 360.8 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006758/0.0117, allocations: 0.6058 MB / 361.5 MB, free: 11.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005453/0.01224, allocations: 454.9 kB / 361.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008471/0.01309, allocations: 1.291 MB / 363.2 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007472/0.01384, allocations: 1.129 MB / 364.3 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000704/0.01454, allocations: 0.9548 MB / 365.3 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006486/0.01519, allocations: 0.7907 MB / 366.1 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.01534, allocations: 124 kB / 366.2 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007238/0.01606, allocations: 0.5771 MB / 366.8 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005431/0.01661, allocations: 0.8491 MB / 367.6 MB, free: 5.617 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003746/0.01698, allocations: 0.5216 MB / 368.1 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.01833, allocations: 1.906 MB / 370 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.01833, allocations: 0 / 370 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.01833, allocations: 0 / 370 MB, free: 3.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.01834, allocations: 3.984 kB / 370 MB, free: 3.176 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.002166/0.02051, allocations: 2.398 MB / 372.4 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.02055, allocations: 8.031 kB / 372.4 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00066/0.02121, allocations: 427.1 kB / 372.9 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006754/0.02189, allocations: 0.7135 MB / 373.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/0.02194, allocations: 107.1 kB / 373.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.0221, allocations: 144.4 kB / 373.8 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002712/0.02481, allocations: 2.578 MB / 376.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.02484, allocations: 11.94 kB / 376.4 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-05/0.02492, allocations: 67.94 kB / 376.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008011/0.02572, allocations: 0.8975 MB / 377.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.02775, allocations: 1.265 MB / 378.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009607/0.03735, allocations: 16.53 MB / 395.2 MB, free: 9.059 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.03937, allocations: 0.9241 MB / 396.1 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003271/0.03969, allocations: 232.6 kB / 396.3 MB, free: 7.855 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002297/0.04199, allocations: 2.444 MB / 398.8 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.04202, allocations: 45.33 kB / 398.8 MB, free: 5.324 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 2.194e-06/0.04202, allocations: 0 / 398.8 MB, free: 5.324 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.00302/0.04504, allocations: 1.449 MB / 400.3 MB, free: 3.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.04511, allocations: 110.8 kB / 400.4 MB, free: 3.734 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001013/0.04612, allocations: 1.419 MB / 401.8 MB, free: 2.277 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.04614, allocations: 29.7 kB / 401.8 MB, free: 2.242 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000837/0.04698, allocations: 1.551 MB / 403.4 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.04708, allocations: 198.7 kB / 403.6 MB, free: 488 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000365/0.04745, allocations: 0.4942 MB / 404 MB, free: 15.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.04758, allocations: 0.5159 MB / 404.6 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.04775, allocations: 168.5 kB / 404.7 MB, free: 15.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.04928, allocations: 2.46 MB / 407.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/0.05098, allocations: 2.932 MB / 410.1 MB, free: 7.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.556e-05/0.05099, allocations: 16 kB / 410.1 MB, free: 7.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001864/0.05286, allocations: 1.842 MB / 412 MB, free: 5.887 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.0529, allocations: 32 kB / 412 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.407e-05/0.05294, allocations: 52 kB / 412.1 MB, free: 5.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.075e-05/0.053, allocations: 76 kB / 412.1 MB, free: 5.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007946/0.0538, allocations: 0.5419 MB / 412.7 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.148e-05/0.05386, allocations: 111.5 kB / 412.8 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007536/0.05461, allocations: 314 kB / 413.1 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.011e-05/0.0547, allocations: 128 kB / 413.2 MB, free: 4.645 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 253 * Number of states: 0 () * Number of discrete variables: 33 (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 (295): * Single equations (assignments): 295 * 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.0004444/0.05515, allocations: 383.2 kB / 413.6 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.05526, allocations: 135.2 kB / 413.7 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.0554, allocations: 124 kB / 413.8 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.05541, allocations: 4 kB / 413.8 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.05541, allocations: 3.938 kB / 413.9 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.05542, allocations: 0 / 413.9 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.05791, allocations: 2.738 MB / 416.6 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.05792, allocations: 12 kB / 416.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000157/0.05808, allocations: 103.8 kB / 416.7 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.445e-05/0.05809, allocations: 16 kB / 416.7 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.05811, allocations: 20 kB / 416.7 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.588e-05/0.05813, allocations: 27.86 kB / 416.8 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.05814, allocations: 15.94 kB / 416.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006777/0.05881, allocations: 0.8634 MB / 417.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.05893, allocations: 135 kB / 417.8 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.05899, allocations: 31.86 kB / 417.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002801/0.05927, allocations: 28 kB / 417.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.05934, allocations: 71.67 kB / 417.9 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.05936, allocations: 24 kB / 417.9 MB, free: 15.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008558/0.06021, allocations: 0.6106 MB / 418.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.06021, allocations: 0 / 418.5 MB, free: 14.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001217/0.06143, allocations: 0.5022 MB / 419 MB, free: 14.26 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (53): * Single equations (assignments): 53 * 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.0002031/0.06163, allocations: 138.9 kB / 419.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000834/0.06247, allocations: 0.9239 MB / 420.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.06247, allocations: 4 kB / 420.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.06261, allocations: 171.7 kB / 420.3 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.06316, allocations: 148.5 kB / 420.4 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.06629, allocations: 3.356 MB / 423.8 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.06669, allocations: 0.517 MB / 424.3 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004007/0.06709, allocations: 200.4 kB / 424.5 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.06732, allocations: 254.2 kB / 424.7 MB, free: 8.262 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.06732, allocations: 0 / 424.7 MB, free: 8.262 MB / 362.7 MB Notification: Performance of Templates: time 0.01565/0.08298, allocations: 8.959 MB / 433.7 MB, free: 15.36 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.3971575088799]