Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009602/0.0009603, allocations: 177.2 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.487/1.487, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008396/0.0008395, allocations: 86.62 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2012/0.2012, allocations: 43.49 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.49e-05/1.494e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4199/0.5385, allocations: 104.7 MB / 0.5682 GB, free: 7.035 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.5388, allocations: 83.98 kB / 0.5682 GB, free: 6.996 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3197/0.8585, allocations: 126.7 MB / 0.692 GB, free: 12 kB / 490.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.8585, allocations: 0 / 0.692 GB, free: 12 kB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003941/0.8589, allocations: 120 kB / 0.6921 GB, free: 15.89 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.0232/0.8821, allocations: 6.243 MB / 0.6982 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.8822, allocations: 12.03 kB / 0.6982 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02775/0.91, allocations: 6.465 MB / 0.7045 GB, free: 3.082 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3061/1.216, allocations: 8.548 MB / 0.7129 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004502/1.217, allocations: 185.4 kB / 0.7131 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003612/1.22, allocations: 347.6 kB / 0.7134 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02114/1.241, allocations: 10.55 MB / 0.7237 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0267/1.268, allocations: 13.72 MB / 0.7371 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002922/1.269, allocations: 66.14 kB / 0.7372 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001312/1.27, allocations: 26.48 kB / 0.7372 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002235/1.272, allocations: 1.697 MB / 0.7388 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07885/1.351, allocations: 53.37 MB / 0.791 GB, free: 77.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008141/1.359, allocations: 6.626 MB / 0.7974 GB, free: 73.75 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005834/1.365, allocations: 4.608 MB / 0.8019 GB, free: 71.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001841/1.367, allocations: 2.211 MB / 0.8041 GB, free: 69.85 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.794e-05/1.367, allocations: 66.84 kB / 0.8042 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=369): time 8.105e-06/1.367, allocations: 0 / 0.8042 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=431): time 0.07531/1.442, allocations: 35.81 MB / 0.8391 GB, free: 44.11 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/1.442, allocations: 120.1 kB / 0.8392 GB, free: 43.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007311/1.45, allocations: 3.537 MB / 0.8427 GB, free: 40.87 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001294/1.451, allocations: 25.7 kB / 0.8427 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002458/1.454, allocations: 4.002 MB / 0.8466 GB, free: 37.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002091/1.456, allocations: 1.487 MB / 0.8481 GB, free: 35.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000564/1.456, allocations: 0 / 0.8481 GB, free: 35.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003726/1.457, allocations: 0.6622 MB / 0.8487 GB, free: 35.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00446/1.461, allocations: 3.828 MB / 0.8525 GB, free: 31.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006347/1.467, allocations: 7.863 MB / 0.8601 GB, free: 22.75 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006689/1.474, allocations: 5.489 MB / 0.8655 GB, free: 18.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-05/1.474, allocations: 40 kB / 0.8655 GB, free: 18.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1077) (initialization): time 0.02422/1.499, allocations: 13.47 MB / 0.8787 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-05/1.499, allocations: 68 kB / 0.8788 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001334/1.499, allocations: 140 kB / 0.8789 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006962/1.506, allocations: 2.61 MB / 0.8814 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008059/1.514, allocations: 2.063 MB / 0.8835 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/1.531, allocations: 12.92 MB / 0.8961 GB, free: 7.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006905/1.538, allocations: 339.6 kB / 0.8964 GB, free: 6.918 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002092/1.54, allocations: 466.1 kB / 0.8968 GB, free: 6.465 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * Number of states: 0 () * Number of discrete variables: 48 (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.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (980): * Single equations (assignments): 972 * 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.00218/1.542, allocations: 485.3 kB / 0.8973 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001062/1.544, allocations: 462 kB / 0.8977 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3264/1.87, allocations: 10.25 MB / 0.9078 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00016/1.87, allocations: 64.64 kB / 0.9078 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.442e-05/1.87, allocations: 8.312 kB / 0.9078 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000136/1.87, allocations: 19.78 kB / 0.9078 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04357/1.914, allocations: 19.72 MB / 0.9271 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.37e-05/1.914, allocations: 11.53 kB / 0.9271 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004081/1.918, allocations: 0.8123 MB / 0.9279 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006554/1.925, allocations: 2.38 MB / 0.9302 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000895/1.926, allocations: 26.31 kB / 0.9303 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/1.939, allocations: 11.69 MB / 0.9417 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.226e-05/1.94, allocations: 14.38 kB / 0.9417 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0219/1.961, allocations: 16.15 MB / 0.9575 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003374/1.965, allocations: 1.151 MB / 0.9586 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001521/1.966, allocations: 21.73 kB / 0.9586 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003693/1.97, allocations: 239.6 kB / 0.9588 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008032/1.971, allocations: 271 kB / 0.9591 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003372/1.971, allocations: 136.5 kB / 0.9592 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004128/1.975, allocations: 2.375 MB / 0.9615 GB, free: 99.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.975, allocations: 0 / 0.9615 GB, free: 99.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00843/1.984, allocations: 1.466 MB / 0.963 GB, free: 99.49 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 338 * 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.0008666/1.985, allocations: 177.7 kB / 0.9631 GB, free: 99.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01389/1.999, allocations: 9.487 MB / 0.9724 GB, free: 96.44 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/1.999, allocations: 7.469 kB / 0.9724 GB, free: 96.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005433/2.004, allocations: 4.173 MB / 0.9765 GB, free: 94.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/2.008, allocations: 498.5 kB / 0.977 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.024/2.032, allocations: 13.31 MB / 0.99 GB, free: 90.03 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007266/2.039, allocations: 4.766 MB / 0.9946 GB, free: 88.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007506/2.047, allocations: 2.873 MB / 0.9974 GB, free: 87.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/2.048, allocations: 351.6 kB / 0.9977 GB, free: 87.13 MB / 0.5105 GB Notification: Performance of SimCode: time 2.745e-06/2.048, allocations: 4 kB / 0.9978 GB, free: 87.13 MB / 0.5105 GB Notification: Performance of Templates: time 0.09624/2.145, allocations: 59.45 MB / 1.056 GB, free: 37.72 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute2/Revolute2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches