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.0009834/0.0009834, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001184/0.001184, allocations: 168.7 kB / 24.91 MB, free: 9.191 MB / 18.57 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 0.9357/0.9357, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.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.2386/0.2386, allocations: 34.26 MB / 296.1 MB, free: 0.7383 MB / 266.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.854e-06/1.854e-06, allocations: 0 / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.042e-05, allocations: 3.016 kB / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01055/0.01058, allocations: 11.3 MB / 336.5 MB, free: 12.35 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008272/0.01885, allocations: 4.437 MB / 341 MB, free: 7.898 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.0205, allocations: 83.62 kB / 341.1 MB, free: 7.816 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003024/0.02353, allocations: 2.959 MB / 344 MB, free: 4.848 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003992/0.02752, allocations: 2.162 MB / 346.2 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.02916, allocations: 1.131 MB / 347.3 MB, free: 1.543 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005904/0.03506, allocations: 6.095 MB / 353.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004055/0.03912, allocations: 3.572 MB / 357 MB, free: 7.793 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004559/0.04368, allocations: 3.286 MB / 360.3 MB, free: 4.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0032/0.04688, allocations: 2.607 MB / 362.9 MB, free: 1.887 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007649/0.04764, allocations: 368 kB / 363.2 MB, free: 1.527 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.04951, allocations: 1.338 MB / 364.6 MB, free: 192 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002028/0.05154, allocations: 2.338 MB / 366.9 MB, free: 13.84 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001709/0.05325, allocations: 1.437 MB / 368.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005698/0.05895, allocations: 5.344 MB / 373.7 MB, free: 7.039 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.05895, allocations: 7.938 kB / 373.7 MB, free: 7.031 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.05895, allocations: 0 / 373.7 MB, free: 7.031 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001359/0.05909, allocations: 0 / 373.7 MB, free: 7.031 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.006487/0.06558, allocations: 5.204 MB / 378.9 MB, free: 1.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.06561, allocations: 12.03 kB / 378.9 MB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003198/0.06881, allocations: 1.23 MB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003078/0.07189, allocations: 2.221 MB / 382.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.07201, allocations: 254.8 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004275/0.07244, allocations: 344.3 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007148/0.07958, allocations: 5.947 MB / 388.9 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.755e-05/0.07967, allocations: 47.58 kB / 388.9 MB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002783/0.07995, allocations: 167.8 kB / 389.1 MB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001684/0.08163, allocations: 2.088 MB / 391.2 MB, free: 4.582 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005769/0.0874, allocations: 3.073 MB / 394.3 MB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03182/0.1192, allocations: 36.97 MB / 431.2 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005271/0.1245, allocations: 2.439 MB / 433.7 MB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006522/0.1251, allocations: 0.5303 MB / 434.2 MB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00729/0.1324, allocations: 5.545 MB / 439.7 MB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.1325, allocations: 47.56 kB / 439.8 MB, free: 2.473 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 5.751e-06/0.1325, allocations: 4 kB / 439.8 MB, free: 2.469 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.03567/0.1682, allocations: 15.46 MB / 455.3 MB, free: 2.969 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.1682, allocations: 201.2 kB / 455.5 MB, free: 2.727 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1506/0.3189, allocations: 3.45 MB / 458.9 MB, free: 126.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004324/0.3193, allocations: 58.75 kB / 459 MB, free: 126.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001574/0.3209, allocations: 3.41 MB / 462.4 MB, free: 124.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006764/0.3215, allocations: 0.8204 MB / 463.2 MB, free: 124.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.3226, allocations: 1.279 MB / 464.5 MB, free: 124.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.495e-05/0.3226, allocations: 304.7 kB / 464.8 MB, free: 123.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.324, allocations: 0.963 MB / 465.7 MB, free: 123.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002364/0.3264, allocations: 4.977 MB / 470.7 MB, free: 118.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003874/0.3302, allocations: 6.479 MB / 477.2 MB, free: 112.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.674e-05/0.3303, allocations: 42.22 kB / 477.2 MB, free: 112.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.008265/0.3386, allocations: 5.736 MB / 483 MB, free: 111.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.278e-05/0.3386, allocations: 67.34 kB / 483 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/0.3388, allocations: 143.6 kB / 483.2 MB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004135/0.3429, allocations: 1.761 MB / 484.9 MB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/0.3454, allocations: 1.476 MB / 486.4 MB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006127/0.3515, allocations: 4.692 MB / 491.1 MB, free: 105.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003668/0.3552, allocations: 295.8 kB / 491.4 MB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000473/0.3557, allocations: 351.9 kB / 491.7 MB, free: 105.1 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.001438/0.3571, allocations: 0.6705 MB / 492.4 MB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005272/0.3577, allocations: 246.8 kB / 492.6 MB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004078/0.3617, allocations: 2.338 MB / 495 MB, free: 102 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.757e-05/0.3618, allocations: 20 kB / 495 MB, free: 102 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/0.3618, allocations: 12 kB / 495 MB, free: 102 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.3618, allocations: 15.91 kB / 495 MB, free: 102 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.3721, allocations: 6.547 MB / 0.4898 GB, free: 95.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.3721, allocations: 4.188 kB / 0.4898 GB, free: 95.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/0.3728, allocations: 247.6 kB / 0.4901 GB, free: 95.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004159/0.3769, allocations: 1.696 MB / 0.4917 GB, free: 93.71 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/0.3771, allocations: 39.98 kB / 0.4918 GB, free: 93.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005092/0.3822, allocations: 3.709 MB / 0.4954 GB, free: 89.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.3822, allocations: 0.5469 kB / 0.4954 GB, free: 89.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005125/0.3873, allocations: 3.196 MB / 0.4985 GB, free: 86.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000973/0.3883, allocations: 345.4 kB / 0.4988 GB, free: 86.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003174/0.3886, allocations: 28 kB / 0.4989 GB, free: 86.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008128/0.3894, allocations: 51.73 kB / 0.4989 GB, free: 86.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000283/0.3897, allocations: 132.9 kB / 0.499 GB, free: 86.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-05/0.3898, allocations: 40 kB / 0.4991 GB, free: 86.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001183/0.391, allocations: 1.266 MB / 0.5003 GB, free: 84.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.391, allocations: 4 kB / 0.5003 GB, free: 84.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004454/0.3955, allocations: 1.394 MB / 0.5017 GB, free: 83.41 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.0003712/0.3958, allocations: 167.7 kB / 0.5018 GB, free: 83.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003804/0.3996, allocations: 3.185 MB / 0.5049 GB, free: 80.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001552/0.3998, allocations: 100.2 kB / 0.505 GB, free: 79.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001104/0.4009, allocations: 0.8907 MB / 0.5059 GB, free: 79.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0024/0.4033, allocations: 0.6685 MB / 0.5066 GB, free: 78.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.4146, allocations: 8.497 MB / 0.5149 GB, free: 69.82 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001108/0.4157, allocations: 1.4 MB / 0.5162 GB, free: 68.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001427/0.4171, allocations: 0.5315 MB / 0.5167 GB, free: 67.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008096/0.4179, allocations: 0.5831 MB / 0.5173 GB, free: 67.29 MB / 426.7 MB Notification: Performance of SimCode: time 2.184e-06/0.4179, allocations: 4 kB / 0.5173 GB, free: 67.28 MB / 426.7 MB Notification: Performance of Templates: time 0.0581/0.476, allocations: 53.35 MB / 0.5694 GB, free: 14.27 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 -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.249877990689129]