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.001882/0.001883, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.002057/0.002057, allocations: 194 kB / 18.12 MB, free: 5.383 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.486/1.486, allocations: 222.9 MB / 241.8 MB, free: 15.43 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.2249/0.2249, allocations: 44.17 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.73 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1429, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.03976/0.1827, allocations: 43.41 MB / 0.4999 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3373/0.52, allocations: 9.637 MB / 0.5093 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01277/0.5328, allocations: 186.6 kB / 0.5095 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006816/0.5397, allocations: 2.745 MB / 0.5122 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007337/0.5471, allocations: 1.911 MB / 0.5141 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003437/0.5506, allocations: 0.9286 MB / 0.515 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01205/0.5626, allocations: 7.415 MB / 0.5222 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005869/0.5685, allocations: 3.351 MB / 0.5255 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003571/0.5721, allocations: 1.556 MB / 0.527 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004277/0.5764, allocations: 2.606 MB / 0.5296 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001572/0.578, allocations: 250.4 kB / 0.5298 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003986/0.582, allocations: 1.395 MB / 0.5312 GB, free: 4.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003469/0.5855, allocations: 2.115 MB / 0.5332 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005788/0.5913, allocations: 2.394 MB / 0.5356 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.6031, allocations: 7.724 MB / 0.5431 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.6031, allocations: 0 / 0.5431 GB, free: 11.4 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6032, allocations: 0 / 0.5431 GB, free: 11.4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000451/0.6036, allocations: 0 / 0.5431 GB, free: 11.4 MB / 398.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.01966/0.6233, allocations: 5.758 MB / 0.5487 GB, free: 5.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/0.6234, allocations: 11.97 kB / 0.5487 GB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01692/0.6403, allocations: 2.592 MB / 0.5513 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008919/0.6492, allocations: 3.147 MB / 0.5543 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003399/0.6496, allocations: 261.2 kB / 0.5546 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001987/0.6516, allocations: 351 kB / 0.5549 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02993/0.6816, allocations: 12.36 MB / 0.567 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004204/0.682, allocations: 51.53 kB / 0.567 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002071/0.6841, allocations: 170.2 kB / 0.5672 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004327/0.6885, allocations: 2.376 MB / 0.5695 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02493/0.7134, allocations: 10.84 MB / 0.5801 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06695/0.7804, allocations: 48.81 MB / 0.6278 GB, free: 3.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0159/0.7964, allocations: 6.036 MB / 0.6337 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004387/0.8008, allocations: 3.312 MB / 0.6369 GB, free: 9.516 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02056/0.8214, allocations: 13.52 MB / 0.6501 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.781e-05/0.8215, allocations: 51.88 kB / 0.6502 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 4.94e-06/0.8215, allocations: 0 / 0.6502 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.1065/0.928, allocations: 36.29 MB / 0.6856 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001948/0.9283, allocations: 205.9 kB / 0.6858 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008253/0.9365, allocations: 4.357 MB / 0.69 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007706/0.9373, allocations: 65.7 kB / 0.6901 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002583/0.9399, allocations: 3.387 MB / 0.6934 GB, free: 15.14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001515/0.9415, allocations: 0.9833 MB / 0.6944 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002226/0.9437, allocations: 1.419 MB / 0.6958 GB, free: 12.74 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.9438, allocations: 301.1 kB / 0.696 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005107/0.9489, allocations: 3.289 MB / 0.6993 GB, free: 9.152 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008575/0.9575, allocations: 7.204 MB / 0.7063 GB, free: 28 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3019/1.259, allocations: 11.23 MB / 0.7173 GB, free: 190.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001308/1.26, allocations: 44 kB / 0.7173 GB, free: 190.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02951/1.289, allocations: 13.27 MB / 0.7303 GB, free: 186.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.443e-05/1.289, allocations: 67.53 kB / 0.7303 GB, free: 186.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001632/1.289, allocations: 136.8 kB / 0.7305 GB, free: 186.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009153/1.299, allocations: 3.401 MB / 0.7338 GB, free: 185.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00496/1.304, allocations: 1.575 MB / 0.7353 GB, free: 185.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02233/1.326, allocations: 16.38 MB / 0.7513 GB, free: 176.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006293/1.332, allocations: 430.7 kB / 0.7517 GB, free: 176.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001468/1.334, allocations: 419.8 kB / 0.7521 GB, free: 176.1 MB / 0.545 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.004117/1.338, allocations: 2.346 MB / 0.7544 GB, free: 173.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000893/1.339, allocations: 407.5 kB / 0.7548 GB, free: 173.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/1.352, allocations: 8 MB / 0.7626 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.79e-05/1.352, allocations: 28 kB / 0.7626 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.662e-05/1.352, allocations: 8 kB / 0.7626 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-05/1.352, allocations: 19.89 kB / 0.7627 GB, free: 165.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02533/1.378, allocations: 15.54 MB / 0.7778 GB, free: 150.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-05/1.378, allocations: 9.016 kB / 0.7779 GB, free: 150.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001842/1.38, allocations: 383.4 kB / 0.7782 GB, free: 149.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008286/1.388, allocations: 3.161 MB / 0.7813 GB, free: 146.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003752/1.388, allocations: 40 kB / 0.7813 GB, free: 146.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/1.405, allocations: 14.66 MB / 0.7957 GB, free: 131.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.405, allocations: 0 / 0.7957 GB, free: 131.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01762/1.423, allocations: 12.14 MB / 0.8075 GB, free: 119.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.424, allocations: 451.8 kB / 0.8079 GB, free: 119.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005675/1.425, allocations: 44 kB / 0.808 GB, free: 119.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/1.427, allocations: 187.7 kB / 0.8082 GB, free: 118.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006478/1.428, allocations: 154.2 kB / 0.8083 GB, free: 118.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002076/1.428, allocations: 71.05 kB / 0.8084 GB, free: 118.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003164/1.431, allocations: 2.729 MB / 0.811 GB, free: 116 MB / 0.545 GB Notification: Performance of sort global known variables: time 3e-07/1.431, allocations: 0 / 0.811 GB, free: 116 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005314/1.436, allocations: 1.37 MB / 0.8124 GB, free: 114.6 MB / 0.545 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.0005009/1.437, allocations: 178.8 kB / 0.8126 GB, free: 114.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01103/1.448, allocations: 8.188 MB / 0.8205 GB, free: 106.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.448, allocations: 4 kB / 0.8206 GB, free: 106.2 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004345/1.452, allocations: 3.319 MB / 0.8238 GB, free: 102.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003199/1.455, allocations: 489.4 kB / 0.8243 GB, free: 102.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.474, allocations: 14.27 MB / 0.8382 GB, free: 88.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003542/1.477, allocations: 3.67 MB / 0.8418 GB, free: 84.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007244/1.485, allocations: 2.18 MB / 0.8439 GB, free: 82.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/1.486, allocations: 279.4 kB / 0.8442 GB, free: 82 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/1.486, allocations: 0 / 0.8442 GB, free: 82 MB / 0.545 GB Notification: Performance of Templates: time 0.1037/1.59, allocations: 58.13 MB / 0.9009 GB, free: 24.11 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/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