Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.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) 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(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009871/0.0009871, allocations: 181 kB / 17.02 MB, free: 5.125 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.309/1.309, allocations: 205.4 MB / 223.1 MB, free: 9.137 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.0008582/0.0008582, allocations: 94.59 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002769/0.0002769, allocations: 12 kB / 328.3 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.275, allocations: 47.57 MB / 375.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.3925, allocations: 90.56 MB / 466.4 MB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.3928, allocations: 95.94 kB / 466.5 MB, free: 6 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.377/0.7698, allocations: 57.68 MB / 0.5119 GB, free: 94.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.7698, allocations: 0 / 0.5119 GB, free: 94.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.097e-05/0.7699, allocations: 50.44 kB / 0.5119 GB, free: 94.14 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.005802/0.7757, allocations: 2.667 MB / 0.5145 GB, free: 92.85 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.7758, allocations: 9.594 kB / 0.5145 GB, free: 92.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007724/0.7835, allocations: 1.962 MB / 0.5164 GB, free: 92.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008787/0.7924, allocations: 3.298 MB / 0.5197 GB, free: 92.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.7926, allocations: 186.2 kB / 0.5198 GB, free: 92.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007837/0.7934, allocations: 241.6 kB / 0.5201 GB, free: 92.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009942/0.8033, allocations: 6.806 MB / 0.5267 GB, free: 87.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001258/0.8035, allocations: 50.02 kB / 0.5268 GB, free: 87.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004968/0.804, allocations: 122.9 kB / 0.5269 GB, free: 87.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009243/0.8049, allocations: 0.7149 MB / 0.5276 GB, free: 86.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008735/0.8137, allocations: 5.84 MB / 0.5333 GB, free: 81.1 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02933/0.843, allocations: 33.4 MB / 0.5659 GB, free: 46.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004218/0.8473, allocations: 2.299 MB / 0.5682 GB, free: 44.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.311e-05/0.8474, allocations: 11.2 kB / 0.5682 GB, free: 44.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.8475, allocations: 46.45 kB / 0.5682 GB, free: 44.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 5.63e-06/0.8475, allocations: 0 / 0.5682 GB, free: 44.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=106): time 0.01861/0.8661, allocations: 8.727 MB / 0.5767 GB, free: 35.26 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.8662, allocations: 136.5 kB / 0.5769 GB, free: 35.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004268/0.8705, allocations: 2.565 MB / 0.5794 GB, free: 32.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001518/0.8706, allocations: 37.7 kB / 0.5794 GB, free: 32.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001149/0.8718, allocations: 2.083 MB / 0.5814 GB, free: 30.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004696/0.8723, allocations: 437.7 kB / 0.5819 GB, free: 29.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.8726, allocations: 88 kB / 0.5819 GB, free: 29.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002645/0.8729, allocations: 499.6 kB / 0.5824 GB, free: 29.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/0.8749, allocations: 1.414 MB / 0.5838 GB, free: 27.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003044/0.878, allocations: 4.212 MB / 0.5879 GB, free: 22.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/0.8811, allocations: 2.4 MB / 0.5903 GB, free: 19.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.471e-05/0.8812, allocations: 32 kB / 0.5903 GB, free: 19.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.009812/0.891, allocations: 6.081 MB / 0.5962 GB, free: 13.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.505e-05/0.8911, allocations: 48 kB / 0.5963 GB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/0.8913, allocations: 104 kB / 0.5964 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/0.8934, allocations: 0.8047 MB / 0.5972 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/0.8964, allocations: 0.998 MB / 0.5981 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005365/0.9018, allocations: 4.212 MB / 0.6022 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003949/0.9057, allocations: 275.6 kB / 0.6025 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007423/0.9065, allocations: 276 kB / 0.6028 GB, free: 6.984 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 457 * Number of states: 0 () * Number of discrete variables: 18 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (531): * Single equations (assignments): 527 * 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 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002821/0.9093, allocations: 1.383 MB / 0.6041 GB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005261/0.9099, allocations: 236.8 kB / 0.6043 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003971/0.9138, allocations: 1.853 MB / 0.6062 GB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.143e-05/0.9139, allocations: 12 kB / 0.6062 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.9139, allocations: 4 kB / 0.6062 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/0.9139, allocations: 3.984 kB / 0.6062 GB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.9242, allocations: 4.802 MB / 0.6109 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/0.9243, allocations: 11.92 kB / 0.6109 GB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000694/0.925, allocations: 131.9 kB / 0.611 GB, free: 14.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002094/0.9271, allocations: 0.6405 MB / 0.6116 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.9273, allocations: 16 kB / 0.6116 GB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005439/0.9327, allocations: 3.74 MB / 0.6153 GB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.9327, allocations: 4.031 kB / 0.6153 GB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006587/0.9393, allocations: 3.779 MB / 0.619 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001956/0.9413, allocations: 446.4 kB / 0.6194 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008172/0.9422, allocations: 15.98 kB / 0.6194 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001383/0.9436, allocations: 75.97 kB / 0.6195 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.9438, allocations: 55.88 kB / 0.6196 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.79e-05/0.9439, allocations: 28 kB / 0.6196 GB, free: 5.461 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004452/0.9483, allocations: 1.782 MB / 0.6213 GB, free: 3.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.9484, allocations: 3.938 kB / 0.6213 GB, free: 3.668 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0048/0.9532, allocations: 0.6559 MB / 0.622 GB, free: 3.016 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (75): * Single equations (assignments): 71 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005182/0.9537, allocations: 147 kB / 0.6221 GB, free: 2.863 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006277/0.96, allocations: 3.406 MB / 0.6254 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.9601, allocations: 0 / 0.6254 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001381/0.9614, allocations: 0.9357 MB / 0.6263 GB, free: 14.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001728/0.9632, allocations: 230 kB / 0.6266 GB, free: 14.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.9759, allocations: 6.411 MB / 0.6328 GB, free: 7.844 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002757/0.9787, allocations: 2.244 MB / 0.635 GB, free: 5.566 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003566/0.9823, allocations: 1.4 MB / 0.6364 GB, free: 4.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004741/0.9828, allocations: 163.4 kB / 0.6365 GB, free: 4 MB / 410.7 MB Notification: Performance of SimCode: time 1.273e-06/0.9828, allocations: 0 / 0.6365 GB, free: 4 MB / 410.7 MB Notification: Performance of Templates: time 0.2217/1.205, allocations: 21.65 MB / 0.6577 GB, free: 126.5 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches