Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009603/0.0009603, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001087/0.001087, allocations: 162.5 kB / 25.61 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9457/0.9457, allocations: 177 MB / 205.9 MB, free: 4.426 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1388/0.1388, allocations: 34.87 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.JointUPS") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.63e-05/1.737e-05, allocations: 4 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.005047/0.005065, allocations: 7.683 MB / 387.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003295/0.008359, allocations: 2.55 MB / 390.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004574/0.008817, allocations: 43.88 kB / 390.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.01024, allocations: 1.363 MB / 391.7 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006207/0.01086, allocations: 0.4893 MB / 392.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.01139, allocations: 454.9 kB / 392.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005825/0.01198, allocations: 1.063 MB / 393.7 MB, free: 9.051 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000596/0.01257, allocations: 1.023 MB / 394.7 MB, free: 7.996 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005829/0.01315, allocations: 0.8301 MB / 395.5 MB, free: 7.164 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000549/0.0137, allocations: 0.713 MB / 396.2 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.082e-05/0.01379, allocations: 112 kB / 396.3 MB, free: 6.34 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000448/0.01424, allocations: 0.5731 MB / 396.9 MB, free: 5.766 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.01455, allocations: 0.744 MB / 397.6 MB, free: 5.02 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.01479, allocations: 466.4 kB / 398.1 MB, free: 4.562 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009365/0.01572, allocations: 1.685 MB / 399.8 MB, free: 2.871 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.01572, allocations: 0 / 399.8 MB, free: 2.871 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01573, allocations: 3.938 kB / 399.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.01574, allocations: 0 / 399.8 MB, free: 2.867 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.001777/0.01751, allocations: 2.115 MB / 401.9 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.01755, allocations: 12.03 kB / 401.9 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004423/0.01799, allocations: 347.5 kB / 402.3 MB, free: 360 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005822/0.01857, allocations: 0.6554 MB / 402.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/0.01862, allocations: 90.7 kB / 403 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.01878, allocations: 132.5 kB / 403.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.02137, allocations: 2.276 MB / 405.4 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.02139, allocations: 7.938 kB / 405.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-05/0.02148, allocations: 59.94 kB / 405.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005448/0.02202, allocations: 0.6936 MB / 406.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.02411, allocations: 1.143 MB / 407.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008561/0.03267, allocations: 14.49 MB / 421.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.03463, allocations: 0.8509 MB / 422.7 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.03485, allocations: 221 kB / 422.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001985/0.03683, allocations: 1.935 MB / 424.8 MB, free: 8.941 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.03686, allocations: 45.7 kB / 424.8 MB, free: 8.887 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 1.923e-06/0.03686, allocations: 0 / 424.8 MB, free: 8.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.003251/0.04011, allocations: 1.422 MB / 426.3 MB, free: 7.461 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.04014, allocations: 59.34 kB / 426.3 MB, free: 7.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009981/0.04114, allocations: 1.327 MB / 427.7 MB, free: 6.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.04116, allocations: 29.7 kB / 427.7 MB, free: 6.016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000664/0.04183, allocations: 1.334 MB / 429 MB, free: 4.664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.04193, allocations: 182.7 kB / 429.2 MB, free: 4.484 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003275/0.04225, allocations: 473 kB / 429.7 MB, free: 4.012 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.04239, allocations: 0.5159 MB / 430.2 MB, free: 3.488 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.04256, allocations: 156 kB / 430.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.04379, allocations: 2.238 MB / 432.6 MB, free: 116 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.0455, allocations: 2.688 MB / 435.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/0.04551, allocations: 20 kB / 435.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.00155/0.04706, allocations: 1.686 MB / 437 MB, free: 10.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.0471, allocations: 28 kB / 437 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/0.04713, allocations: 52 kB / 437 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.125e-05/0.04717, allocations: 67.98 kB / 437.1 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007962/0.04797, allocations: 487.1 kB / 437.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.061e-05/0.04802, allocations: 99.58 kB / 437.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006576/0.04867, allocations: 289.8 kB / 438 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/0.04875, allocations: 116 kB / 438.1 MB, free: 9.621 MB / 362.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.0003482/0.0491, allocations: 367.5 kB / 438.4 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.145e-05/0.04919, allocations: 127.2 kB / 438.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.0493, allocations: 111.1 kB / 438.7 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.0493, allocations: 4 kB / 438.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.04931, allocations: 0 / 438.7 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.04931, allocations: 7.922 kB / 438.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.05114, allocations: 2.284 MB / 441 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.05115, allocations: 16.03 kB / 441 MB, free: 6.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.0513, allocations: 95.83 kB / 441.1 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.05131, allocations: 16 kB / 441.1 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.05133, allocations: 24 kB / 441.1 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.299e-05/0.05134, allocations: 27.86 kB / 441.1 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.05135, allocations: 15.94 kB / 441.1 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005161/0.05186, allocations: 0.8461 MB / 442 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/0.05196, allocations: 127.1 kB / 442.1 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.215e-05/0.05202, allocations: 27.98 kB / 442.1 MB, free: 5.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.05221, allocations: 16 kB / 442.2 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.181e-05/0.05226, allocations: 75.62 kB / 442.2 MB, free: 4.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.05227, allocations: 24 kB / 442.3 MB, free: 4.902 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003801/0.05265, allocations: 0.5807 MB / 442.8 MB, free: 4.316 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.05266, allocations: 0 / 442.8 MB, free: 4.316 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009954/0.05365, allocations: 422.8 kB / 443.3 MB, free: 3.902 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.000146/0.0538, allocations: 134.9 kB / 443.4 MB, free: 3.762 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008964/0.05469, allocations: 0.8481 MB / 444.2 MB, free: 2.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.0547, allocations: 4 kB / 444.2 MB, free: 2.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.05483, allocations: 167.8 kB / 444.4 MB, free: 2.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005609/0.05539, allocations: 187.4 kB / 444.6 MB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00289/0.05828, allocations: 2.904 MB / 447.5 MB, free: 15.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.05861, allocations: 443.3 kB / 447.9 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.05899, allocations: 183.2 kB / 448.1 MB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.05921, allocations: 250.2 kB / 448.3 MB, free: 14.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.05921, allocations: 0 / 448.3 MB, free: 14.52 MB / 378.7 MB Notification: Performance of Templates: time 0.01499/0.0742, allocations: 9.109 MB / 457.5 MB, free: 5.605 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.5360540552064776]