Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 107.4 kB / 18.45 MB, free: 4.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 186.2 kB / 19.38 MB, free: 3.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2039/0.2039, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3234, allocations: 60.82 MB / 0.5196 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01218/0.3356, allocations: 11.97 MB / 0.5313 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.3462, allocations: 4.368 MB / 0.5355 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002867/0.3491, allocations: 72 kB / 0.5356 GB, free: 7.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005901/0.355, allocations: 2.763 MB / 0.5383 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006342/0.3614, allocations: 2.028 MB / 0.5403 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.3641, allocations: 1.01 MB / 0.5413 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00858/0.3726, allocations: 5.286 MB / 0.5464 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004777/0.3774, allocations: 3.446 MB / 0.5498 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/0.3809, allocations: 1.756 MB / 0.5515 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004089/0.385, allocations: 2.449 MB / 0.5539 GB, free: 8.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001393/0.3865, allocations: 368 kB / 0.5542 GB, free: 8.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003534/0.39, allocations: 1.424 MB / 0.5556 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00313/0.3931, allocations: 2.209 MB / 0.5578 GB, free: 4.984 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004556/0.3977, allocations: 2.501 MB / 0.5602 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01092/0.4087, allocations: 8.074 MB / 0.5681 GB, free: 10.37 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.4087, allocations: 0 / 0.5681 GB, free: 10.37 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4087, allocations: 0 / 0.5681 GB, free: 10.37 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003081/0.409, allocations: 0 / 0.5681 GB, free: 10.37 MB / 430.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.01746/0.4265, allocations: 5.745 MB / 0.5737 GB, free: 4.551 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.4266, allocations: 8.031 kB / 0.5737 GB, free: 4.543 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01791/0.4445, allocations: 2.592 MB / 0.5763 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00738/0.4519, allocations: 3.213 MB / 0.5794 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002741/0.4522, allocations: 254.8 kB / 0.5797 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/0.4537, allocations: 355.6 kB / 0.58 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02377/0.4774, allocations: 12.35 MB / 0.5921 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002191/0.4777, allocations: 59.42 kB / 0.5921 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001195/0.4789, allocations: 167.8 kB / 0.5923 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004057/0.483, allocations: 2.373 MB / 0.5946 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02205/0.5051, allocations: 10.85 MB / 0.6052 GB, free: 3.445 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06724/0.5724, allocations: 48.61 MB / 0.6527 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01623/0.5887, allocations: 6.029 MB / 0.6585 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004577/0.5933, allocations: 3.307 MB / 0.6618 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02177/0.6151, allocations: 13.51 MB / 0.675 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.463e-05/0.6152, allocations: 55.88 kB / 0.675 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=204): time 5.601e-06/0.6152, allocations: 0 / 0.675 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=265): time 0.1127/0.7279, allocations: 36.31 MB / 0.7105 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.7281, allocations: 210.2 kB / 0.7107 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007362/0.7355, allocations: 4.369 MB / 0.7149 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007119/0.7362, allocations: 61.7 kB / 0.715 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.2629/0.9991, allocations: 3.377 MB / 0.7183 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001376/1.001, allocations: 0.9857 MB / 0.7193 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002201/1.003, allocations: 1.42 MB / 0.7206 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.494e-05/1.003, allocations: 303.1 kB / 0.7209 GB, free: 169.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005721/1.009, allocations: 3.286 MB / 0.7241 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007952/1.017, allocations: 7.204 MB / 0.7312 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/1.03, allocations: 11.24 MB / 0.7422 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001731/1.03, allocations: 37.44 kB / 0.7422 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02443/1.054, allocations: 13.27 MB / 0.7551 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.536e-05/1.054, allocations: 65.88 kB / 0.7552 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/1.055, allocations: 140.8 kB / 0.7553 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008855/1.063, allocations: 3.406 MB / 0.7587 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006125/1.07, allocations: 1.575 MB / 0.7602 GB, free: 144 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02202/1.092, allocations: 17.54 MB / 0.7773 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006491/1.098, allocations: 435.4 kB / 0.7778 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001235/1.099, allocations: 412 kB / 0.7781 GB, free: 125.5 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 (841): * Single equations (assignments): 837 * 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,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003564/1.103, allocations: 2.34 MB / 0.7804 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007673/1.104, allocations: 410.8 kB / 0.7808 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/1.117, allocations: 8.002 MB / 0.7886 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.087e-05/1.117, allocations: 28 kB / 0.7887 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-05/1.117, allocations: 11.88 kB / 0.7887 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.44e-05/1.118, allocations: 19.95 kB / 0.7887 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02382/1.141, allocations: 15.38 MB / 0.8037 GB, free: 99.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.181e-05/1.141, allocations: 4 kB / 0.8037 GB, free: 99.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/1.143, allocations: 387.4 kB / 0.8041 GB, free: 98.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008387/1.152, allocations: 3.165 MB / 0.8072 GB, free: 95.74 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004215/1.152, allocations: 39.98 kB / 0.8072 GB, free: 95.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01773/1.17, allocations: 15.8 MB / 0.8226 GB, free: 79.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.17, allocations: 4 kB / 0.8226 GB, free: 79.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01733/1.187, allocations: 12.15 MB / 0.8345 GB, free: 67.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.188, allocations: 447.8 kB / 0.8349 GB, free: 67.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007791/1.189, allocations: 47.98 kB / 0.835 GB, free: 67.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.191, allocations: 191.3 kB / 0.8352 GB, free: 66.85 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00058/1.192, allocations: 154.2 kB / 0.8353 GB, free: 66.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000188/1.192, allocations: 67.94 kB / 0.8354 GB, free: 66.63 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003051/1.195, allocations: 2.737 MB / 0.8381 GB, free: 63.89 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.81e-07/1.195, allocations: 0 / 0.8381 GB, free: 63.89 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00524/1.2, allocations: 1.368 MB / 0.8394 GB, free: 62.52 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.0004782/1.201, allocations: 177.4 kB / 0.8396 GB, free: 62.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01139/1.212, allocations: 8.216 MB / 0.8476 GB, free: 54.15 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/1.212, allocations: 4 kB / 0.8476 GB, free: 54.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004591/1.217, allocations: 3.309 MB / 0.8508 GB, free: 50.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00381/1.221, allocations: 0.4992 MB / 0.8513 GB, free: 50.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/1.242, allocations: 12.35 MB / 0.8634 GB, free: 37.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003618/1.246, allocations: 3.65 MB / 0.8669 GB, free: 34.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001475/1.247, allocations: 335.4 kB / 0.8672 GB, free: 33.94 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/1.247, allocations: 0 / 0.8672 GB, free: 33.94 MB / 0.5606 GB Notification: Performance of Templates: time 0.3851/1.633, allocations: 93.03 MB / 0.9581 GB, free: 198.5 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches