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.001099/0.001099, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.0009773/0.0009773, allocations: 167 kB / 24.84 MB, free: 9.293 MB / 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 0.9341/0.9341, allocations: 158.6 MB / 186.7 MB, free: 2.801 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.1331/0.1331, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.383e-06/1.383e-06, allocations: 0 / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.282e-05, allocations: 2.312 kB / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.005509/0.005522, allocations: 8.655 MB / 357.6 MB, free: 488 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003966/0.009488, allocations: 2.631 MB / 360.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004109/0.009898, allocations: 39.94 kB / 360.2 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.01139, allocations: 1.39 MB / 361.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009153/0.01231, allocations: 0.598 MB / 362.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005204/0.01283, allocations: 454.9 kB / 362.7 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008484/0.01368, allocations: 1.291 MB / 364 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007933/0.01447, allocations: 1.129 MB / 365.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.01555, allocations: 0.9742 MB / 366.1 MB, free: 7.934 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006643/0.01621, allocations: 0.7791 MB / 366.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.01632, allocations: 120 kB / 367 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.01681, allocations: 0.5771 MB / 367.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004448/0.01726, allocations: 0.853 MB / 368.4 MB, free: 5.598 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003419/0.0176, allocations: 0.5177 MB / 368.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.01884, allocations: 1.91 MB / 370.8 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.01884, allocations: 4 kB / 370.8 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.01884, allocations: 4 kB / 370.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.01885, allocations: 0 / 370.8 MB, free: 3.152 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.002536/0.02139, allocations: 2.387 MB / 373.2 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.02142, allocations: 12.03 kB / 373.2 MB, free: 0.707 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006774/0.0221, allocations: 423.1 kB / 373.6 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006439/0.02274, allocations: 0.7213 MB / 374.4 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.501e-05/0.0228, allocations: 111.1 kB / 374.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.02296, allocations: 144.5 kB / 374.6 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.02559, allocations: 2.566 MB / 377.2 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.02562, allocations: 11.88 kB / 377.2 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/0.02571, allocations: 63.94 kB / 377.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000767/0.02648, allocations: 0.9014 MB / 378.2 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.02847, allocations: 1.265 MB / 379.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01043/0.0389, allocations: 16.53 MB / 395.9 MB, free: 9.051 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.04095, allocations: 0.9319 MB / 396.9 MB, free: 8.078 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/0.04118, allocations: 236.5 kB / 397.1 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002248/0.04343, allocations: 2.437 MB / 399.5 MB, free: 5.367 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.04346, allocations: 41.39 kB / 399.6 MB, free: 5.316 MB / 330.7 MB Notification: Performance of pre-optimization done (n=41): time 1.773e-06/0.04346, allocations: 0 / 399.6 MB, free: 5.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=41): time 0.006113/0.04957, allocations: 1.453 MB / 401 MB, free: 3.855 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.04962, allocations: 114.7 kB / 401.2 MB, free: 3.719 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008762/0.0505, allocations: 1.411 MB / 402.6 MB, free: 2.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.05052, allocations: 33.7 kB / 402.6 MB, free: 2.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006269/0.05114, allocations: 1.547 MB / 404.1 MB, free: 0.6641 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.451e-05/0.05124, allocations: 194.7 kB / 404.3 MB, free: 484 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/0.05157, allocations: 0.4981 MB / 404.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.05168, allocations: 0.5122 MB / 405.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.05185, allocations: 172.5 kB / 405.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.05286, allocations: 2.46 MB / 408 MB, free: 11.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.05435, allocations: 2.936 MB / 410.9 MB, free: 7.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.571e-05/0.05436, allocations: 16 kB / 410.9 MB, free: 7.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.001679/0.05604, allocations: 1.85 MB / 412.8 MB, free: 5.867 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.05607, allocations: 28 kB / 412.8 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-05/0.05611, allocations: 56 kB / 412.9 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.445e-05/0.05616, allocations: 76.03 kB / 412.9 MB, free: 5.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/0.05693, allocations: 0.5419 MB / 413.5 MB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.131e-05/0.05698, allocations: 111.5 kB / 413.6 MB, free: 5.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/0.05762, allocations: 313.7 kB / 413.9 MB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-05/0.05771, allocations: 120 kB / 414 MB, free: 4.633 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.0003049/0.05802, allocations: 375.2 kB / 414.4 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.05813, allocations: 139.2 kB / 414.5 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001105/0.05824, allocations: 120 kB / 414.6 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.05824, allocations: 4 kB / 414.6 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.05825, allocations: 7.938 kB / 414.6 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.05825, allocations: 3.984 kB / 414.6 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.06042, allocations: 2.727 MB / 417.4 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.06043, allocations: 15.94 kB / 417.4 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.06058, allocations: 99.84 kB / 417.5 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.687e-06/0.06059, allocations: 16.06 kB / 417.5 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.06061, allocations: 27.98 kB / 417.5 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.027e-06/0.06062, allocations: 19.88 kB / 417.5 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/0.06063, allocations: 23.88 kB / 417.6 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.06113, allocations: 0.8669 MB / 418.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.281e-05/0.06123, allocations: 127 kB / 418.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.886e-05/0.0613, allocations: 35.92 kB / 418.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.06149, allocations: 20 kB / 418.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.06155, allocations: 71.78 kB / 418.7 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.905e-05/0.06156, allocations: 31.98 kB / 418.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000396/0.06196, allocations: 0.6105 MB / 419.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06196, allocations: 0 / 419.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009564/0.06292, allocations: 0.51 MB / 419.8 MB, free: 14.25 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.0001359/0.06305, allocations: 130.9 kB / 420 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007301/0.06378, allocations: 0.9249 MB / 420.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.06379, allocations: 384 / 420.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.06391, allocations: 171.4 kB / 421.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005057/0.06442, allocations: 145.3 kB / 421.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.0672, allocations: 3.352 MB / 424.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.06759, allocations: 0.5248 MB / 425.1 MB, free: 8.703 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003705/0.06796, allocations: 200.4 kB / 425.3 MB, free: 8.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.06819, allocations: 254.2 kB / 425.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.06819, allocations: 0 / 425.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of Templates: time 0.01915/0.08734, allocations: 9.138 MB / 434.7 MB, free: 15.23 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.3273942759260535]