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.001576/0.001576, allocations: 95.2 kB / 20.43 MB, free: 4.145 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.001412/0.001412, allocations: 165 kB / 23.79 MB, free: 0.7773 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.957/0.957, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1481/0.1481, allocations: 32.37 MB / 270.4 MB, free: 14.71 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 2.134e-06/2.134e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.276e-05/3.49e-05, allocations: 10.25 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.006528/0.006563, allocations: 8.866 MB / 356.5 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004462/0.01103, allocations: 2.655 MB / 359.2 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004668/0.01149, allocations: 39.94 kB / 359.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.01321, allocations: 1.409 MB / 360.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008604/0.01407, allocations: 0.5981 MB / 361.2 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005944/0.01467, allocations: 454.9 kB / 361.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009108/0.01558, allocations: 1.291 MB / 363 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009138/0.01649, allocations: 1.129 MB / 364.1 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006741/0.01717, allocations: 0.8923 MB / 365 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008669/0.01803, allocations: 0.8142 MB / 365.8 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.01818, allocations: 128 kB / 365.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006068/0.01878, allocations: 0.5887 MB / 366.5 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005554/0.01934, allocations: 0.8609 MB / 367.4 MB, free: 5.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000377/0.01972, allocations: 0.5255 MB / 367.9 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.02118, allocations: 1.942 MB / 369.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.02118, allocations: 0 / 369.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.02118, allocations: 0 / 369.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.0212, allocations: 0 / 369.9 MB, free: 3.156 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.002596/0.02379, allocations: 2.516 MB / 372.4 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.02383, allocations: 8.031 kB / 372.4 MB, free: 0.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/0.02466, allocations: 483 kB / 372.9 MB, free: 112 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008778/0.02554, allocations: 0.7762 MB / 373.6 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-05/0.02559, allocations: 107.1 kB / 373.7 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.02576, allocations: 148.5 kB / 373.9 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003612/0.02938, allocations: 3.089 MB / 377 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.0294, allocations: 11.88 kB / 377 MB, free: 11.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.02952, allocations: 67.92 kB / 377 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009176/0.03044, allocations: 0.9482 MB / 378 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003168/0.03361, allocations: 1.812 MB / 379.8 MB, free: 8.758 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01304/0.04664, allocations: 16.87 MB / 396.7 MB, free: 7.352 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.04903, allocations: 0.9242 MB / 397.6 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.04941, allocations: 296.5 kB / 397.9 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003923/0.05333, allocations: 2.671 MB / 400.6 MB, free: 3.379 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.05337, allocations: 45.66 kB / 400.6 MB, free: 3.324 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.795e-06/0.05337, allocations: 4 kB / 400.6 MB, free: 3.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.004895/0.05826, allocations: 1.553 MB / 402.2 MB, free: 1.762 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.05832, allocations: 114.9 kB / 402.3 MB, free: 1.625 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.05976, allocations: 1.383 MB / 403.7 MB, free: 240 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.0598, allocations: 37.7 kB / 403.7 MB, free: 196 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008923/0.06069, allocations: 1.52 MB / 405.2 MB, free: 14.65 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.06084, allocations: 202.7 kB / 405.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007859/0.06162, allocations: 498.2 kB / 405.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.06178, allocations: 0.5082 MB / 406.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.06219, allocations: 228.5 kB / 406.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.0638, allocations: 2.458 MB / 409.1 MB, free: 9.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00261/0.06641, allocations: 2.949 MB / 412 MB, free: 5.719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/0.06644, allocations: 12 kB / 412.1 MB, free: 5.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.002688/0.06912, allocations: 1.981 MB / 414 MB, free: 3.719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.06917, allocations: 32 kB / 414.1 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.444e-05/0.06923, allocations: 52 kB / 414.1 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.191e-05/0.06932, allocations: 72.78 kB / 414.2 MB, free: 3.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.07054, allocations: 0.5459 MB / 414.7 MB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.105e-05/0.07061, allocations: 111.5 kB / 414.8 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.07175, allocations: 321.7 kB / 415.2 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.0719, allocations: 144 kB / 415.3 MB, free: 2.453 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * 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.0005285/0.07242, allocations: 367.3 kB / 415.7 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.0726, allocations: 147.1 kB / 415.8 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.07276, allocations: 131.7 kB / 415.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.07277, allocations: 4 kB / 415.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.07277, allocations: 0 / 415.9 MB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.07278, allocations: 7.922 kB / 415.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.07632, allocations: 2.504 MB / 418.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.07633, allocations: 8 kB / 418.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.07658, allocations: 103.8 kB / 418.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.07659, allocations: 12 kB / 418.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/0.07662, allocations: 24 kB / 418.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/0.07664, allocations: 15.94 kB / 418.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/0.07665, allocations: 15.94 kB / 418.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007694/0.07742, allocations: 0.9519 MB / 419.6 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.07756, allocations: 127 kB / 419.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.273e-05/0.07765, allocations: 27.98 kB / 419.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003399/0.07799, allocations: 23.94 kB / 419.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.07807, allocations: 71.67 kB / 419.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.0781, allocations: 32 kB / 419.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000699/0.0788, allocations: 0.6374 MB / 420.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0788, allocations: 0 / 420.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001698/0.0805, allocations: 0.51 MB / 421 MB, free: 12.29 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (56): * Single equations (assignments): 56 * 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.0001883/0.08069, allocations: 127.1 kB / 421.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.08203, allocations: 0.9872 MB / 422.1 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.325e-06/0.08204, allocations: 4 kB / 422.1 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.08226, allocations: 174.9 kB / 422.3 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007907/0.08305, allocations: 141.2 kB / 422.4 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004677/0.08772, allocations: 3.321 MB / 425.7 MB, free: 7.301 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.08826, allocations: 0.5209 MB / 426.3 MB, free: 6.754 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001033/0.08929, allocations: 0.5268 MB / 426.8 MB, free: 6.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.08946, allocations: 84.5 kB / 426.9 MB, free: 6.141 MB / 362.7 MB Notification: Performance of SimCode: time 1.483e-06/0.08946, allocations: 0 / 426.9 MB, free: 6.141 MB / 362.7 MB Notification: Performance of Templates: time 0.02051/0.11, allocations: 8.723 MB / 435.6 MB, free: 13.54 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.68669111141935]