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.0008976/0.0008976, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001187/0.002084, allocations: 457.8 kB / 10.45 MB, free: 244 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.000722/0.000722, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008959/0.001618, allocations: 475.6 kB / 11.82 MB, free: 2.348 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.9807/0.9807, allocations: 177.5 MB / 190 MB, free: 4.789 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0978/1.079, allocations: 53.87 MB / 243.9 MB, free: 14.85 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.2924/0.2924, allocations: 34.88 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02952/0.322, allocations: 13.23 MB / 292.8 MB, free: 6.391 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.583e-06/1.583e-06, allocations: 0 / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.081e-05, allocations: 3.578 kB / 294.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01073/0.01075, allocations: 11.43 MB / 305.5 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008796/0.01955, allocations: 4.484 MB / 310 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/0.02096, allocations: 83.62 kB / 310.1 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003554/0.02452, allocations: 2.803 MB / 312.9 MB, free: 2.219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003711/0.02823, allocations: 2.127 MB / 315 MB, free: 80 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.02988, allocations: 1.033 MB / 316.1 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005909/0.03579, allocations: 5.748 MB / 321.8 MB, free: 9.297 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.03933, allocations: 3.1 MB / 324.9 MB, free: 6.129 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004393/0.04372, allocations: 3.219 MB / 328.1 MB, free: 2.902 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003442/0.04717, allocations: 2.603 MB / 330.7 MB, free: 300 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008747/0.04804, allocations: 368 kB / 331.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.05023, allocations: 1.381 MB / 332.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001802/0.05203, allocations: 2.085 MB / 334.6 MB, free: 12.46 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.05357, allocations: 1.161 MB / 335.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005206/0.05877, allocations: 4.916 MB / 340.6 MB, free: 6.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.05879, allocations: 0 / 340.6 MB, free: 6.363 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.05879, allocations: 4 kB / 340.6 MB, free: 6.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002074/0.05899, allocations: 0 / 340.6 MB, free: 6.359 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.007415/0.06641, allocations: 6.24 MB / 346.9 MB, free: 48 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.06644, allocations: 8.922 kB / 346.9 MB, free: 40 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003444/0.06988, allocations: 1.238 MB / 348.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/0.07272, allocations: 2.217 MB / 350.3 MB, free: 12.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.07284, allocations: 250.8 kB / 350.6 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004469/0.07329, allocations: 348.3 kB / 350.9 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007076/0.08037, allocations: 5.927 MB / 356.9 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-05/0.08047, allocations: 59.5 kB / 356.9 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/0.08075, allocations: 167.8 kB / 357.1 MB, free: 4.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001583/0.08233, allocations: 1.967 MB / 359 MB, free: 2.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006159/0.08849, allocations: 3.08 MB / 362.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03012/0.1186, allocations: 36.95 MB / 399.1 MB, free: 9.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005752/0.1244, allocations: 2.394 MB / 401.5 MB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009111/0.1253, allocations: 0.5313 MB / 402 MB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008304/0.1336, allocations: 5.506 MB / 407.5 MB, free: 1.004 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.1336, allocations: 47.56 kB / 407.6 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=165): time 4.699e-06/0.1336, allocations: 0 / 407.6 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of matching and sorting (n=203): time 0.03939/0.173, allocations: 15.82 MB / 423.4 MB, free: 1.098 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/0.1731, allocations: 149.8 kB / 423.5 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/0.1765, allocations: 3.459 MB / 427 MB, free: 13.48 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003068/0.1768, allocations: 53.7 kB / 427 MB, free: 13.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001483/0.1782, allocations: 3.419 MB / 430.4 MB, free: 9.965 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007647/0.179, allocations: 0.8101 MB / 431.3 MB, free: 9.148 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001094/0.1801, allocations: 1.279 MB / 432.5 MB, free: 7.859 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.1802, allocations: 301.1 kB / 432.8 MB, free: 7.562 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.1815, allocations: 0.968 MB / 433.8 MB, free: 6.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1658/0.3473, allocations: 4.969 MB / 438.8 MB, free: 102.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005704/0.353, allocations: 6.972 MB / 445.7 MB, free: 97.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.221e-05/0.3531, allocations: 42.59 kB / 445.8 MB, free: 97.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.009958/0.3631, allocations: 5.728 MB / 451.5 MB, free: 97.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.052e-05/0.3631, allocations: 72.27 kB / 451.6 MB, free: 97.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002282/0.3634, allocations: 151.9 kB / 451.7 MB, free: 97.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004847/0.3682, allocations: 1.759 MB / 453.5 MB, free: 96.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003136/0.3713, allocations: 1.647 MB / 455.1 MB, free: 96.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00663/0.378, allocations: 4.719 MB / 459.9 MB, free: 95.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/0.3812, allocations: 297.6 kB / 460.1 MB, free: 95.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004272/0.3816, allocations: 349.9 kB / 460.5 MB, free: 95.32 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.001371/0.383, allocations: 0.6663 MB / 461.2 MB, free: 95.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004612/0.3834, allocations: 255.2 kB / 461.4 MB, free: 95.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004127/0.3876, allocations: 2.34 MB / 463.7 MB, free: 94.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.232e-05/0.3876, allocations: 19.34 kB / 463.8 MB, free: 94.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.3876, allocations: 9.094 kB / 463.8 MB, free: 94.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.3876, allocations: 7.969 kB / 463.8 MB, free: 94.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00994/0.3975, allocations: 6.565 MB / 470.3 MB, free: 92.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.801e-05/0.3976, allocations: 8 kB / 470.3 MB, free: 92.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007268/0.3983, allocations: 281.2 kB / 470.6 MB, free: 92.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000748/0.3991, allocations: 341.7 kB / 471 MB, free: 91.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004063/0.4031, allocations: 1.717 MB / 472.7 MB, free: 90.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001544/0.4033, allocations: 39.98 kB / 472.7 MB, free: 90.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005227/0.4085, allocations: 3.728 MB / 476.4 MB, free: 86.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4085, allocations: 4 kB / 476.4 MB, free: 86.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005122/0.4136, allocations: 3.219 MB / 479.7 MB, free: 83.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006231/0.4142, allocations: 36 kB / 479.7 MB, free: 83.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000863/0.4151, allocations: 39.98 kB / 479.7 MB, free: 83.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/0.4154, allocations: 125 kB / 479.9 MB, free: 83.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.044e-05/0.4155, allocations: 49.58 kB / 479.9 MB, free: 83.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001425/0.4169, allocations: 1.269 MB / 481.2 MB, free: 82.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4169, allocations: 0 / 481.2 MB, free: 82.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003843/0.4207, allocations: 1.402 MB / 482.6 MB, free: 80.68 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.0003622/0.4211, allocations: 168.8 kB / 482.7 MB, free: 80.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003694/0.4248, allocations: 3.305 MB / 486 MB, free: 77.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001825/0.425, allocations: 118.9 kB / 486.2 MB, free: 77.44 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.4261, allocations: 0.986 MB / 487.2 MB, free: 76.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.4287, allocations: 3.219 MB / 490.4 MB, free: 72.89 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/0.4403, allocations: 8.709 MB / 499.1 MB, free: 64.16 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/0.4415, allocations: 1.402 MB / 0.4888 GB, free: 62.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001398/0.4429, allocations: 0.5217 MB / 0.4893 GB, free: 62.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008016/0.4437, allocations: 0.5815 MB / 0.4898 GB, free: 61.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4437, allocations: 0 / 0.4898 GB, free: 61.62 MB / 426.7 MB Notification: Performance of Templates: time 0.07095/0.5146, allocations: 52.83 MB / 0.5414 GB, free: 9.02 MB / 426.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 -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9700958114117384]