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.001027/0.001027, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.001279/0.001279, allocations: 164.5 kB / 24.82 MB, free: 9.281 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 1.017/1.017, allocations: 177 MB / 205.1 MB, free: 5.469 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.2757/0.2757, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 266.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 2.033e-06/2.033e-06, allocations: 0 / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.769e-05/2.973e-05, allocations: 3.297 kB / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.0222/0.02223, allocations: 7.675 MB / 386.9 MB, free: 10.11 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0116/0.03383, allocations: 2.572 MB / 389.5 MB, free: 7.531 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.03567, allocations: 43.88 kB / 389.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002774/0.03844, allocations: 1.351 MB / 390.9 MB, free: 6.133 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001515/0.03995, allocations: 493.1 kB / 391.4 MB, free: 5.648 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008621/0.04082, allocations: 466.8 kB / 391.8 MB, free: 5.191 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001305/0.04212, allocations: 1.062 MB / 392.9 MB, free: 4.129 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.04312, allocations: 1.019 MB / 393.9 MB, free: 3.082 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.04432, allocations: 0.8302 MB / 394.7 MB, free: 2.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008718/0.04519, allocations: 0.7129 MB / 395.4 MB, free: 1.535 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.04537, allocations: 116 kB / 395.6 MB, free: 1.422 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008192/0.04619, allocations: 0.5692 MB / 396.1 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005379/0.04673, allocations: 0.7441 MB / 396.9 MB, free: 108 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004283/0.04716, allocations: 470.5 kB / 397.3 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001628/0.04878, allocations: 1.685 MB / 399 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.04879, allocations: 3.938 kB / 399 MB, free: 13.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.04879, allocations: 0 / 399 MB, free: 13.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.45e-05/0.04882, allocations: 0 / 399 MB, free: 13.95 MB / 378.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.002398/0.05121, allocations: 2.119 MB / 401.1 MB, free: 11.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.05125, allocations: 8.031 kB / 401.1 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005496/0.0518, allocations: 355.4 kB / 401.5 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007258/0.05253, allocations: 0.6477 MB / 402.1 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.05258, allocations: 90.69 kB / 402.2 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.05275, allocations: 124.5 kB / 402.4 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.05561, allocations: 2.28 MB / 404.6 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.05563, allocations: 11.88 kB / 404.6 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/0.05573, allocations: 59.94 kB / 404.7 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006017/0.05633, allocations: 0.6936 MB / 405.4 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002302/0.05863, allocations: 1.143 MB / 406.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/0.06964, allocations: 14.49 MB / 421 MB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/0.07169, allocations: 0.8481 MB / 421.9 MB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.07192, allocations: 213.1 kB / 422.1 MB, free: 6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002175/0.07409, allocations: 1.954 MB / 424 MB, free: 4.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.07412, allocations: 41.72 kB / 424.1 MB, free: 3.969 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.985e-06/0.07413, allocations: 0 / 424.1 MB, free: 3.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.003174/0.0773, allocations: 1.421 MB / 425.5 MB, free: 2.543 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.07733, allocations: 63.34 kB / 425.6 MB, free: 2.469 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.07841, allocations: 1.315 MB / 426.9 MB, free: 1.141 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.07844, allocations: 41.7 kB / 426.9 MB, free: 1.094 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009941/0.07943, allocations: 1.33 MB / 428.2 MB, free: 15.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.07955, allocations: 182.8 kB / 428.4 MB, free: 15.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/0.07991, allocations: 473 kB / 428.9 MB, free: 15.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.08005, allocations: 0.512 MB / 429.4 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.08024, allocations: 152.1 kB / 429.5 MB, free: 14.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/0.0815, allocations: 2.25 MB / 431.8 MB, free: 11.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002131/0.08363, allocations: 2.676 MB / 434.5 MB, free: 7.531 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.889e-05/0.08366, allocations: 12 kB / 434.5 MB, free: 7.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=269) (initialization): time 0.001938/0.08559, allocations: 1.701 MB / 436.2 MB, free: 5.812 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.08563, allocations: 24 kB / 436.2 MB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.909e-05/0.08567, allocations: 56.12 kB / 436.3 MB, free: 5.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.749e-05/0.08573, allocations: 68 kB / 436.3 MB, free: 5.668 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007928/0.08652, allocations: 487 kB / 436.8 MB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.772e-05/0.08658, allocations: 91.66 kB / 436.9 MB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009144/0.08749, allocations: 289.7 kB / 437.2 MB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.292e-05/0.08758, allocations: 112 kB / 437.3 MB, free: 4.711 MB / 410.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.0004797/0.08806, allocations: 359.3 kB / 437.6 MB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.08817, allocations: 131.2 kB / 437.8 MB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001178/0.08828, allocations: 115.1 kB / 437.9 MB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.08829, allocations: 7.984 kB / 437.9 MB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.08829, allocations: 0 / 437.9 MB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.0883, allocations: 3.938 kB / 437.9 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.09077, allocations: 2.287 MB / 440.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.09078, allocations: 12 kB / 440.2 MB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.09095, allocations: 100.7 kB / 440.3 MB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/0.09096, allocations: 16 kB / 440.3 MB, free: 1.414 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.09098, allocations: 27.94 kB / 440.3 MB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-05/0.09099, allocations: 23.92 kB / 440.4 MB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.317e-06/0.091, allocations: 19.88 kB / 440.4 MB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00062/0.09162, allocations: 0.8461 MB / 441.2 MB, free: 264 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.09176, allocations: 127.1 kB / 441.3 MB, free: 136 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/0.09182, allocations: 23.98 kB / 441.4 MB, free: 112 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.09202, allocations: 23.94 kB / 441.4 MB, free: 88 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.09208, allocations: 75.61 kB / 441.5 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.09211, allocations: 32.05 kB / 441.5 MB, free: 15.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004078/0.09252, allocations: 0.5689 MB / 442.1 MB, free: 15.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09252, allocations: 0 / 442.1 MB, free: 15.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001223/0.09374, allocations: 426.8 kB / 442.5 MB, free: 14.99 MB / 426.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.0001662/0.09391, allocations: 134.9 kB / 442.6 MB, free: 14.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000946/0.09485, allocations: 0.8552 MB / 443.5 MB, free: 13.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.09486, allocations: 3.938 kB / 443.5 MB, free: 13.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.09499, allocations: 163.9 kB / 443.6 MB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006029/0.09559, allocations: 169.8 kB / 443.8 MB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00361/0.0992, allocations: 2.9 MB / 446.7 MB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.09957, allocations: 451.3 kB / 447.1 MB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004176/0.09999, allocations: 179.1 kB / 447.3 MB, free: 9.855 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.1002, allocations: 246.2 kB / 447.6 MB, free: 9.613 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1002, allocations: 4 kB / 447.6 MB, free: 9.609 MB / 426.7 MB Notification: Performance of Templates: time 0.01578/0.116, allocations: 8.93 MB / 456.5 MB, free: 0.7773 MB / 426.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.784665572922677]