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.001358/0.001358, allocations: 182.5 kB / 18.09 MB, free: 3.73 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.447/1.447, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008636/0.0008637, allocations: 95.17 kB / 293.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3751/0.3751, allocations: 44.14 MB / 388.5 MB, free: 38.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003982, allocations: 12 kB / 461.1 MB, free: 1.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3728/0.3733, allocations: 61.88 MB / 0.5107 GB, free: 38.31 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.511, allocations: 116.9 MB / 0.6249 GB, free: 10.11 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.5113, allocations: 83.94 kB / 0.625 GB, free: 10.04 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5783/1.09, allocations: 123.4 MB / 0.7455 GB, free: 92.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.926e-06/1.09, allocations: 0 / 0.7455 GB, free: 92.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004251/1.09, allocations: 110.7 kB / 0.7456 GB, free: 92.79 MB / 490.7 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.01838/1.108, allocations: 5.786 MB / 0.7512 GB, free: 89.71 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/1.109, allocations: 10.28 kB / 0.7512 GB, free: 89.71 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01654/1.125, allocations: 3.876 MB / 0.755 GB, free: 87.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/1.138, allocations: 5.197 MB / 0.7601 GB, free: 84.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004818/1.138, allocations: 444.5 kB / 0.7605 GB, free: 84.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002851/1.141, allocations: 0.5437 MB / 0.761 GB, free: 84.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02933/1.17, allocations: 14.07 MB / 0.7748 GB, free: 71.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003467/1.171, allocations: 71.33 kB / 0.7748 GB, free: 71.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002136/1.173, allocations: 263.9 kB / 0.7751 GB, free: 71.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001659/1.175, allocations: 1.286 MB / 0.7763 GB, free: 70.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02334/1.198, allocations: 11.69 MB / 0.7878 GB, free: 58.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06782/1.266, allocations: 59.2 MB / 0.8456 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01259/1.278, allocations: 4.67 MB / 0.8501 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004359/1.283, allocations: 2.734 MB / 0.8528 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02043/1.303, allocations: 12.48 MB / 0.865 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.618e-05/1.303, allocations: 47.88 kB / 0.8651 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=191): time 4.638e-06/1.303, allocations: 4 kB / 0.8651 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of matching and sorting (n=242): time 0.4271/1.73, allocations: 39.48 MB / 0.9036 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/1.731, allocations: 236.4 kB / 0.9038 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01585/1.747, allocations: 4.767 MB / 0.9085 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007968/1.747, allocations: 63.94 kB / 0.9085 GB, free: 115.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004691/1.752, allocations: 3.908 MB / 0.9124 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001865/1.754, allocations: 0.9119 MB / 0.9133 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001363/1.755, allocations: 146.9 kB / 0.9134 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001019/1.756, allocations: 0.6073 MB / 0.914 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007047/1.763, allocations: 3.256 MB / 0.9172 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008594/1.772, allocations: 7.562 MB / 0.9246 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0148/1.787, allocations: 11.6 MB / 0.9359 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002496/1.787, allocations: 44.78 kB / 0.9359 GB, free: 95.93 MB / 0.5105 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.03253/1.82, allocations: 13.87 MB / 0.9495 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002416/1.82, allocations: 70.88 kB / 0.9495 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000323/1.82, allocations: 151.8 kB / 0.9497 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01071/1.831, allocations: 3.791 MB / 0.9534 GB, free: 90.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005585/1.837, allocations: 1.613 MB / 0.955 GB, free: 90.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02355/1.86, allocations: 18.09 MB / 0.9726 GB, free: 77.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00748/1.868, allocations: 486.7 kB / 0.9731 GB, free: 77.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001751/1.87, allocations: 437.5 kB / 0.9735 GB, free: 76.72 MB / 0.5105 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 () * Number of clocked 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.00693/1.877, allocations: 2.656 MB / 0.9761 GB, free: 74.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/1.878, allocations: 434.4 kB / 0.9765 GB, free: 73.95 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/1.895, allocations: 8.146 MB / 0.9845 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.315e-05/1.895, allocations: 25.41 kB / 0.9845 GB, free: 67.72 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-05/1.896, allocations: 12 kB / 0.9845 GB, free: 67.71 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-05/1.896, allocations: 15.11 kB / 0.9845 GB, free: 67.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03724/1.933, allocations: 17.45 MB / 1.002 GB, free: 52.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-05/1.933, allocations: 0 / 1.002 GB, free: 52.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001999/1.935, allocations: 383.4 kB / 1.002 GB, free: 52.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01031/1.945, allocations: 3.866 MB / 1.006 GB, free: 48.22 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000569/1.946, allocations: 36.86 kB / 1.006 GB, free: 48.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02037/1.966, allocations: 16.53 MB / 1.022 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.966, allocations: 0 / 1.022 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02148/1.988, allocations: 12.54 MB / 1.034 GB, free: 18.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001755/1.99, allocations: 471.2 kB / 1.035 GB, free: 18.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001639/1.991, allocations: 36 kB / 1.035 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003238/1.995, allocations: 216.3 kB / 1.035 GB, free: 18.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007823/1.995, allocations: 142.2 kB / 1.035 GB, free: 18.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003095/1.996, allocations: 69.31 kB / 1.035 GB, free: 18.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006943/2.003, allocations: 2.975 MB / 1.038 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.51e-07/2.003, allocations: 0 / 1.038 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009156/2.012, allocations: 1.459 MB / 1.039 GB, free: 13.61 MB / 0.5105 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 (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.001044/2.013, allocations: 215.9 kB / 1.04 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01301/2.026, allocations: 7.873 MB / 1.047 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/2.026, allocations: 4 kB / 1.047 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004366/2.03, allocations: 2.967 MB / 1.05 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005732/2.036, allocations: 0.5154 MB / 1.051 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02979/2.066, allocations: 14.89 MB / 1.065 GB, free: 3.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.297/2.363, allocations: 4.084 MB / 1.069 GB, free: 138.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007338/2.37, allocations: 2.178 MB / 1.071 GB, free: 138.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001141/2.371, allocations: 275.8 kB / 1.072 GB, free: 138.2 MB / 0.5417 GB Notification: Performance of SimCode: time 8.72e-07/2.371, allocations: 0 / 1.072 GB, free: 138.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.107/2.479, allocations: 58.63 MB / 1.129 GB, free: 131 MB / 0.5417 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/jenkins1/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