Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001294, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.001424/0.001424, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.402/1.402, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2223/0.2223, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 63.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4488, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01541/0.4642, allocations: 13.28 MB / 0.5319 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01253/0.4768, allocations: 4.832 MB / 0.5366 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00433/0.4812, allocations: 87.66 kB / 0.5367 GB, free: 6.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009046/0.4903, allocations: 3.983 MB / 0.5406 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009269/0.4996, allocations: 2.199 MB / 0.5427 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004016/0.5037, allocations: 1.182 MB / 0.5439 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01175/0.5154, allocations: 5.738 MB / 0.5495 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008654/0.5241, allocations: 5.179 MB / 0.5545 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00503/0.5292, allocations: 2.181 MB / 0.5567 GB, free: 5.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005545/0.5348, allocations: 2.96 MB / 0.5595 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002431/0.5373, allocations: 0.5 MB / 0.56 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005207/0.5425, allocations: 1.662 MB / 0.5617 GB, free: 148 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004259/0.5468, allocations: 2.654 MB / 0.5642 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007254/0.5541, allocations: 3.026 MB / 0.5672 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01424/0.5683, allocations: 9.982 MB / 0.5769 GB, free: 432 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.5684, allocations: 0 / 0.5769 GB, free: 432 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5684, allocations: 0 / 0.5769 GB, free: 432 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004137/0.5688, allocations: 0 / 0.5769 GB, free: 432 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.0205/0.5893, allocations: 6.692 MB / 0.5835 GB, free: 9.641 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.5894, allocations: 12.03 kB / 0.5835 GB, free: 9.629 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/0.607, allocations: 2.743 MB / 0.5862 GB, free: 6.879 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00977/0.6168, allocations: 3.714 MB / 0.5898 GB, free: 3.105 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003914/0.6172, allocations: 350.2 kB / 0.5901 GB, free: 2.754 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001787/0.619, allocations: 435.8 kB / 0.5906 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02953/0.6486, allocations: 13.84 MB / 0.6041 GB, free: 3.629 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003057/0.6489, allocations: 59.47 kB / 0.6041 GB, free: 3.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001833/0.6508, allocations: 199.8 kB / 0.6043 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004022/0.6548, allocations: 2.406 MB / 0.6067 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02493/0.6798, allocations: 11.76 MB / 0.6181 GB, free: 5.195 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0668/0.7466, allocations: 51.63 MB / 0.6686 GB, free: 100 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01205/0.7587, allocations: 4.727 MB / 0.6732 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003735/0.7625, allocations: 2.964 MB / 0.6761 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01759/0.7801, allocations: 12.87 MB / 0.6886 GB, free: 10.8 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/0.7802, allocations: 59.81 kB / 0.6887 GB, free: 10.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=197): time 6.342e-06/0.7802, allocations: 3.984 kB / 0.6887 GB, free: 10.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.5035/1.284, allocations: 43.75 MB / 0.7314 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/1.284, allocations: 233.9 kB / 0.7317 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009243/1.293, allocations: 4.788 MB / 0.7363 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009226/1.294, allocations: 61.11 kB / 0.7364 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003006/1.297, allocations: 3.992 MB / 0.7403 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001577/1.299, allocations: 0.9782 MB / 0.7412 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002507/1.301, allocations: 1.519 MB / 0.7427 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.318e-05/1.301, allocations: 312.9 kB / 0.743 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004594/1.306, allocations: 3.44 MB / 0.7464 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006322/1.312, allocations: 7.705 MB / 0.7539 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01219/1.325, allocations: 11.87 MB / 0.7655 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001648/1.325, allocations: 48 kB / 0.7656 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02793/1.353, allocations: 14.5 MB / 0.7797 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002117/1.353, allocations: 68 kB / 0.7798 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002852/1.353, allocations: 152 kB / 0.7799 GB, free: 121.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/1.365, allocations: 4.024 MB / 0.7838 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005844/1.371, allocations: 1.63 MB / 0.7854 GB, free: 115.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02684/1.397, allocations: 19.85 MB / 0.8048 GB, free: 95.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00782/1.405, allocations: 463.4 kB / 0.8053 GB, free: 95.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001623/1.407, allocations: 436.1 kB / 0.8057 GB, free: 94.89 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (884): * Single equations (assignments): 880 * 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,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006164/1.413, allocations: 2.657 MB / 0.8083 GB, free: 92.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001814/1.415, allocations: 449 kB / 0.8087 GB, free: 91.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01845/1.434, allocations: 8.636 MB / 0.8171 GB, free: 83.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.664e-05/1.434, allocations: 33.88 kB / 0.8172 GB, free: 83.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.662e-05/1.434, allocations: 12 kB / 0.8172 GB, free: 83.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.411e-05/1.434, allocations: 15.89 kB / 0.8172 GB, free: 83.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04098/1.475, allocations: 17.83 MB / 0.8346 GB, free: 65.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.463e-05/1.475, allocations: 0 / 0.8346 GB, free: 65.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/1.477, allocations: 399.4 kB / 0.835 GB, free: 64.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01156/1.489, allocations: 4.077 MB / 0.839 GB, free: 60.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007496/1.489, allocations: 43.98 kB / 0.839 GB, free: 60.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02289/1.512, allocations: 18.21 MB / 0.8568 GB, free: 42.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.512, allocations: 4 kB / 0.8568 GB, free: 42.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02431/1.537, allocations: 13.26 MB / 0.8698 GB, free: 29.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001771/1.538, allocations: 494 kB / 0.8702 GB, free: 28.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001886/1.54, allocations: 36 kB / 0.8703 GB, free: 28.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003314/1.544, allocations: 215.7 kB / 0.8705 GB, free: 28.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008774/1.545, allocations: 153.9 kB / 0.8706 GB, free: 28.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000418/1.545, allocations: 63.98 kB / 0.8707 GB, free: 28.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005443/1.551, allocations: 2.981 MB / 0.8736 GB, free: 25.11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.8e-07/1.551, allocations: 4 kB / 0.8736 GB, free: 25.11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009906/1.56, allocations: 1.492 MB / 0.8751 GB, free: 23.62 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (173): * Single equations (assignments): 169 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/1.562, allocations: 226.6 kB / 0.8753 GB, free: 23.39 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01293/1.575, allocations: 8.276 MB / 0.8833 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/1.575, allocations: 4 kB / 0.8834 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00442/1.579, allocations: 3.119 MB / 0.8864 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005743/1.585, allocations: 0.5316 MB / 0.8869 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0254/1.61, allocations: 13.03 MB / 0.8996 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008397/1.619, allocations: 4.099 MB / 0.9036 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00562/1.624, allocations: 2.194 MB / 0.9058 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001189/1.626, allocations: 283.4 kB / 0.9061 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of SimCode: time 1.022e-06/1.626, allocations: 0 / 0.9061 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of Templates: time 0.4444/2.07, allocations: 61.14 MB / 0.9658 GB, free: 194.9 MB / 0.6075 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches