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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.254/1.254, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008455/0.0008453, allocations: 88.05 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.199/0.199, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.809e-05, allocations: 8 kB / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1197, allocations: 61.92 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4055/0.5252, allocations: 116.7 MB / 0.6156 GB, free: 4.605 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5255, allocations: 83.7 kB / 0.6157 GB, free: 4.527 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5563/1.082, allocations: 125.1 MB / 0.7379 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.673e-06/1.082, allocations: 0 / 0.7379 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000291/1.082, allocations: 107.4 kB / 0.738 GB, free: 121.6 MB / 0.5105 GB 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.01654/1.099, allocations: 5.629 MB / 0.7435 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/1.099, allocations: 10.81 kB / 0.7435 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0174/1.116, allocations: 4.729 MB / 0.7481 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01585/1.132, allocations: 6.342 MB / 0.7543 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004088/1.133, allocations: 445.1 kB / 0.7548 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002295/1.135, allocations: 0.5401 MB / 0.7553 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02716/1.162, allocations: 14.08 MB / 0.769 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001973/1.162, allocations: 72.19 kB / 0.7691 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009067/1.163, allocations: 263.6 kB / 0.7694 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00138/1.165, allocations: 1.296 MB / 0.7706 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02118/1.186, allocations: 11.66 MB / 0.782 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05685/1.243, allocations: 59.28 MB / 0.8399 GB, free: 61.35 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0103/1.253, allocations: 4.633 MB / 0.8444 GB, free: 57.34 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002695/1.256, allocations: 2.717 MB / 0.8471 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0144/1.27, allocations: 12.58 MB / 0.8594 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/1.27, allocations: 55.81 kB / 0.8594 GB, free: 42.37 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=191): time 4.198e-06/1.27, allocations: 0 / 0.8594 GB, free: 42.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=242): time 0.09001/1.36, allocations: 32.73 MB / 0.8914 GB, free: 9.496 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/1.36, allocations: 235.6 kB / 0.8916 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005316/1.366, allocations: 4.174 MB / 0.8957 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005166/1.366, allocations: 61.7 kB / 0.8957 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001528/1.368, allocations: 3.909 MB / 0.8996 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007074/1.368, allocations: 0.9188 MB / 0.9005 GB, free: 156 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/1.369, allocations: 140 kB / 0.9006 GB, free: 16 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004116/1.369, allocations: 0.6079 MB / 0.9012 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004302/1.373, allocations: 3.158 MB / 0.9043 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007009/1.38, allocations: 7.437 MB / 0.9115 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2973/1.678, allocations: 4.741 MB / 0.9162 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001298/1.678, allocations: 42.59 kB / 0.9162 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.0297/1.708, allocations: 13.67 MB / 0.9296 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.708, allocations: 69.16 kB / 0.9296 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001827/1.708, allocations: 150.4 kB / 0.9298 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01144/1.72, allocations: 3.8 MB / 0.9335 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005233/1.725, allocations: 1.615 MB / 0.935 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02205/1.747, allocations: 18.01 MB / 0.9526 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006046/1.753, allocations: 490.1 kB / 0.9531 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/1.754, allocations: 432.6 kB / 0.9535 GB, free: 117.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 689 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (859): * Single equations (assignments): 855 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001097/1.755, allocations: 0.6499 MB / 0.9542 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007517/1.756, allocations: 432.4 kB / 0.9546 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01568/1.772, allocations: 8.076 MB / 0.9625 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-05/1.772, allocations: 27.8 kB / 0.9625 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.338e-05/1.772, allocations: 14.16 kB / 0.9625 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.519e-05/1.772, allocations: 18.45 kB / 0.9625 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02999/1.802, allocations: 17.39 MB / 0.9795 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.138e-05/1.802, allocations: 0 / 0.9795 GB, free: 108.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/1.804, allocations: 385.2 kB / 0.9799 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01024/1.814, allocations: 3.852 MB / 0.9836 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004389/1.814, allocations: 42.95 kB / 0.9837 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01953/1.834, allocations: 16.45 MB / 0.9997 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/1.834, allocations: 0.5625 kB / 0.9997 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/1.854, allocations: 12.54 MB / 1.012 GB, free: 91.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/1.856, allocations: 472.2 kB / 1.012 GB, free: 90.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006281/1.856, allocations: 35.95 kB / 1.012 GB, free: 90.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002182/1.858, allocations: 213 kB / 1.013 GB, free: 90.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004951/1.859, allocations: 151.5 kB / 1.013 GB, free: 90.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/1.859, allocations: 60.69 kB / 1.013 GB, free: 90.62 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003802/1.863, allocations: 2.906 MB / 1.016 GB, free: 88.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.01e-07/1.863, allocations: 3.938 kB / 1.016 GB, free: 88.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005403/1.868, allocations: 1.454 MB / 1.017 GB, free: 86.61 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005375/1.869, allocations: 213.8 kB / 1.017 GB, free: 86.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00927/1.878, allocations: 7.739 MB / 1.025 GB, free: 79.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.878, allocations: 0 / 1.025 GB, free: 79.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003468/1.882, allocations: 2.913 MB / 1.028 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/1.885, allocations: 495.7 kB / 1.028 GB, free: 76.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/1.903, allocations: 10.61 MB / 1.039 GB, free: 66.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004047/1.907, allocations: 4.212 MB / 1.043 GB, free: 62.89 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004816/1.912, allocations: 2.173 MB / 1.045 GB, free: 60.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00075/1.913, allocations: 283.4 kB / 1.045 GB, free: 60.45 MB / 0.5261 GB Notification: Performance of SimCode: time 2.384e-06/1.913, allocations: 0 / 1.045 GB, free: 60.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.08213/1.995, allocations: 58.52 MB / 1.102 GB, free: 2.738 MB / 0.5261 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches