Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008185/0.0008185, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001169/0.001988, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007278/0.0007278, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009736/0.001701, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.071/1.071, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08229/1.153, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2473/0.2473, allocations: 34.25 MB / 278.2 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02541/0.2727, allocations: 13.1 MB / 291.3 MB, free: 7.359 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.161e-05/3.359e-05, allocations: 4.734 kB / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01401/0.01404, allocations: 11.41 MB / 304 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01217/0.02621, allocations: 4.479 MB / 308.5 MB, free: 6.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002934/0.02915, allocations: 83.56 kB / 308.6 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005715/0.03486, allocations: 2.803 MB / 311.4 MB, free: 3.426 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007413/0.04227, allocations: 2.119 MB / 313.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002869/0.04514, allocations: 1.049 MB / 314.6 MB, free: 248 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.008998/0.05414, allocations: 5.759 MB / 320.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003636/0.05778, allocations: 3.096 MB / 323.4 MB, free: 7.312 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004287/0.06206, allocations: 3.219 MB / 326.7 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.06472, allocations: 2.595 MB / 329.2 MB, free: 1.488 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005628/0.06528, allocations: 371.9 kB / 329.6 MB, free: 1.125 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.0671, allocations: 1.389 MB / 331 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001465/0.06857, allocations: 2.081 MB / 333.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.07006, allocations: 1.161 MB / 334.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005289/0.07535, allocations: 4.923 MB / 339.2 MB, free: 7.543 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.764e-05/0.07537, allocations: 0 / 339.2 MB, free: 7.543 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.07537, allocations: 0 / 339.2 MB, free: 7.543 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001345/0.0755, allocations: 0 / 339.2 MB, free: 7.543 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.00869/0.08419, allocations: 6.232 MB / 345.4 MB, free: 1.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.08423, allocations: 12.03 kB / 345.4 MB, free: 1.227 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003216/0.08744, allocations: 1.242 MB / 346.7 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.08994, allocations: 2.216 MB / 348.9 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.09006, allocations: 254.8 kB / 349.1 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003885/0.09045, allocations: 348.3 kB / 349.5 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005949/0.0964, allocations: 5.927 MB / 355.4 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.872e-05/0.09648, allocations: 59.5 kB / 355.4 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/0.09674, allocations: 163.8 kB / 355.6 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001568/0.09831, allocations: 2.088 MB / 357.7 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004332/0.1026, allocations: 3.094 MB / 360.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02549/0.1281, allocations: 36.95 MB / 397.7 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005188/0.1333, allocations: 2.384 MB / 400.1 MB, free: 8.137 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005993/0.1339, allocations: 0.5341 MB / 400.7 MB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006278/0.1402, allocations: 5.506 MB / 406.2 MB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.1402, allocations: 47.56 kB / 406.2 MB, free: 2.008 MB / 394.7 MB Notification: Performance of pre-optimization done (n=165): time 3.667e-06/0.1402, allocations: 4 kB / 406.2 MB, free: 2.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=203): time 0.03639/0.1766, allocations: 15.62 MB / 421.8 MB, free: 2.348 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.1767, allocations: 153.8 kB / 422 MB, free: 2.168 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.1794, allocations: 3.455 MB / 425.4 MB, free: 14.72 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.1795, allocations: 53.7 kB / 425.5 MB, free: 14.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.1809, allocations: 3.419 MB / 428.9 MB, free: 11.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/0.1814, allocations: 0.8101 MB / 429.7 MB, free: 10.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00106/0.1824, allocations: 1.287 MB / 431 MB, free: 9.098 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.1825, allocations: 301.1 kB / 431.3 MB, free: 8.801 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.184, allocations: 0.9641 MB / 432.3 MB, free: 7.832 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003013/0.187, allocations: 4.977 MB / 437.2 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1732/0.3602, allocations: 6.475 MB / 443.7 MB, free: 99.04 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.969e-05/0.3602, allocations: 42.28 kB / 443.8 MB, free: 99.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.009049/0.3693, allocations: 5.734 MB / 449.5 MB, free: 98.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.543e-05/0.3693, allocations: 68.33 kB / 449.6 MB, free: 98.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/0.3694, allocations: 145 kB / 449.7 MB, free: 98.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003957/0.3734, allocations: 1.756 MB / 451.5 MB, free: 98.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/0.3758, allocations: 1.644 MB / 453.1 MB, free: 98.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005773/0.3816, allocations: 4.726 MB / 457.8 MB, free: 96.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002345/0.3839, allocations: 294.7 kB / 458.1 MB, free: 96.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002797/0.3842, allocations: 354.4 kB / 458.5 MB, free: 96.79 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.0009669/0.3852, allocations: 0.6656 MB / 459.1 MB, free: 96.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003517/0.3855, allocations: 251.7 kB / 459.4 MB, free: 96.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004052/0.3896, allocations: 2.341 MB / 461.7 MB, free: 96.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.3896, allocations: 23.25 kB / 461.7 MB, free: 96.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.3896, allocations: 7.75 kB / 461.7 MB, free: 96.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.3896, allocations: 14.52 kB / 461.8 MB, free: 96.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008215/0.3978, allocations: 6.547 MB / 468.3 MB, free: 94.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.3979, allocations: 0 / 468.3 MB, free: 94.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000622/0.3985, allocations: 293 kB / 468.6 MB, free: 94.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002934/0.3988, allocations: 344.3 kB / 468.9 MB, free: 94.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003836/0.4026, allocations: 1.704 MB / 470.6 MB, free: 92.65 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.4027, allocations: 29.94 kB / 470.7 MB, free: 92.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004868/0.4076, allocations: 3.735 MB / 474.4 MB, free: 88.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4076, allocations: 4 kB / 474.4 MB, free: 88.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/0.4121, allocations: 3.214 MB / 477.6 MB, free: 85.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002896/0.4124, allocations: 36 kB / 477.6 MB, free: 85.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007185/0.4131, allocations: 36 kB / 477.7 MB, free: 85.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/0.4133, allocations: 132.9 kB / 477.8 MB, free: 85.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.865e-05/0.4134, allocations: 47.19 kB / 477.9 MB, free: 85.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009541/0.4144, allocations: 1.268 MB / 479.1 MB, free: 84.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4144, allocations: 0 / 479.1 MB, free: 84.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00331/0.4177, allocations: 1.398 MB / 480.5 MB, free: 82.96 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.0003336/0.418, allocations: 163.6 kB / 480.7 MB, free: 82.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002955/0.421, allocations: 3.181 MB / 483.9 MB, free: 79.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001543/0.4211, allocations: 117 kB / 484 MB, free: 79.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008886/0.422, allocations: 0.8901 MB / 484.9 MB, free: 78.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.4236, allocations: 0.9206 MB / 485.8 MB, free: 77.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009884/0.4335, allocations: 8.716 MB / 494.5 MB, free: 69.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009112/0.4344, allocations: 1.41 MB / 495.9 MB, free: 67.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001039/0.4355, allocations: 0.5264 MB / 496.4 MB, free: 67.15 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007434/0.4362, allocations: 0.5884 MB / 497 MB, free: 66.56 MB / 426.7 MB Notification: Performance of SimCode: time 1.713e-06/0.4362, allocations: 0 / 497 MB, free: 66.56 MB / 426.7 MB Notification: Performance of Templates: time 0.05373/0.49, allocations: 54.1 MB / 0.5382 GB, free: 12.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.322989039123058]