Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001762/0.001762, allocations: 80.05 kB / 20.72 MB, free: 3.766 MB / 18.57 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.002211/0.002211, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9345/0.9345, allocations: 158.6 MB / 186 MB, free: 2.762 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1402/0.1402, allocations: 32.38 MB / 270.7 MB, free: 14.6 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 299.1 MB, free: 2.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.957e-05, allocations: 2.312 kB / 299.1 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.1689/0.1689, allocations: 11.35 MB / 310.4 MB, free: 14.26 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009747/0.1787, allocations: 4.433 MB / 314.9 MB, free: 11.47 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003239/0.1819, allocations: 82.22 kB / 314.9 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005153/0.187, allocations: 2.971 MB / 317.9 MB, free: 9.871 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006432/0.1935, allocations: 2.206 MB / 320.1 MB, free: 8.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.1962, allocations: 1.141 MB / 321.3 MB, free: 7.523 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.007696/0.2039, allocations: 5.777 MB / 327 MB, free: 2.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004974/0.2088, allocations: 3.603 MB / 330.6 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007051/0.2159, allocations: 3.142 MB / 333.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004813/0.2207, allocations: 2.619 MB / 336.4 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.2221, allocations: 372 kB / 336.8 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003048/0.2251, allocations: 1.342 MB / 338.1 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002685/0.2278, allocations: 2.369 MB / 340.5 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003333/0.2312, allocations: 1.464 MB / 341.9 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0085/0.2397, allocations: 5.414 MB / 347.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.2397, allocations: 0 / 347.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2397, allocations: 0 / 347.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002384/0.2399, allocations: 3.984 kB / 347.4 MB, free: 13.78 MB / 314.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.009491/0.2494, allocations: 5.226 MB / 352.6 MB, free: 8.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/0.2494, allocations: 8.031 kB / 352.6 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004343/0.2538, allocations: 1.238 MB / 353.8 MB, free: 7.254 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004609/0.2584, allocations: 2.258 MB / 356.1 MB, free: 4.941 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001951/0.2586, allocations: 254.8 kB / 356.3 MB, free: 4.691 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008921/0.2595, allocations: 352.3 kB / 356.7 MB, free: 4.348 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01133/0.2708, allocations: 5.935 MB / 362.6 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/0.271, allocations: 51.56 kB / 362.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004064/0.2714, allocations: 163.8 kB / 362.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002021/0.2734, allocations: 2.085 MB / 364.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008138/0.2815, allocations: 3.087 MB / 368 MB, free: 8.168 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03801/0.3195, allocations: 36.98 MB / 405 MB, free: 1.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006617/0.3261, allocations: 2.438 MB / 407.4 MB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.3272, allocations: 0.5329 MB / 407.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009421/0.3366, allocations: 5.557 MB / 413.5 MB, free: 9.227 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.739e-05/0.3366, allocations: 55.5 kB / 413.6 MB, free: 9.164 MB / 378.7 MB Notification: Performance of pre-optimization done (n=165): time 6.031e-06/0.3366, allocations: 0 / 413.6 MB, free: 9.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=203): time 0.0406/0.3772, allocations: 15.5 MB / 429.1 MB, free: 9.625 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.957e-05/0.3773, allocations: 201.2 kB / 429.3 MB, free: 9.387 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003787/0.3811, allocations: 3.484 MB / 432.7 MB, free: 5.918 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004603/0.3816, allocations: 61.69 kB / 432.8 MB, free: 5.852 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002026/0.3836, allocations: 3.408 MB / 436.2 MB, free: 2.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001185/0.3848, allocations: 0.8178 MB / 437 MB, free: 1.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001305/0.3861, allocations: 1.283 MB / 438.3 MB, free: 300 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3862, allocations: 305.1 kB / 438.6 MB, free: 15.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/0.3877, allocations: 0.9641 MB / 439.6 MB, free: 15.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003517/0.3912, allocations: 4.966 MB / 444.5 MB, free: 8.012 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006239/0.3975, allocations: 6.483 MB / 451 MB, free: 15.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001241/0.3976, allocations: 40 kB / 451.1 MB, free: 15.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01271/0.4103, allocations: 5.731 MB / 456.8 MB, free: 9.691 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.4104, allocations: 71.94 kB / 456.9 MB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001643/0.4106, allocations: 144.9 kB / 457 MB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005071/0.4156, allocations: 1.747 MB / 458.7 MB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/0.4194, allocations: 1.482 MB / 460.2 MB, free: 6.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007378/0.4267, allocations: 4.705 MB / 464.9 MB, free: 1.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003842/0.4306, allocations: 295.8 kB / 465.2 MB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007516/0.4313, allocations: 352 kB / 465.6 MB, free: 0.7891 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.001903/0.4332, allocations: 0.665 MB / 466.2 MB, free: 112 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1691/0.6023, allocations: 247.3 kB / 466.5 MB, free: 132.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006138/0.6085, allocations: 2.342 MB / 468.8 MB, free: 132.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.646e-05/0.6085, allocations: 21.91 kB / 468.8 MB, free: 132.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.29e-05/0.6085, allocations: 11.84 kB / 468.8 MB, free: 132.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-05/0.6086, allocations: 10.27 kB / 468.9 MB, free: 132.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.6245, allocations: 6.573 MB / 475.4 MB, free: 131.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.6245, allocations: 6.688 kB / 475.4 MB, free: 131.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009317/0.6254, allocations: 241.1 kB / 475.7 MB, free: 131.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006201/0.6316, allocations: 1.699 MB / 477.4 MB, free: 131.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000281/0.6319, allocations: 39.78 kB / 477.4 MB, free: 131.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007334/0.6392, allocations: 3.707 MB / 481.1 MB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.6392, allocations: 3.656 kB / 481.1 MB, free: 130.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007447/0.6467, allocations: 3.203 MB / 484.3 MB, free: 129.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001521/0.6482, allocations: 0.564 MB / 484.9 MB, free: 129.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004942/0.6487, allocations: 41.84 kB / 484.9 MB, free: 129.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.6499, allocations: 35.42 kB / 485 MB, free: 129.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004108/0.6503, allocations: 125.9 kB / 485.1 MB, free: 129.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/0.6505, allocations: 41.08 kB / 485.1 MB, free: 129.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001763/0.6522, allocations: 1.29 MB / 486.4 MB, free: 129.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6522, allocations: 2 kB / 486.4 MB, free: 129.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005646/0.6579, allocations: 1.422 MB / 487.8 MB, free: 129.3 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.0005183/0.6584, allocations: 182.7 kB / 488 MB, free: 129.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004776/0.6632, allocations: 3.174 MB / 491.2 MB, free: 128.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002347/0.6634, allocations: 103.5 kB / 491.3 MB, free: 128.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.665, allocations: 0.892 MB / 492.2 MB, free: 128.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003148/0.6682, allocations: 0.6643 MB / 492.8 MB, free: 127.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.6815, allocations: 8.539 MB / 0.4896 GB, free: 119.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/0.6829, allocations: 1.401 MB / 0.491 GB, free: 117.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001666/0.6846, allocations: 0.535 MB / 0.4915 GB, free: 117.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009335/0.6855, allocations: 0.5871 MB / 0.4921 GB, free: 116.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.885e-06/0.6855, allocations: 0 / 0.4921 GB, free: 116.7 MB / 426.7 MB Notification: Performance of Templates: time 0.0631/0.7486, allocations: 53.95 MB / 0.5448 GB, free: 62.96 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.50741568300873]