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.001269/0.001269, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00171/0.002978, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001073/0.001073, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001443/0.002516, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.008/1.008, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08842/1.097, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.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.2628/0.2628, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02444/0.2873, allocations: 13.23 MB / 292.8 MB, free: 6.395 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 8.42e-07/8.42e-07, allocations: 0 / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.209e-05, allocations: 3.578 kB / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.007364/0.007376, allocations: 7.789 MB / 301.9 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003755/0.01113, allocations: 2.684 MB / 304.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003783/0.01151, allocations: 35.94 kB / 304.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.01306, allocations: 1.312 MB / 305.9 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006695/0.01373, allocations: 485.1 kB / 306.4 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000585/0.01431, allocations: 418.9 kB / 306.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008995/0.01521, allocations: 1.063 MB / 307.9 MB, free: 7.262 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008808/0.01609, allocations: 0.9923 MB / 308.9 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008589/0.01695, allocations: 0.8878 MB / 309.8 MB, free: 5.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007911/0.01774, allocations: 0.674 MB / 310.4 MB, free: 4.672 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001437/0.01789, allocations: 112 kB / 310.5 MB, free: 4.562 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006941/0.01858, allocations: 0.581 MB / 311.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005402/0.01912, allocations: 0.6623 MB / 311.8 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.01948, allocations: 374.8 kB / 312.2 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.02095, allocations: 1.557 MB / 313.7 MB, free: 1.387 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.02095, allocations: 4 kB / 313.7 MB, free: 1.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.02096, allocations: 0 / 313.7 MB, free: 1.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.196e-05/0.02098, allocations: 3.938 kB / 313.7 MB, free: 1.379 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.002563/0.02354, allocations: 2.231 MB / 315.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.02357, allocations: 8.922 kB / 316 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006028/0.02417, allocations: 256.7 kB / 316.2 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009456/0.02512, allocations: 0.6033 MB / 316.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/0.02518, allocations: 94.69 kB / 316.9 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001878/0.02537, allocations: 124.5 kB / 317 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.0281, allocations: 2.033 MB / 319.1 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.02814, allocations: 15.88 kB / 319.1 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.02824, allocations: 55.95 kB / 319.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000702/0.02894, allocations: 0.6507 MB / 319.8 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002225/0.03117, allocations: 1.067 MB / 320.8 MB, free: 9.891 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008775/0.03994, allocations: 10.69 MB / 331.5 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.04259, allocations: 0.8656 MB / 332.4 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.04283, allocations: 167.5 kB / 332.6 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002283/0.04511, allocations: 1.739 MB / 334.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.04514, allocations: 34.89 kB / 334.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 1.613e-06/0.04514, allocations: 0 / 334.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=40): time 0.003998/0.04913, allocations: 1.23 MB / 335.6 MB, free: 10.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.04916, allocations: 59.41 kB / 335.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008216/0.04998, allocations: 1.106 MB / 336.7 MB, free: 9.586 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.05001, allocations: 33.7 kB / 336.8 MB, free: 9.547 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005503/0.05056, allocations: 1.183 MB / 337.9 MB, free: 8.348 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/0.05091, allocations: 178.8 kB / 338.1 MB, free: 8.172 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003572/0.05126, allocations: 423.2 kB / 338.5 MB, free: 7.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.05136, allocations: 345.8 kB / 338.9 MB, free: 7.406 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.0516, allocations: 199.1 kB / 339.1 MB, free: 7.207 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009378/0.05254, allocations: 1.577 MB / 340.6 MB, free: 4.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.05431, allocations: 2.209 MB / 342.9 MB, free: 1.984 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-05/0.05433, allocations: 16 kB / 342.9 MB, free: 1.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.00185/0.05618, allocations: 1.435 MB / 344.3 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.0562, allocations: 24 kB / 344.3 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.05623, allocations: 55.98 kB / 344.4 MB, free: 460 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.596e-05/0.05629, allocations: 68 kB / 344.4 MB, free: 392 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.05731, allocations: 0.5225 MB / 345 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.266e-05/0.05738, allocations: 95.64 kB / 345.1 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009051/0.05828, allocations: 298.2 kB / 345.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.05839, allocations: 116 kB / 345.5 MB, free: 15.36 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.0003425/0.05873, allocations: 319.4 kB / 345.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.961e-05/0.05882, allocations: 67.92 kB / 345.8 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.05895, allocations: 115.1 kB / 346 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.05896, allocations: 4 kB / 346 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.05896, allocations: 4 kB / 346 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.05897, allocations: 3.984 kB / 346 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.06088, allocations: 1.956 MB / 347.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.06089, allocations: 12 kB / 347.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.06112, allocations: 107.8 kB / 348 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.06124, allocations: 123.1 kB / 348.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.06125, allocations: 16 kB / 348.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.06128, allocations: 20 kB / 348.2 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/0.06129, allocations: 19.94 kB / 348.2 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/0.0613, allocations: 19.88 kB / 348.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.06181, allocations: 0.6866 MB / 348.9 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.799e-05/0.06187, allocations: 27.98 kB / 349 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.06204, allocations: 20 kB / 349 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.173e-05/0.06209, allocations: 83.55 kB / 349.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.06211, allocations: 24 kB / 349.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002989/0.06241, allocations: 430 kB / 349.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06241, allocations: 0 / 349.5 MB, free: 10.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000811/0.06322, allocations: 422.8 kB / 349.9 MB, free: 10.44 MB / 346.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.000128/0.06335, allocations: 116.1 kB / 350 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009335/0.06428, allocations: 0.8529 MB / 350.9 MB, free: 9.473 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.952e-05/0.06433, allocations: 36.61 kB / 350.9 MB, free: 9.438 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003432/0.06467, allocations: 410.9 kB / 351.3 MB, free: 9.012 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007514/0.06542, allocations: 0.9643 MB / 352.3 MB, free: 7.914 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.06859, allocations: 2.943 MB / 355.2 MB, free: 4.75 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.06891, allocations: 447.3 kB / 355.7 MB, free: 4.289 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003286/0.06924, allocations: 179.3 kB / 355.8 MB, free: 4.109 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.06945, allocations: 219.3 kB / 356 MB, free: 3.895 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.06945, allocations: 0 / 356 MB, free: 3.895 MB / 346.7 MB Notification: Performance of Templates: time 0.01346/0.08291, allocations: 7.157 MB / 363.2 MB, free: 12.81 MB / 362.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1772893611341715]