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.001828/0.001828, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002324/0.002324, allocations: 211.4 kB / 24.48 MB, free: 3.977 MB / 14.72 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.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2266/0.2266, allocations: 46.96 MB / 361.6 MB, free: 4.023 MB / 286.1 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 0.002031/0.002031, allocations: 67.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3306, allocations: 66.03 MB / 0.5618 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01403/0.3446, allocations: 10.47 MB / 0.572 GB, free: 9.637 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00955/0.3542, allocations: 4.175 MB / 0.5761 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.3557, allocations: 79.62 kB / 0.5762 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005558/0.3613, allocations: 2.694 MB / 0.5788 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005615/0.3669, allocations: 2.07 MB / 0.5808 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.3693, allocations: 1.01 MB / 0.5818 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007709/0.377, allocations: 5.377 MB / 0.5871 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00407/0.3811, allocations: 2.888 MB / 0.5899 GB, free: 7.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.3841, allocations: 1.776 MB / 0.5916 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003931/0.388, allocations: 2.648 MB / 0.5942 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008464/0.3889, allocations: 371.9 kB / 0.5946 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.3913, allocations: 1.307 MB / 0.5958 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002307/0.3936, allocations: 2.248 MB / 0.598 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002219/0.3959, allocations: 1.829 MB / 0.5998 GB, free: 13.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009485/0.4053, allocations: 8.081 MB / 0.6077 GB, free: 4.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4054, allocations: 0 / 0.6077 GB, free: 4.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4054, allocations: 0 / 0.6077 GB, free: 4.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001507/0.4055, allocations: 4 kB / 0.6077 GB, free: 4.926 MB / 446.1 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.0125/0.418, allocations: 5.791 MB / 0.6134 GB, free: 15.07 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.418, allocations: 8.031 kB / 0.6134 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/0.435, allocations: 2.63 MB / 0.616 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00827/0.4433, allocations: 3.099 MB / 0.619 GB, free: 9.273 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.4435, allocations: 258.8 kB / 0.6192 GB, free: 9.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001159/0.4447, allocations: 351.9 kB / 0.6196 GB, free: 8.676 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0227/0.4674, allocations: 12.45 MB / 0.6317 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.4675, allocations: 59.52 kB / 0.6318 GB, free: 11.33 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004705/0.468, allocations: 163.8 kB / 0.6319 GB, free: 11.17 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004176/0.4722, allocations: 2.377 MB / 0.6343 GB, free: 8.789 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02211/0.4943, allocations: 10.81 MB / 0.6448 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06258/0.5569, allocations: 45.35 MB / 0.6891 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01651/0.5734, allocations: 5.351 MB / 0.6943 GB, free: 9.992 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004505/0.5779, allocations: 3.002 MB / 0.6973 GB, free: 6.98 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02216/0.6, allocations: 11.69 MB / 0.7087 GB, free: 11.25 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.531e-05/0.6001, allocations: 63.81 kB / 0.7087 GB, free: 11.18 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 5.901e-06/0.6001, allocations: 0 / 0.7087 GB, free: 11.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.3717/0.9718, allocations: 36.16 MB / 0.744 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.9719, allocations: 207.7 kB / 0.7442 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004357/0.9762, allocations: 4.051 MB / 0.7482 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000413/0.9767, allocations: 69.39 kB / 0.7483 GB, free: 152 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001589/0.9782, allocations: 3.54 MB / 0.7517 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008273/0.9791, allocations: 1.025 MB / 0.7527 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001662/0.9807, allocations: 1.427 MB / 0.7541 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.628e-05/0.9808, allocations: 301.1 kB / 0.7544 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00368/0.9845, allocations: 3.285 MB / 0.7576 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00481/0.9893, allocations: 7.244 MB / 0.7647 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009603/0.9989, allocations: 11.23 MB / 0.7757 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-05/0.999, allocations: 38.12 kB / 0.7757 GB, free: 126.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02337/1.022, allocations: 13.2 MB / 0.7886 GB, free: 113.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000161/1.022, allocations: 67.98 kB / 0.7886 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001818/1.023, allocations: 136 kB / 0.7888 GB, free: 113.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009561/1.032, allocations: 3.389 MB / 0.7921 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005179/1.037, allocations: 1.579 MB / 0.7936 GB, free: 108.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/1.058, allocations: 16.88 MB / 0.8101 GB, free: 91.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/1.063, allocations: 435.5 kB / 0.8105 GB, free: 90.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/1.064, allocations: 415.4 kB / 0.8109 GB, free: 90.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * 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 (839): * Single equations (assignments): 835 * 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 {(4,51,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004134/1.068, allocations: 2.345 MB / 0.8132 GB, free: 88.05 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009992/1.069, allocations: 378.3 kB / 0.8136 GB, free: 87.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01485/1.084, allocations: 7.931 MB / 0.8213 GB, free: 79.73 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.776e-05/1.084, allocations: 24 kB / 0.8213 GB, free: 79.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-05/1.084, allocations: 12 kB / 0.8213 GB, free: 79.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.631e-05/1.084, allocations: 11.95 kB / 0.8214 GB, free: 79.69 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02704/1.111, allocations: 13.86 MB / 0.8349 GB, free: 65.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/1.112, allocations: 10.06 kB / 0.8349 GB, free: 65.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002031/1.114, allocations: 391.3 kB / 0.8353 GB, free: 65.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008924/1.122, allocations: 3.165 MB / 0.8384 GB, free: 62.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000416/1.123, allocations: 40 kB / 0.8384 GB, free: 62.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01832/1.141, allocations: 15.5 MB / 0.8535 GB, free: 46.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/1.141, allocations: 0 / 0.8535 GB, free: 46.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01866/1.16, allocations: 12.07 MB / 0.8653 GB, free: 34.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/1.161, allocations: 345.3 kB / 0.8657 GB, free: 34.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001073/1.162, allocations: 40 kB / 0.8657 GB, free: 34.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002514/1.165, allocations: 191 kB / 0.8659 GB, free: 33.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006824/1.165, allocations: 170 kB / 0.866 GB, free: 33.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000288/1.166, allocations: 64 kB / 0.8661 GB, free: 33.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003279/1.169, allocations: 2.345 MB / 0.8684 GB, free: 31.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.169, allocations: 0 / 0.8684 GB, free: 31.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00567/1.175, allocations: 1.34 MB / 0.8697 GB, free: 30.06 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (197): * Single equations (assignments): 193 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005449/1.175, allocations: 185.7 kB / 0.8699 GB, free: 29.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01002/1.185, allocations: 7.675 MB / 0.8774 GB, free: 22.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.185, allocations: 0 / 0.8774 GB, free: 22.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004375/1.189, allocations: 3.067 MB / 0.8804 GB, free: 19.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/1.193, allocations: 441.6 kB / 0.8808 GB, free: 18.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/1.21, allocations: 12.07 MB / 0.8926 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003787/1.213, allocations: 3.134 MB / 0.8956 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00424/1.218, allocations: 2.13 MB / 0.8977 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009342/1.219, allocations: 263.4 kB / 0.898 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/1.219, allocations: 0 / 0.898 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of Templates: time 0.1083/1.327, allocations: 61.94 MB / 0.9585 GB, free: 3.594 MB / 0.6231 GB " [Timeout remaining time 659] 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=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.870088474999648]