Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.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.0009277/0.0009277, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009806/0.0009806, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9585/0.9585, allocations: 177 MB / 204.8 MB, free: 5.574 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.2671/0.2671, allocations: 34.86 MB / 296.3 MB, free: 0.5391 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.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.718e-05/1.837e-05, allocations: 2.875 kB / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.00907/0.009088, allocations: 11.56 MB / 390.3 MB, free: 6.457 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00559/0.01468, allocations: 4.313 MB / 394.6 MB, free: 2.133 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006506/0.01533, allocations: 83.62 kB / 394.7 MB, free: 2.051 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.01822, allocations: 2.959 MB / 397.7 MB, free: 15.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002495/0.02072, allocations: 2.138 MB / 399.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.02198, allocations: 1.123 MB / 401 MB, free: 11.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004034/0.02601, allocations: 6.105 MB / 407.1 MB, free: 5.695 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002378/0.02839, allocations: 3.501 MB / 410.6 MB, free: 2.145 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.03057, allocations: 2.705 MB / 413.3 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002243/0.03281, allocations: 2.786 MB / 416 MB, free: 12.64 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003943/0.0332, allocations: 376 kB / 416.4 MB, free: 12.27 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.03473, allocations: 1.365 MB / 417.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.03609, allocations: 2.349 MB / 420.1 MB, free: 8.551 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.03715, allocations: 1.449 MB / 421.6 MB, free: 7.098 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004006/0.04116, allocations: 5.379 MB / 427 MB, free: 1.699 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.04116, allocations: 0 / 427 MB, free: 1.699 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.04116, allocations: 3.938 kB / 427 MB, free: 1.695 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.672e-05/0.0412, allocations: 0 / 427 MB, free: 1.695 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.00682/0.04802, allocations: 6.243 MB / 433.2 MB, free: 11.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.04806, allocations: 16.03 kB / 433.2 MB, free: 11.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00835/0.05641, allocations: 3.161 MB / 436.4 MB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003471/0.05988, allocations: 2.828 MB / 439.2 MB, free: 5.316 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.06001, allocations: 254.8 kB / 439.5 MB, free: 5.066 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004311/0.06044, allocations: 348.3 kB / 439.8 MB, free: 4.727 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1639/0.2244, allocations: 7.636 MB / 447.4 MB, free: 87.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001493/0.2245, allocations: 52.72 kB / 447.5 MB, free: 87.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003981/0.2249, allocations: 167.6 kB / 447.6 MB, free: 87.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002677/0.2276, allocations: 2.372 MB / 450 MB, free: 87.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/0.2388, allocations: 4.438 MB / 454.5 MB, free: 87.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/0.2705, allocations: 51.23 MB / 0.4938 GB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007069/0.2775, allocations: 3.433 MB / 0.4972 GB, free: 46.14 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.2789, allocations: 1.009 MB / 0.4982 GB, free: 45.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00886/0.2877, allocations: 7.85 MB / 0.5058 GB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.585e-05/0.2878, allocations: 63.38 kB / 0.5059 GB, free: 41.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=204): time 4.518e-06/0.2878, allocations: 0 / 0.5059 GB, free: 41.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.0485/0.3363, allocations: 25.96 MB / 0.5313 GB, free: 24.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.3364, allocations: 217.9 kB / 0.5315 GB, free: 24.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.3393, allocations: 3.688 MB / 0.5351 GB, free: 21.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001398/0.3395, allocations: 65.7 kB / 0.5351 GB, free: 20.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00113/0.3406, allocations: 3.68 MB / 0.5387 GB, free: 17.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005848/0.3412, allocations: 1.061 MB / 0.5398 GB, free: 16.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.3424, allocations: 1.495 MB / 0.5412 GB, free: 14.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.3424, allocations: 480.7 kB / 0.5417 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.3439, allocations: 1.044 MB / 0.5427 GB, free: 13.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002957/0.3468, allocations: 6.888 MB / 0.5494 GB, free: 3.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007103/0.3539, allocations: 8.735 MB / 0.558 GB, free: 8.438 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.872e-05/0.354, allocations: 40 kB / 0.558 GB, free: 8.398 MB / 426.7 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.01252/0.3665, allocations: 8.27 MB / 0.5661 GB, free: 120 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.255e-05/0.3666, allocations: 64 kB / 0.5661 GB, free: 56 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/0.3667, allocations: 136 kB / 0.5663 GB, free: 15.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0057/0.3724, allocations: 2.675 MB / 0.5689 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002731/0.3751, allocations: 1.571 MB / 0.5704 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009431/0.3845, allocations: 6.724 MB / 0.577 GB, free: 4.844 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002842/0.3874, allocations: 499.3 kB / 0.5775 GB, free: 4.355 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004368/0.3878, allocations: 412 kB / 0.5778 GB, free: 3.953 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (839): * Single equations (assignments): 835 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,51,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001418/0.3892, allocations: 0.7065 MB / 0.5785 GB, free: 3.234 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006014/0.3898, allocations: 457.4 kB / 0.579 GB, free: 2.785 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007292/0.3971, allocations: 4.291 MB / 0.5832 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.372e-05/0.3971, allocations: 28 kB / 0.5832 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.3972, allocations: 11.98 kB / 0.5832 GB, free: 14.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.3972, allocations: 11.97 kB / 0.5832 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01444/0.4116, allocations: 9.278 MB / 0.5923 GB, free: 5.164 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/0.4116, allocations: 0 / 0.5923 GB, free: 5.164 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.4127, allocations: 387.4 kB / 0.5926 GB, free: 4.785 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005387/0.4181, allocations: 2.452 MB / 0.595 GB, free: 2.328 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000171/0.4182, allocations: 40 kB / 0.5951 GB, free: 2.289 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008544/0.4268, allocations: 5.795 MB / 0.6007 GB, free: 12.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4268, allocations: 7.938 kB / 0.6007 GB, free: 12.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009218/0.436, allocations: 5.544 MB / 0.6062 GB, free: 6.758 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007937/0.4368, allocations: 377.3 kB / 0.6065 GB, free: 6.387 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002973/0.4371, allocations: 41.64 kB / 0.6066 GB, free: 6.348 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.4383, allocations: 251.6 kB / 0.6068 GB, free: 6.102 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003271/0.4386, allocations: 162.2 kB / 0.607 GB, free: 5.938 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/0.4387, allocations: 64 kB / 0.607 GB, free: 5.875 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001905/0.4406, allocations: 1.607 MB / 0.6086 GB, free: 4.285 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4406, allocations: 4 kB / 0.6086 GB, free: 4.281 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004028/0.4447, allocations: 1.476 MB / 0.61 GB, free: 2.809 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (197): * Single equations (assignments): 193 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000424/0.4451, allocations: 202.3 kB / 0.6102 GB, free: 2.605 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.1516/0.5967, allocations: 4.405 MB / 0.6145 GB, free: 139.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.5967, allocations: 0 / 0.6145 GB, free: 139.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002325/0.599, allocations: 1.748 MB / 0.6162 GB, free: 138.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.6011, allocations: 453.3 kB / 0.6167 GB, free: 138.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.612, allocations: 9.346 MB / 0.6258 GB, free: 135.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/0.6131, allocations: 1.452 MB / 0.6272 GB, free: 135.4 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002362/0.6155, allocations: 1.786 MB / 0.6289 GB, free: 135.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006141/0.6161, allocations: 274.3 kB / 0.6292 GB, free: 135.3 MB / 474.7 MB Notification: Performance of SimCode: time 3.015e-06/0.6161, allocations: 0 / 0.6292 GB, free: 135.3 MB / 474.7 MB Notification: Performance of Templates: time 0.06065/0.6767, allocations: 56.84 MB / 0.6847 GB, free: 106.3 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.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: 4.880835097748786]