Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 115.5 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 204.6 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2605, allocations: 50.55 MB / 409.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008661/0.2692, allocations: 7.085 MB / 416.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006127/0.2754, allocations: 3.158 MB / 419.5 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007866/0.2762, allocations: 35.88 kB / 419.5 MB, free: 7.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001613/0.2778, allocations: 0.7898 MB / 420.3 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002704/0.2805, allocations: 1.284 MB / 421.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009757/0.2815, allocations: 0.495 MB / 422.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003015/0.2846, allocations: 2.551 MB / 424.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001301/0.2859, allocations: 1.157 MB / 425.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008232/0.2867, allocations: 0.755 MB / 426.6 MB, free: 188 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.288, allocations: 1.098 MB / 427.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.2883, allocations: 132 kB / 427.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.2896, allocations: 0.8619 MB / 428.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008216/0.2905, allocations: 0.9894 MB / 429.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.2916, allocations: 1.176 MB / 430.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003694/0.2953, allocations: 3.917 MB / 434.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2954, allocations: 0 / 434.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2954, allocations: 0 / 434.7 MB, free: 7.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.184e-05/0.2954, allocations: 0 / 434.7 MB, free: 7.988 MB / 350.1 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.004739/0.3002, allocations: 2.871 MB / 437.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3002, allocations: 12.03 kB / 437.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005972/0.3062, allocations: 1.631 MB / 439.2 MB, free: 3.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.3082, allocations: 1.308 MB / 440.6 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.373e-05/0.3083, allocations: 118.9 kB / 440.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002923/0.3086, allocations: 155.8 kB / 440.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008854/0.3175, allocations: 6.363 MB / 447.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.503e-05/0.3176, allocations: 39.66 kB / 447.2 MB, free: 10.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/0.3179, allocations: 79.89 kB / 447.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002439/0.3203, allocations: 1.429 MB / 448.7 MB, free: 9.355 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009496/0.3298, allocations: 5.674 MB / 454.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02968/0.3595, allocations: 26.2 MB / 480.6 MB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004513/0.3641, allocations: 2.257 MB / 482.9 MB, free: 6.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.3655, allocations: 1.025 MB / 483.9 MB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.3655, allocations: 11.98 kB / 483.9 MB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.3656, allocations: 54.48 kB / 484 MB, free: 5.125 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 5.31e-06/0.3656, allocations: 0 / 484 MB, free: 5.125 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02169/0.3873, allocations: 8.576 MB / 492.5 MB, free: 12.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.3874, allocations: 144.5 kB / 492.7 MB, free: 12.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004116/0.3915, allocations: 2.807 MB / 495.5 MB, free: 9.406 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.3917, allocations: 41.7 kB / 495.5 MB, free: 9.359 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001428/0.3931, allocations: 2.063 MB / 497.6 MB, free: 7.266 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005368/0.3937, allocations: 442.6 kB / 498 MB, free: 6.828 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/0.395, allocations: 0.8886 MB / 498.9 MB, free: 5.926 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3951, allocations: 301.1 kB / 499.2 MB, free: 5.629 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002624/0.3978, allocations: 1.414 MB / 0.4889 GB, free: 4.207 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004482/0.4023, allocations: 4.254 MB / 0.493 GB, free: 14.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007408/0.4097, allocations: 6.133 MB / 0.499 GB, free: 6.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.511e-05/0.4098, allocations: 28 kB / 0.4991 GB, free: 6.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01149/0.4213, allocations: 6.104 MB / 0.505 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.86e-05/0.4214, allocations: 48.19 kB / 0.5051 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/0.4216, allocations: 104 kB / 0.5052 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002329/0.4239, allocations: 0.8001 MB / 0.5059 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003111/0.427, allocations: 0.9903 MB / 0.5069 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006018/0.4331, allocations: 4.468 MB / 0.5113 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003272/0.4364, allocations: 247.5 kB / 0.5115 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006697/0.4371, allocations: 280 kB / 0.5118 GB, free: 9.77 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * 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 (537): * Single equations (assignments): 533 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002442/0.4395, allocations: 1.371 MB / 0.5131 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005569/0.4401, allocations: 233.1 kB / 0.5133 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004163/0.4443, allocations: 1.845 MB / 0.5151 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/0.4443, allocations: 15.94 kB / 0.5152 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.4443, allocations: 4 kB / 0.5152 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.4443, allocations: 7.984 kB / 0.5152 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009756/0.4541, allocations: 4.782 MB / 0.5198 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.4542, allocations: 4 kB / 0.5198 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006769/0.4548, allocations: 131.8 kB / 0.52 GB, free: 1.266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002065/0.4569, allocations: 0.6564 MB / 0.5206 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-05/0.457, allocations: 19.98 kB / 0.5206 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005119/0.4622, allocations: 3.945 MB / 0.5245 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.4622, allocations: 0 / 0.5245 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006064/0.4683, allocations: 3.695 MB / 0.5281 GB, free: 8.773 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007399/0.469, allocations: 294 kB / 0.5284 GB, free: 8.465 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005069/0.4695, allocations: 23.92 kB / 0.5284 GB, free: 8.441 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.4708, allocations: 59.92 kB / 0.5284 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.471, allocations: 63.84 kB / 0.5285 GB, free: 8.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.74e-05/0.4711, allocations: 24 kB / 0.5285 GB, free: 8.297 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003475/0.4746, allocations: 1.753 MB / 0.5302 GB, free: 6.535 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4746, allocations: 0 / 0.5302 GB, free: 6.535 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004714/0.4793, allocations: 0.6289 MB / 0.5309 GB, free: 5.906 MB / 462.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005397/0.4798, allocations: 150.5 kB / 0.531 GB, free: 5.754 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005988/0.4858, allocations: 3.428 MB / 0.5343 GB, free: 2.336 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.4859, allocations: 0 / 0.5343 GB, free: 2.336 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.4872, allocations: 0.9316 MB / 0.5353 GB, free: 1.391 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/0.4893, allocations: 260.4 kB / 0.5355 GB, free: 1.137 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2198/0.7091, allocations: 5.412 MB / 0.5408 GB, free: 125.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00204/0.7112, allocations: 2.183 MB / 0.5429 GB, free: 124.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002592/0.7138, allocations: 1.403 MB / 0.5443 GB, free: 124.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.7142, allocations: 165.7 kB / 0.5444 GB, free: 124.3 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.7142, allocations: 0 / 0.5444 GB, free: 124.3 MB / 462.1 MB Notification: Performance of Templates: time 0.03112/0.7453, allocations: 20.62 MB / 0.5646 GB, free: 107.6 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches