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.0009754/0.0009754, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002431, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0009589/0.0009589, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.0024, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9954/0.9954, allocations: 177.4 MB / 189.9 MB, free: 4.844 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09523/1.091, allocations: 53.86 MB / 243.7 MB, free: 14.93 MB / 250.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.2801/0.2801, allocations: 34.85 MB / 279.3 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05001/0.3301, allocations: 13.23 MB / 292.6 MB, free: 6.492 MB / 282.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.804e-06/1.804e-06, allocations: 0 / 293.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.974e-05/2.154e-05, allocations: 4.422 kB / 293.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01122/0.01124, allocations: 11.41 MB / 305.3 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008304/0.01955, allocations: 4.481 MB / 309.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.02135, allocations: 87.56 kB / 309.8 MB, free: 5.168 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003059/0.02441, allocations: 2.818 MB / 312.7 MB, free: 2.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004807/0.02922, allocations: 2.111 MB / 314.8 MB, free: 224 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001802/0.03102, allocations: 1.037 MB / 315.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006491/0.03751, allocations: 5.768 MB / 321.6 MB, free: 9.414 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004384/0.04189, allocations: 3.085 MB / 324.7 MB, free: 6.262 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00489/0.04678, allocations: 3.223 MB / 327.9 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003702/0.05049, allocations: 2.599 MB / 330.5 MB, free: 436 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009268/0.05141, allocations: 368 kB / 330.8 MB, free: 68 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00211/0.05352, allocations: 1.389 MB / 332.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002108/0.05563, allocations: 2.081 MB / 334.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001827/0.05746, allocations: 1.164 MB / 335.5 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005031/0.06249, allocations: 4.916 MB / 340.4 MB, free: 6.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.375e-05/0.0625, allocations: 0 / 340.4 MB, free: 6.488 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.0625, allocations: 4 kB / 340.4 MB, free: 6.484 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002313/0.06273, allocations: 0 / 340.4 MB, free: 6.484 MB / 330.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.007912/0.07065, allocations: 6.232 MB / 346.6 MB, free: 184 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.07068, allocations: 12.91 kB / 346.6 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003408/0.07409, allocations: 1.245 MB / 347.9 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002918/0.07701, allocations: 2.213 MB / 350.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.07713, allocations: 254.8 kB / 350.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004117/0.07754, allocations: 344.3 kB / 350.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00685/0.08439, allocations: 5.931 MB / 356.6 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.46e-05/0.08449, allocations: 63.44 kB / 356.7 MB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002876/0.08477, allocations: 171.8 kB / 356.8 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001655/0.08643, allocations: 2.085 MB / 358.9 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006396/0.09283, allocations: 3.081 MB / 362 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03035/0.1232, allocations: 36.95 MB / 399 MB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005368/0.1285, allocations: 2.402 MB / 401.4 MB, free: 7.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008415/0.1294, allocations: 0.539 MB / 401.9 MB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007339/0.1367, allocations: 5.49 MB / 407.4 MB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.1368, allocations: 59.48 kB / 407.5 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of pre-optimization done (n=165): time 3.507e-06/0.1368, allocations: 0 / 407.5 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of matching and sorting (n=203): time 0.03746/0.1742, allocations: 15.6 MB / 423.1 MB, free: 1.297 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.1743, allocations: 153.8 kB / 423.2 MB, free: 1.117 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00315/0.1774, allocations: 3.463 MB / 426.7 MB, free: 13.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002299/0.1777, allocations: 53.7 kB / 426.7 MB, free: 13.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001531/0.1792, allocations: 3.415 MB / 430.1 MB, free: 10.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006738/0.1799, allocations: 0.8101 MB / 430.9 MB, free: 9.344 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/0.1809, allocations: 1.279 MB / 432.2 MB, free: 8.055 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.001e-05/0.181, allocations: 305.1 kB / 432.5 MB, free: 7.754 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/0.1824, allocations: 0.9641 MB / 433.5 MB, free: 6.785 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1577/0.3401, allocations: 4.972 MB / 438.5 MB, free: 102.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00555/0.3457, allocations: 6.495 MB / 445 MB, free: 97.44 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.439e-05/0.3457, allocations: 38.31 kB / 445 MB, free: 97.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.007758/0.3535, allocations: 5.734 MB / 450.7 MB, free: 96.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/0.3535, allocations: 68.06 kB / 450.8 MB, free: 96.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.689e-05/0.3536, allocations: 146.2 kB / 450.9 MB, free: 96.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004166/0.3578, allocations: 1.753 MB / 452.7 MB, free: 96.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/0.3606, allocations: 1.645 MB / 454.3 MB, free: 96.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006176/0.3668, allocations: 4.728 MB / 459.1 MB, free: 95.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.3692, allocations: 294.8 kB / 459.4 MB, free: 95.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002871/0.3695, allocations: 352.3 kB / 459.7 MB, free: 95.16 MB / 426.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.001179/0.3707, allocations: 0.6622 MB / 460.4 MB, free: 94.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000352/0.371, allocations: 245.9 kB / 460.6 MB, free: 94.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004468/0.3755, allocations: 2.344 MB / 462.9 MB, free: 94.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.3755, allocations: 21.59 kB / 463 MB, free: 94.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.3755, allocations: 11.78 kB / 463 MB, free: 94.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.3755, allocations: 14.62 kB / 463 MB, free: 94.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008582/0.3841, allocations: 6.552 MB / 469.5 MB, free: 92.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.3841, allocations: 4.188 kB / 469.5 MB, free: 92.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000638/0.3848, allocations: 290 kB / 469.8 MB, free: 92.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002922/0.3851, allocations: 339.7 kB / 470.2 MB, free: 92.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00384/0.3889, allocations: 1.707 MB / 471.9 MB, free: 90.85 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.535e-05/0.389, allocations: 30.88 kB / 471.9 MB, free: 90.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004924/0.3939, allocations: 3.739 MB / 475.6 MB, free: 87.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3939, allocations: 2.734 kB / 475.6 MB, free: 87.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004475/0.3984, allocations: 3.204 MB / 478.8 MB, free: 83.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.3987, allocations: 34.66 kB / 478.9 MB, free: 83.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/0.3994, allocations: 38.3 kB / 478.9 MB, free: 83.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.3997, allocations: 132.9 kB / 479 MB, free: 83.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-05/0.3997, allocations: 39.98 kB / 479.1 MB, free: 83.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009312/0.4007, allocations: 1.274 MB / 480.4 MB, free: 82.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4007, allocations: 0 / 480.4 MB, free: 82.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003186/0.4039, allocations: 1.394 MB / 481.8 MB, free: 81.14 MB / 426.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.0003027/0.4042, allocations: 169.6 kB / 481.9 MB, free: 80.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002749/0.4069, allocations: 3.175 MB / 485.1 MB, free: 77.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001548/0.4071, allocations: 121 kB / 485.2 MB, free: 77.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00092/0.408, allocations: 0.8914 MB / 486.1 MB, free: 76.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.4098, allocations: 0.9287 MB / 487 MB, free: 76.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.4201, allocations: 8.715 MB / 495.7 MB, free: 67.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008978/0.421, allocations: 1.402 MB / 497.1 MB, free: 65.85 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001111/0.4221, allocations: 0.5304 MB / 497.7 MB, free: 65.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007607/0.4228, allocations: 0.5909 MB / 498.3 MB, free: 64.73 MB / 426.7 MB Notification: Performance of SimCode: time 1.273e-06/0.4228, allocations: 0 / 498.3 MB, free: 64.73 MB / 426.7 MB Notification: Performance of Templates: time 0.05546/0.4783, allocations: 54.09 MB / 0.5394 GB, free: 11.08 MB / 426.7 MB " [Timeout remaining time 660] 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 -ignoreHideResult -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.388923955149949]