Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.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.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2") translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 177 kB / 17.06 MB, free: 5.094 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.325/1.325, allocations: 223.2 MB / 241 MB, free: 11.86 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.0009428/0.0009429, allocations: 99.06 kB / 292.2 MB, free: 10.89 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.3194/0.3194, allocations: 44.21 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003145, allocations: 12 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3361, allocations: 61.9 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1361/0.4723, allocations: 106.9 MB / 0.614 GB, free: 4.133 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002986/0.4726, allocations: 87.95 kB / 0.6141 GB, free: 4.047 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.556/1.029, allocations: 128.5 MB / 0.7396 GB, free: 93.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.994e-06/1.029, allocations: 0 / 0.7396 GB, free: 93.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003149/1.029, allocations: 112.3 kB / 0.7397 GB, free: 93.05 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: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.02005/1.049, allocations: 6.566 MB / 0.7461 GB, free: 89.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/1.049, allocations: 9.781 kB / 0.7461 GB, free: 89.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0244/1.074, allocations: 6.435 MB / 0.7524 GB, free: 88.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02103/1.095, allocations: 7.986 MB / 0.7602 GB, free: 84.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008453/1.096, allocations: 428.9 kB / 0.7606 GB, free: 83.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004952/1.101, allocations: 0.569 MB / 0.7611 GB, free: 83.76 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03436/1.135, allocations: 15.25 MB / 0.776 GB, free: 69.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006966/1.136, allocations: 51.5 kB / 0.7761 GB, free: 69.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00368/1.139, allocations: 259.7 kB / 0.7763 GB, free: 69.11 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002489/1.142, allocations: 1.663 MB / 0.7779 GB, free: 67.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02887/1.171, allocations: 14.75 MB / 0.7923 GB, free: 52.68 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07805/1.249, allocations: 55.44 MB / 0.8465 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01795/1.267, allocations: 8.002 MB / 0.8543 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001984/1.269, allocations: 2.215 MB / 0.8565 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/1.269, allocations: 69.11 kB / 0.8565 GB, free: 1.258 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=367): time 6.482e-06/1.269, allocations: 4 kB / 0.8565 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of matching and sorting (n=419): time 0.3587/1.628, allocations: 39.44 MB / 0.8951 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.307e-05/1.628, allocations: 118.4 kB / 0.8952 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007934/1.636, allocations: 3.8 MB / 0.8989 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001115/1.637, allocations: 84.55 kB / 0.899 GB, free: 114 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002332/1.639, allocations: 3.834 MB / 0.9027 GB, free: 112 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001951/1.641, allocations: 1.49 MB / 0.9042 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/1.642, allocations: 154.4 kB / 0.9043 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006158/1.643, allocations: 0.6328 MB / 0.9049 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006488/1.649, allocations: 3.877 MB / 0.9087 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01127/1.661, allocations: 7.627 MB / 0.9162 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009178/1.67, allocations: 5.42 MB / 0.9215 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002635/1.67, allocations: 36.5 kB / 0.9215 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.03148/1.702, allocations: 14.01 MB / 0.9352 GB, free: 97.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002079/1.702, allocations: 62.5 kB / 0.9352 GB, free: 97.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002563/1.702, allocations: 126.6 kB / 0.9354 GB, free: 97.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007762/1.71, allocations: 2.632 MB / 0.9379 GB, free: 96.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007757/1.718, allocations: 1.927 MB / 0.9398 GB, free: 96.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/1.736, allocations: 14.07 MB / 0.9536 GB, free: 89.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007896/1.744, allocations: 481.2 kB / 0.954 GB, free: 89.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002594/1.747, allocations: 434.5 kB / 0.9544 GB, free: 89.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 50 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (914): * Single equations (assignments): 906 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009256/1.756, allocations: 2.867 MB / 0.9572 GB, free: 88.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001798/1.758, allocations: 462.7 kB / 0.9577 GB, free: 88.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01963/1.777, allocations: 10.42 MB / 0.9678 GB, free: 82.32 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.943e-05/1.777, allocations: 68.84 kB / 0.9679 GB, free: 82.27 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.754e-05/1.777, allocations: 9.625 kB / 0.9679 GB, free: 82.26 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.168e-05/1.777, allocations: 20.72 kB / 0.9679 GB, free: 82.26 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04444/1.822, allocations: 20.96 MB / 0.9884 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.104e-05/1.822, allocations: 18.7 kB / 0.9884 GB, free: 65.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003804/1.826, allocations: 0.7819 MB / 0.9892 GB, free: 64.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006956/1.833, allocations: 2.414 MB / 0.9915 GB, free: 63.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008608/1.834, allocations: 77.12 kB / 0.9916 GB, free: 63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/1.848, allocations: 12.83 MB / 1.004 GB, free: 51.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/1.848, allocations: 15.94 kB / 1.004 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02291/1.871, allocations: 16.21 MB / 1.02 GB, free: 34.13 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/1.873, allocations: 0.4912 MB / 1.02 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001426/1.874, allocations: 83.62 kB / 1.021 GB, free: 33.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003224/1.877, allocations: 296.7 kB / 1.021 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00092/1.878, allocations: 273.4 kB / 1.021 GB, free: 32.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005053/1.879, allocations: 120 kB / 1.021 GB, free: 32.87 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004305/1.883, allocations: 2.655 MB / 1.024 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.1e-07/1.883, allocations: 0 / 1.024 GB, free: 30.21 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007943/1.891, allocations: 1.639 MB / 1.025 GB, free: 28.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.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 (334): * Single equations (assignments): 326 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/1.892, allocations: 246.8 kB / 1.026 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01376/1.906, allocations: 9.688 MB / 1.035 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/1.906, allocations: 4.875 kB / 1.035 GB, free: 18.62 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0062/1.912, allocations: 4.242 MB / 1.039 GB, free: 14.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004348/1.916, allocations: 0.6297 MB / 1.04 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02806/1.945, allocations: 18.13 MB / 1.058 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006223/1.951, allocations: 4.672 MB / 1.062 GB, free: 6.785 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007039/1.958, allocations: 2.731 MB / 1.065 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/1.959, allocations: 347.3 kB / 1.065 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of SimCode: time 2.124e-06/1.959, allocations: 0 / 1.065 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of Templates: time 0.3675/2.327, allocations: 64.93 MB / 1.129 GB, free: 112.1 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches