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.0009301/0.0009301, allocations: 182.7 kB / 18.04 MB, free: 3.781 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.339/1.339, allocations: 205.4 MB / 224.2 MB, free: 9.016 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.0007816/0.0007816, allocations: 82.72 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003285, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2697, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1116/0.3813, allocations: 90.7 MB / 467.7 MB, free: 5.832 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.3817, allocations: 91.95 kB / 467.8 MB, free: 5.742 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3349/0.7166, allocations: 56.87 MB / 0.5124 GB, free: 94.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7166, allocations: 3.938 kB / 0.5124 GB, free: 94.06 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001081/0.7167, allocations: 41.5 kB / 0.5124 GB, free: 94.06 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.006737/0.7235, allocations: 2.59 MB / 0.515 GB, free: 92.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.7235, allocations: 10.56 kB / 0.515 GB, free: 92.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007678/0.7312, allocations: 1.933 MB / 0.5169 GB, free: 92.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004617/0.7359, allocations: 2.228 MB / 0.519 GB, free: 92.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.7361, allocations: 174.8 kB / 0.5192 GB, free: 92.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009974/0.7371, allocations: 241.9 kB / 0.5194 GB, free: 92.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.7477, allocations: 6.789 MB / 0.5261 GB, free: 88.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001315/0.7479, allocations: 50.38 kB / 0.5261 GB, free: 88.42 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006724/0.7486, allocations: 125.1 kB / 0.5262 GB, free: 88.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000892/0.7495, allocations: 0.7193 MB / 0.5269 GB, free: 88.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009397/0.7589, allocations: 5.816 MB / 0.5326 GB, free: 82.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02851/0.7874, allocations: 33.38 MB / 0.5652 GB, free: 48.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003763/0.7912, allocations: 2.286 MB / 0.5674 GB, free: 45.95 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.7924, allocations: 1.022 MB / 0.5684 GB, free: 44.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.763e-05/0.7924, allocations: 11.83 kB / 0.5685 GB, free: 44.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.7925, allocations: 42.5 kB / 0.5685 GB, free: 44.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 3.767e-06/0.7925, allocations: 0 / 0.5685 GB, free: 44.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=106): time 0.0173/0.8098, allocations: 8.482 MB / 0.5768 GB, free: 36.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.8098, allocations: 140.5 kB / 0.5769 GB, free: 36.07 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003962/0.8138, allocations: 2.855 MB / 0.5797 GB, free: 33.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001402/0.814, allocations: 37.7 kB / 0.5797 GB, free: 33.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.815, allocations: 2.076 MB / 0.5818 GB, free: 31.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003953/0.8154, allocations: 440.5 kB / 0.5822 GB, free: 30.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.8156, allocations: 84 kB / 0.5823 GB, free: 30.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.8158, allocations: 499.5 kB / 0.5827 GB, free: 30.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.8178, allocations: 1.418 MB / 0.5841 GB, free: 28.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003108/0.8209, allocations: 4.232 MB / 0.5883 GB, free: 23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005363/0.8263, allocations: 6.117 MB / 0.5942 GB, free: 15.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-05/0.8264, allocations: 31.94 kB / 0.5943 GB, free: 15.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.009765/0.8362, allocations: 6.085 MB / 0.6002 GB, free: 9.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.356e-05/0.8363, allocations: 48 kB / 0.6002 GB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.8364, allocations: 100 kB / 0.6003 GB, free: 9.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/0.8384, allocations: 0.8002 MB / 0.6011 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/0.8413, allocations: 0.9944 MB / 0.6021 GB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004458/0.8457, allocations: 4.109 MB / 0.6061 GB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/0.8489, allocations: 291.4 kB / 0.6064 GB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005812/0.8495, allocations: 272 kB / 0.6066 GB, free: 2.625 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.002102/0.8516, allocations: 1.375 MB / 0.608 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004329/0.8521, allocations: 232.9 kB / 0.6082 GB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/0.8557, allocations: 1.853 MB / 0.61 GB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/0.8558, allocations: 12 kB / 0.61 GB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.8558, allocations: 7.984 kB / 0.61 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.8558, allocations: 3.984 kB / 0.61 GB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00945/0.8653, allocations: 4.805 MB / 0.6147 GB, free: 10.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.8653, allocations: 3.938 kB / 0.6147 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/0.866, allocations: 139.8 kB / 0.6149 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/0.8679, allocations: 0.6366 MB / 0.6155 GB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.8681, allocations: 23.94 kB / 0.6155 GB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004858/0.8729, allocations: 3.639 MB / 0.6191 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.873, allocations: 4.031 kB / 0.6191 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005871/0.8789, allocations: 3.679 MB / 0.6227 GB, free: 1.961 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/0.8801, allocations: 445.7 kB / 0.6231 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005766/0.8806, allocations: 23.94 kB / 0.6231 GB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/0.8819, allocations: 71.58 kB / 0.6232 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.882, allocations: 55.88 kB / 0.6232 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.8821, allocations: 27.98 kB / 0.6233 GB, free: 1.332 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003472/0.8856, allocations: 1.787 MB / 0.625 GB, free: 15.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8856, allocations: 0 / 0.625 GB, free: 15.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0037/0.8894, allocations: 0.6483 MB / 0.6256 GB, free: 14.89 MB / 410.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.0004225/0.8898, allocations: 152.4 kB / 0.6258 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005546/0.8954, allocations: 3.411 MB / 0.6291 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.8954, allocations: 0 / 0.6291 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/0.8967, allocations: 0.9315 MB / 0.63 GB, free: 10.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.8989, allocations: 243.2 kB / 0.6303 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.011/0.9099, allocations: 6.451 MB / 0.6366 GB, free: 3.668 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002926/0.9129, allocations: 2.181 MB / 0.6387 GB, free: 1.457 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003661/0.9166, allocations: 1.407 MB / 0.6401 GB, free: 44 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005748/0.9172, allocations: 159.4 kB / 0.6402 GB, free: 15.89 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.9172, allocations: 0 / 0.6402 GB, free: 15.89 MB / 426.7 MB Notification: Performance of Templates: time 0.2138/1.131, allocations: 21.69 MB / 0.6614 GB, free: 122.7 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/jenkins1/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