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.0009616/0.0009616, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001717/0.001717, allocations: 166.9 kB / 24.91 MB, free: 8.211 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.9172/0.9172, allocations: 177 MB / 205.2 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.2875/0.2875, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.282e-06/1.282e-06, allocations: 0 / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.481e-05, allocations: 9.125 kB / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.008758/0.008782, allocations: 11.28 MB / 337.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008161/0.01694, allocations: 4.45 MB / 341.7 MB, free: 7.375 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.01881, allocations: 83.56 kB / 341.7 MB, free: 7.293 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003538/0.02235, allocations: 2.951 MB / 344.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005277/0.02762, allocations: 2.17 MB / 346.9 MB, free: 2.152 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.03001, allocations: 1.119 MB / 348 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007529/0.03753, allocations: 6.106 MB / 354.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004401/0.04194, allocations: 3.58 MB / 357.7 MB, free: 7.27 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00538/0.04732, allocations: 3.286 MB / 360.9 MB, free: 3.977 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003894/0.05121, allocations: 2.603 MB / 363.5 MB, free: 1.367 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000881/0.05209, allocations: 368 kB / 363.9 MB, free: 1.008 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002223/0.05431, allocations: 1.334 MB / 365.2 MB, free: 15.67 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005444/0.05976, allocations: 2.337 MB / 367.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00535/0.06511, allocations: 1.429 MB / 369 MB, free: 11.89 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.07521, allocations: 5.352 MB / 374.4 MB, free: 6.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.07521, allocations: 4 kB / 374.4 MB, free: 6.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.07522, allocations: 0 / 374.4 MB, free: 6.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001638/0.07538, allocations: 0 / 374.4 MB, free: 6.52 MB / 346.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.007041/0.08242, allocations: 5.215 MB / 379.6 MB, free: 1.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.08246, allocations: 12.03 kB / 379.6 MB, free: 1.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003727/0.08619, allocations: 1.226 MB / 380.8 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003163/0.08935, allocations: 2.217 MB / 383 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.0895, allocations: 250.8 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005837/0.09009, allocations: 344.3 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008537/0.09862, allocations: 5.943 MB / 389.6 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001075/0.09873, allocations: 51.56 kB / 389.6 MB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003729/0.0991, allocations: 167.8 kB / 389.8 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001804/0.1009, allocations: 2.085 MB / 391.9 MB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006938/0.1078, allocations: 3.086 MB / 394.9 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03395/0.1418, allocations: 36.96 MB / 431.9 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005642/0.1474, allocations: 2.438 MB / 434.3 MB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008112/0.1483, allocations: 0.5381 MB / 434.9 MB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007536/0.1558, allocations: 5.53 MB / 440.4 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.1558, allocations: 51.5 kB / 440.5 MB, free: 1.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 3.988e-06/0.1558, allocations: 0 / 440.5 MB, free: 1.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.1939/0.3497, allocations: 15.45 MB / 455.9 MB, free: 110.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.3498, allocations: 207.6 kB / 456.1 MB, free: 110.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003312/0.3531, allocations: 3.455 MB / 459.6 MB, free: 107.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002274/0.3533, allocations: 55.27 kB / 459.6 MB, free: 107.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001197/0.3545, allocations: 3.42 MB / 463 MB, free: 105.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007556/0.3553, allocations: 0.8065 MB / 463.8 MB, free: 104.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001405/0.3567, allocations: 1.276 MB / 465.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.425e-05/0.3567, allocations: 311.1 kB / 465.4 MB, free: 103.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/0.3586, allocations: 0.9644 MB / 466.4 MB, free: 102.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002743/0.3613, allocations: 4.971 MB / 471.4 MB, free: 96.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00474/0.3661, allocations: 6.486 MB / 477.8 MB, free: 87.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.024e-05/0.3661, allocations: 40 kB / 477.9 MB, free: 87.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.009924/0.3761, allocations: 5.737 MB / 483.6 MB, free: 82.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.49e-05/0.3761, allocations: 68 kB / 483.7 MB, free: 82.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/0.3762, allocations: 144 kB / 483.8 MB, free: 81.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005421/0.3817, allocations: 1.76 MB / 485.6 MB, free: 80.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003258/0.3849, allocations: 1.478 MB / 487.1 MB, free: 78.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007949/0.3929, allocations: 4.692 MB / 491.8 MB, free: 73.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004471/0.3973, allocations: 287.7 kB / 492 MB, free: 73.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006272/0.398, allocations: 360 kB / 492.4 MB, free: 73.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * 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 (825): * Single equations (assignments): 821 * 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 {(2,41,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001867/0.3998, allocations: 0.6585 MB / 493 MB, free: 72.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007544/0.4006, allocations: 251.7 kB / 493.3 MB, free: 72.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004214/0.4048, allocations: 2.338 MB / 495.6 MB, free: 69.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/0.4048, allocations: 22.77 kB / 495.7 MB, free: 69.92 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.4048, allocations: 12 kB / 495.7 MB, free: 69.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.4048, allocations: 7.969 kB / 495.7 MB, free: 69.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.4152, allocations: 6.558 MB / 0.4905 GB, free: 63.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/0.4152, allocations: 7.984 kB / 0.4905 GB, free: 63.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/0.4158, allocations: 239.6 kB / 0.4907 GB, free: 63.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004108/0.4199, allocations: 1.719 MB / 0.4924 GB, free: 61.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001548/0.4201, allocations: 32 kB / 0.4924 GB, free: 61.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005184/0.4253, allocations: 3.693 MB / 0.496 GB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4253, allocations: 8.031 kB / 0.496 GB, free: 57.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005145/0.4304, allocations: 3.205 MB / 0.4991 GB, free: 54.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008945/0.4313, allocations: 349.3 kB / 0.4995 GB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/0.4317, allocations: 32 kB / 0.4995 GB, free: 53.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008554/0.4326, allocations: 39.98 kB / 0.4996 GB, free: 53.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/0.4328, allocations: 132.8 kB / 0.4997 GB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.476e-05/0.4329, allocations: 40 kB / 0.4997 GB, free: 53.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001344/0.4343, allocations: 1.274 MB / 0.501 GB, free: 52.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4343, allocations: 0 / 0.501 GB, free: 52.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004015/0.4383, allocations: 1.394 MB / 0.5023 GB, free: 50.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (147): * Single equations (assignments): 143 * 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 {(2,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003782/0.4387, allocations: 171.1 kB / 0.5025 GB, free: 50.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00366/0.4423, allocations: 3.178 MB / 0.5056 GB, free: 47.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001638/0.4425, allocations: 104.2 kB / 0.5057 GB, free: 47.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.4436, allocations: 0.8892 MB / 0.5066 GB, free: 46.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/0.4458, allocations: 0.6685 MB / 0.5072 GB, free: 45.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009955/0.4558, allocations: 8.5 MB / 0.5155 GB, free: 37.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.4569, allocations: 1.404 MB / 0.5169 GB, free: 35.95 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001301/0.4582, allocations: 0.5268 MB / 0.5174 GB, free: 35.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008099/0.459, allocations: 0.5792 MB / 0.518 GB, free: 34.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4591, allocations: 0 / 0.518 GB, free: 34.84 MB / 410.7 MB Notification: Performance of Templates: time 0.06221/0.5213, allocations: 53.35 MB / 0.5701 GB, free: 13.84 MB / 442.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.3155938987620175]