Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 121.7 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 205.2 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.457/1.457, allocations: 230.4 MB / 250 MB, free: 8.988 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.84 kB / 367.4 MB, free: 7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2398, allocations: 53.32 MB / 420.7 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.0089/0.2487, allocations: 7.117 MB / 427.8 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006211/0.2549, allocations: 3.174 MB / 431 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006915/0.2556, allocations: 27.94 kB / 431 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.2574, allocations: 0.8093 MB / 431.8 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002822/0.2602, allocations: 1.312 MB / 433.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.2612, allocations: 495 kB / 433.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003193/0.2644, allocations: 2.561 MB / 436.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.2658, allocations: 1.024 MB / 437.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.2669, allocations: 0.755 MB / 437.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.2683, allocations: 1.207 MB / 439.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002589/0.2686, allocations: 136 kB / 439.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.27, allocations: 0.8969 MB / 440.2 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009136/0.271, allocations: 1.009 MB / 441.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.272, allocations: 1.18 MB / 442.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004287/0.2763, allocations: 3.933 MB / 446.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2763, allocations: 0 / 446.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.2763, allocations: 0 / 446.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.475e-05/0.2764, allocations: 3.938 kB / 446.3 MB, free: 14.56 MB / 366.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.004941/0.2813, allocations: 2.952 MB / 449.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2814, allocations: 8.031 kB / 449.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005858/0.2872, allocations: 1.653 MB / 450.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003411/0.2906, allocations: 1.309 MB / 452.2 MB, free: 8.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/0.2908, allocations: 114.9 kB / 452.3 MB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003964/0.2911, allocations: 159.8 kB / 452.5 MB, free: 8.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009559/0.3007, allocations: 6.363 MB / 458.8 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.1e-05/0.3008, allocations: 27.75 kB / 458.9 MB, free: 1.348 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003336/0.3011, allocations: 79.89 kB / 459 MB, free: 1.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003516/0.3046, allocations: 1.437 MB / 460.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01555/0.3202, allocations: 5.67 MB / 466.1 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04194/0.3621, allocations: 26.25 MB / 492.3 MB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004692/0.3668, allocations: 2.185 MB / 494.5 MB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.3681, allocations: 0.9365 MB / 495.4 MB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.982e-05/0.3682, allocations: 19.97 kB / 495.5 MB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.199e-05/0.3682, allocations: 46.5 kB / 495.5 MB, free: 11.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 2.725e-06/0.3682, allocations: 0 / 495.5 MB, free: 11.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02107/0.3893, allocations: 8.708 MB / 0.4924 GB, free: 2.887 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.257e-05/0.3894, allocations: 140.5 kB / 0.4925 GB, free: 2.719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004029/0.3934, allocations: 2.819 MB / 0.4953 GB, free: 15.88 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.3936, allocations: 37.7 kB / 0.4953 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001679/0.3952, allocations: 2.162 MB / 0.4974 GB, free: 13.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004655/0.3957, allocations: 460.6 kB / 0.4979 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.3968, allocations: 0.8855 MB / 0.4987 GB, free: 12.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.397, allocations: 301.1 kB / 0.499 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002231/0.3992, allocations: 1.414 MB / 0.5004 GB, free: 10.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004543/0.4038, allocations: 4.25 MB / 0.5045 GB, free: 4.906 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007517/0.4113, allocations: 6.136 MB / 0.5105 GB, free: 13.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.145e-05/0.4113, allocations: 28 kB / 0.5106 GB, free: 13.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01173/0.4231, allocations: 6.116 MB / 0.5165 GB, free: 7.215 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/0.4231, allocations: 48 kB / 0.5166 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/0.4233, allocations: 103.9 kB / 0.5167 GB, free: 7.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002326/0.4256, allocations: 0.8076 MB / 0.5175 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/0.4285, allocations: 0.9865 MB / 0.5184 GB, free: 5.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006073/0.4346, allocations: 4.475 MB / 0.5228 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/0.4374, allocations: 239.7 kB / 0.523 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004345/0.4379, allocations: 280 kB / 0.5233 GB, free: 152 kB / 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.001967/0.4398, allocations: 1.372 MB / 0.5246 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/0.4402, allocations: 242.4 kB / 0.5249 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003956/0.4442, allocations: 1.838 MB / 0.5267 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/0.4442, allocations: 19.94 kB / 0.5267 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.4442, allocations: 4 kB / 0.5267 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.4442, allocations: 11.97 kB / 0.5267 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008661/0.4529, allocations: 4.778 MB / 0.5314 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.4529, allocations: 8.047 kB / 0.5314 GB, free: 7.762 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006167/0.4535, allocations: 131.8 kB / 0.5315 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.4557, allocations: 0.6444 MB / 0.5321 GB, free: 6.984 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.22e-05/0.4557, allocations: 23.94 kB / 0.5321 GB, free: 6.961 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005414/0.4612, allocations: 3.949 MB / 0.536 GB, free: 2.871 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4612, allocations: 8 kB / 0.536 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.207/0.6682, allocations: 3.69 MB / 0.5396 GB, free: 114.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005922/0.6688, allocations: 301.8 kB / 0.5399 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004661/0.6692, allocations: 20.55 kB / 0.5399 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/0.6703, allocations: 58.27 kB / 0.54 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.6705, allocations: 54.59 kB / 0.54 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.928e-05/0.6706, allocations: 35.72 kB / 0.5401 GB, free: 114.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002271/0.6729, allocations: 1.752 MB / 0.5418 GB, free: 114.4 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6729, allocations: 0 / 0.5418 GB, free: 114.4 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002626/0.6755, allocations: 0.6374 MB / 0.5424 GB, free: 114.4 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.0002663/0.6757, allocations: 147.4 kB / 0.5425 GB, free: 114.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003911/0.6797, allocations: 3.295 MB / 0.5458 GB, free: 113.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6797, allocations: 0 / 0.5458 GB, free: 113.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008635/0.6805, allocations: 0.87 MB / 0.5466 GB, free: 112.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.6817, allocations: 263.5 kB / 0.5469 GB, free: 112.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005917/0.6876, allocations: 5.506 MB / 0.5522 GB, free: 110.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.689, allocations: 2.186 MB / 0.5544 GB, free: 109.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002282/0.6913, allocations: 1.399 MB / 0.5557 GB, free: 109.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/0.6916, allocations: 163.2 kB / 0.5559 GB, free: 109 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6916, allocations: 0 / 0.5559 GB, free: 109 MB / 462.1 MB Notification: Performance of Templates: time 0.03395/0.7255, allocations: 20.97 MB / 0.5764 GB, free: 89.27 MB / 462.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches