Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 180.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008471/0.0008471, allocations: 94.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1799/0.1799, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004696, allocations: 12 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1097, allocations: 58.86 MB / 490.2 MB, free: 8.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.292/0.4017, allocations: 102.4 MB / 0.5787 GB, free: 13.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.402, allocations: 79.2 kB / 0.5788 GB, free: 13.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2153/0.6173, allocations: 86.51 MB / 0.6633 GB, free: 14.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.6173, allocations: 0 / 0.6633 GB, free: 14.89 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001519/0.6175, allocations: 68 kB / 0.6633 GB, free: 14.82 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01171/0.6292, allocations: 3.806 MB / 0.6671 GB, free: 10.95 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.6293, allocations: 12.03 kB / 0.6671 GB, free: 10.94 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01434/0.6436, allocations: 3.504 MB / 0.6705 GB, free: 7.426 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01127/0.655, allocations: 4.184 MB / 0.6746 GB, free: 3.195 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/0.6553, allocations: 295.7 kB / 0.6749 GB, free: 2.906 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00242/0.6577, allocations: 383.9 kB / 0.6752 GB, free: 2.531 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02411/0.6819, allocations: 10.33 MB / 0.6853 GB, free: 7.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/0.6821, allocations: 23.72 kB / 0.6853 GB, free: 7.727 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007019/0.6828, allocations: 179.9 kB / 0.6855 GB, free: 7.551 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001594/0.6844, allocations: 1.211 MB / 0.6867 GB, free: 6.336 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.7021, allocations: 10.02 MB / 0.6965 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2396/0.9417, allocations: 35.57 MB / 0.7312 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007823/0.9496, allocations: 4.956 MB / 0.7361 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/0.9509, allocations: 1.89 MB / 0.7379 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.9509, allocations: 52.84 kB / 0.738 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=229): time 4.439e-06/0.9509, allocations: 1.875 kB / 0.738 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=235): time 0.02588/0.9768, allocations: 14.36 MB / 0.752 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.9769, allocations: 72.41 kB / 0.752 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002839/0.9797, allocations: 2.386 MB / 0.7544 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002604/0.98, allocations: 58.58 kB / 0.7544 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/0.9811, allocations: 2.713 MB / 0.7571 GB, free: 99.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006225/0.9817, allocations: 0.8504 MB / 0.7579 GB, free: 99.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001968/0.9819, allocations: 105.2 kB / 0.758 GB, free: 99.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.9821, allocations: 0.5318 MB / 0.7585 GB, free: 98.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.9843, allocations: 2.183 MB / 0.7607 GB, free: 98.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/0.9875, allocations: 5.083 MB / 0.7656 GB, free: 94.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00338/0.9909, allocations: 3.321 MB / 0.7689 GB, free: 93.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-05/0.9909, allocations: 34.09 kB / 0.7689 GB, free: 93.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=699) (initialization): time 0.01097/1.002, allocations: 7.876 MB / 0.7766 GB, free: 91.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.677e-05/1.002, allocations: 46.88 kB / 0.7766 GB, free: 91.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.133e-05/1.002, allocations: 106.5 kB / 0.7767 GB, free: 91.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001999/1.004, allocations: 0.8041 MB / 0.7775 GB, free: 91.41 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/1.007, allocations: 1.203 MB / 0.7787 GB, free: 91.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004501/1.012, allocations: 4.239 MB / 0.7828 GB, free: 89.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003368/1.015, allocations: 289.8 kB / 0.7831 GB, free: 88.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006084/1.016, allocations: 304.7 kB / 0.7834 GB, free: 88.91 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 27 (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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (639): * Single equations (assignments): 632 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002905/1.019, allocations: 2.054 MB / 0.7854 GB, free: 87.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003251/1.019, allocations: 268.7 kB / 0.7857 GB, free: 87.85 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006185/1.025, allocations: 4.701 MB / 0.7903 GB, free: 86.29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.75e-05/1.025, allocations: 49.89 kB / 0.7903 GB, free: 86.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/1.025, allocations: 3.688 kB / 0.7903 GB, free: 86.28 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/1.026, allocations: 10.31 kB / 0.7903 GB, free: 86.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/1.04, allocations: 10.63 MB / 0.8007 GB, free: 82.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/1.04, allocations: 6.938 kB / 0.8007 GB, free: 82.66 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/1.042, allocations: 362.4 kB / 0.8011 GB, free: 82.64 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/1.043, allocations: 0.6464 MB / 0.8017 GB, free: 82.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/1.044, allocations: 45.52 kB / 0.8017 GB, free: 82.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003641/1.047, allocations: 3.692 MB / 0.8053 GB, free: 79.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.047, allocations: 11.94 kB / 0.8053 GB, free: 79.38 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008408/1.056, allocations: 7.669 MB / 0.8128 GB, free: 72.47 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/1.058, allocations: 0.6488 MB / 0.8135 GB, free: 71.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003866/1.058, allocations: 41.77 kB / 0.8135 GB, free: 71.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/1.059, allocations: 138.4 kB / 0.8136 GB, free: 71.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/1.059, allocations: 140.4 kB / 0.8138 GB, free: 71.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.06, allocations: 60 kB / 0.8138 GB, free: 71.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002194/1.062, allocations: 1.633 MB / 0.8154 GB, free: 70.23 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/1.062, allocations: 0 / 0.8154 GB, free: 70.23 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004028/1.066, allocations: 0.9478 MB / 0.8163 GB, free: 69.29 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (178): * Single equations (assignments): 171 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004324/1.066, allocations: 188.1 kB / 0.8165 GB, free: 69.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006461/1.073, allocations: 5.339 MB / 0.8217 GB, free: 64.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.073, allocations: 0 / 0.8217 GB, free: 64.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001993/1.075, allocations: 2.017 MB / 0.8237 GB, free: 62.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/1.076, allocations: 318 kB / 0.824 GB, free: 62.37 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01453/1.091, allocations: 11.3 MB / 0.835 GB, free: 51.93 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002782/1.094, allocations: 3.312 MB / 0.8383 GB, free: 49.36 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004082/1.098, allocations: 1.973 MB / 0.8402 GB, free: 48.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006599/1.098, allocations: 202.6 kB / 0.8404 GB, free: 47.91 MB / 0.4948 GB Notification: Performance of SimCode: time 1.954e-06/1.098, allocations: 3.938 kB / 0.8404 GB, free: 47.91 MB / 0.4948 GB Notification: Performance of Templates: time 0.04804/1.146, allocations: 28.97 MB / 0.8687 GB, free: 21.17 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches