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.001048/0.001048, 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.001854/0.001854, allocations: 163.8 kB / 24.91 MB, free: 8.262 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.9827/0.9827, allocations: 177 MB / 205.2 MB, free: 5.426 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.2694/0.2694, allocations: 34.87 MB / 296.6 MB, free: 0.5156 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 2.655e-06/2.655e-06, allocations: 0 / 326 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.171e-05, allocations: 2.312 kB / 326 MB, free: 7.117 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01355/0.01358, allocations: 11.33 MB / 337.3 MB, free: 11.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01087/0.02445, allocations: 4.45 MB / 341.7 MB, free: 7.273 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002386/0.02684, allocations: 83.62 kB / 341.8 MB, free: 7.191 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004055/0.03089, allocations: 2.896 MB / 344.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004821/0.03571, allocations: 2.15 MB / 346.9 MB, free: 2.125 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.03782, allocations: 1.119 MB / 348 MB, free: 1.004 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006067/0.04389, allocations: 6.089 MB / 354.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00305/0.04694, allocations: 3.361 MB / 357.4 MB, free: 7.477 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003285/0.05023, allocations: 3.22 MB / 360.7 MB, free: 4.25 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002708/0.05294, allocations: 2.611 MB / 363.3 MB, free: 1.633 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005446/0.05348, allocations: 368 kB / 363.6 MB, free: 1.273 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001734/0.05521, allocations: 1.381 MB / 365 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.05672, allocations: 2.338 MB / 367.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.05856, allocations: 1.433 MB / 368.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005169/0.06373, allocations: 5.352 MB / 374.1 MB, free: 6.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.06374, allocations: 0 / 374.1 MB, free: 6.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.06374, allocations: 0 / 374.1 MB, free: 6.738 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003147/0.06405, allocations: 0 / 374.1 MB, free: 6.738 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.006413/0.07047, allocations: 5.211 MB / 379.3 MB, free: 1.473 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.0705, allocations: 8.031 kB / 379.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003578/0.07408, allocations: 1.238 MB / 380.6 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003265/0.07734, allocations: 2.209 MB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003381/0.07768, allocations: 254.8 kB / 383.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004382/0.07812, allocations: 348.3 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00647/0.08459, allocations: 5.943 MB / 389.3 MB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.431e-05/0.08468, allocations: 47.58 kB / 389.4 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004035/0.08509, allocations: 163.8 kB / 389.5 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001626/0.08671, allocations: 2.092 MB / 391.6 MB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005657/0.09237, allocations: 3.083 MB / 394.7 MB, free: 1.164 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0305/0.1229, allocations: 36.96 MB / 431.7 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005636/0.1285, allocations: 2.423 MB / 434.1 MB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000698/0.1292, allocations: 0.5457 MB / 434.6 MB, free: 7.797 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007143/0.1363, allocations: 5.534 MB / 440.2 MB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.1365, allocations: 51.56 kB / 440.2 MB, free: 2.176 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 3.416e-06/0.1365, allocations: 0 / 440.2 MB, free: 2.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.2023/0.3388, allocations: 15.87 MB / 456.1 MB, free: 110.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.3388, allocations: 204.9 kB / 456.3 MB, free: 109.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003034/0.3419, allocations: 3.448 MB / 459.8 MB, free: 107.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002283/0.3421, allocations: 54.7 kB / 459.8 MB, free: 107.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00106/0.3432, allocations: 3.42 MB / 463.2 MB, free: 104.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005662/0.3437, allocations: 0.8135 MB / 464 MB, free: 104.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.3448, allocations: 1.281 MB / 465.3 MB, free: 103.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.552e-05/0.3448, allocations: 309 kB / 465.6 MB, free: 103.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/0.3462, allocations: 0.9649 MB / 466.6 MB, free: 102.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002091/0.3483, allocations: 4.969 MB / 471.6 MB, free: 95.78 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003677/0.352, allocations: 6.479 MB / 478 MB, free: 87.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.215e-05/0.352, allocations: 44 kB / 478.1 MB, free: 87.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.008542/0.3606, allocations: 5.73 MB / 483.8 MB, free: 81.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/0.3607, allocations: 69 kB / 483.9 MB, free: 81.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.883e-05/0.3607, allocations: 148 kB / 484 MB, free: 81.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004464/0.3652, allocations: 1.755 MB / 485.8 MB, free: 79.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002967/0.3682, allocations: 1.544 MB / 487.3 MB, free: 78.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006416/0.3746, allocations: 4.724 MB / 492 MB, free: 73.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/0.3782, allocations: 287.8 kB / 492.3 MB, free: 73.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006758/0.3789, allocations: 355.9 kB / 492.7 MB, free: 72.87 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.001664/0.3806, allocations: 0.6717 MB / 493.3 MB, free: 72.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005336/0.3811, allocations: 251.7 kB / 493.6 MB, free: 71.94 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004184/0.3853, allocations: 2.338 MB / 495.9 MB, free: 69.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.3853, allocations: 24 kB / 496 MB, free: 69.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.3853, allocations: 8 kB / 496 MB, free: 69.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.3853, allocations: 11.95 kB / 496 MB, free: 69.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.3954, allocations: 6.56 MB / 0.4908 GB, free: 62.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/0.3954, allocations: 0 / 0.4908 GB, free: 62.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007153/0.3962, allocations: 263.6 kB / 0.491 GB, free: 62.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004258/0.4004, allocations: 1.709 MB / 0.4927 GB, free: 60.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/0.4006, allocations: 42.48 kB / 0.4927 GB, free: 60.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005467/0.4061, allocations: 3.728 MB / 0.4964 GB, free: 57.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.4061, allocations: 7.125 kB / 0.4964 GB, free: 57.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00553/0.4116, allocations: 3.201 MB / 0.4995 GB, free: 53.82 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009167/0.4125, allocations: 349.3 kB / 0.4998 GB, free: 53.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003677/0.4129, allocations: 28 kB / 0.4998 GB, free: 53.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000892/0.4138, allocations: 36 kB / 0.4999 GB, free: 53.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003842/0.4142, allocations: 132.8 kB / 0.5 GB, free: 53.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.4143, allocations: 51.97 kB / 0.5001 GB, free: 53.24 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001504/0.4158, allocations: 1.27 MB / 0.5013 GB, free: 51.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4158, allocations: 0 / 0.5013 GB, free: 51.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004006/0.4198, allocations: 1.394 MB / 0.5027 GB, free: 50.59 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.0003747/0.4202, allocations: 164 kB / 0.5028 GB, free: 50.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003745/0.4239, allocations: 3.175 MB / 0.5059 GB, free: 47.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000183/0.4241, allocations: 108.2 kB / 0.506 GB, free: 47.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.4253, allocations: 0.8837 MB / 0.5069 GB, free: 46.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.4277, allocations: 0.67 MB / 0.5075 GB, free: 45.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/0.4384, allocations: 8.515 MB / 0.5159 GB, free: 36.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00123/0.4396, allocations: 1.397 MB / 0.5172 GB, free: 35.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001515/0.4411, allocations: 0.5257 MB / 0.5177 GB, free: 35.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009024/0.442, allocations: 0.5831 MB / 0.5183 GB, free: 34.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.645e-06/0.442, allocations: 0 / 0.5183 GB, free: 34.45 MB / 410.7 MB Notification: Performance of Templates: time 0.06226/0.5043, allocations: 53.35 MB / 0.5704 GB, free: 13.44 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 -s gbode -gbm=radauIIA3 -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.3563953270204365]