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.001305/0.001305, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 208 kB / 19.41 MB, free: 3.648 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.414/1.414, allocations: 227.6 MB / 247.9 MB, free: 10.2 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.001856/0.001856, allocations: 63.91 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2345, allocations: 50.55 MB / 410.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008813/0.2433, allocations: 7.117 MB / 417.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005538/0.2489, allocations: 3.17 MB / 420.5 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004145/0.2493, allocations: 31.94 kB / 420.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.2508, allocations: 0.8015 MB / 421.3 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.2533, allocations: 1.316 MB / 422.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008935/0.2542, allocations: 495 kB / 423.1 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002987/0.2572, allocations: 2.562 MB / 425.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.2584, allocations: 1.024 MB / 426.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009575/0.2594, allocations: 0.7511 MB / 427.5 MB, free: 116 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.2608, allocations: 1.102 MB / 428.6 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000266/0.261, allocations: 136 kB / 428.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/0.2625, allocations: 0.8658 MB / 429.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009953/0.2635, allocations: 1.009 MB / 430.6 MB, free: 13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001067/0.2645, allocations: 1.176 MB / 431.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004332/0.2689, allocations: 3.936 MB / 435.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2689, allocations: 0 / 435.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2689, allocations: 0 / 435.7 MB, free: 7.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.754e-05/0.2689, allocations: 0 / 435.7 MB, free: 7.863 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.005669/0.2746, allocations: 2.944 MB / 438.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2747, allocations: 8.031 kB / 438.6 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006308/0.281, allocations: 1.653 MB / 440.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002811/0.2838, allocations: 1.313 MB / 441.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.2839, allocations: 122.8 kB / 441.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003453/0.2842, allocations: 155.8 kB / 441.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009586/0.2938, allocations: 6.355 MB / 448.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.594e-05/0.2939, allocations: 31.75 kB / 448.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002423/0.2941, allocations: 79.89 kB / 448.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002625/0.2968, allocations: 1.441 MB / 449.8 MB, free: 9.133 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.3071, allocations: 5.67 MB / 455.5 MB, free: 3.453 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0311/0.3382, allocations: 26.24 MB / 481.7 MB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004554/0.3428, allocations: 2.188 MB / 483.9 MB, free: 6.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.3442, allocations: 0.9441 MB / 484.8 MB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.879e-05/0.3442, allocations: 19.98 kB / 484.8 MB, free: 5.059 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.3442, allocations: 38.56 kB / 484.9 MB, free: 5.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 3.566e-06/0.3443, allocations: 0 / 484.9 MB, free: 5.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.02185/0.3661, allocations: 8.712 MB / 493.6 MB, free: 12.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.263e-05/0.3662, allocations: 136.6 kB / 493.7 MB, free: 12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00387/0.3701, allocations: 2.819 MB / 496.5 MB, free: 9.164 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.3702, allocations: 45.69 kB / 496.6 MB, free: 9.113 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001667/0.3719, allocations: 2.151 MB / 498.7 MB, free: 6.945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004549/0.3723, allocations: 456.6 kB / 499.2 MB, free: 6.496 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001146/0.3735, allocations: 0.8894 MB / 0.4884 GB, free: 5.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3736, allocations: 305.1 kB / 0.4886 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002249/0.3759, allocations: 1.418 MB / 0.49 GB, free: 3.867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00456/0.3804, allocations: 4.246 MB / 0.4942 GB, free: 14.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007539/0.388, allocations: 6.139 MB / 0.5002 GB, free: 6.648 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-05/0.388, allocations: 28 kB / 0.5002 GB, free: 6.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01129/0.3993, allocations: 6.12 MB / 0.5062 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/0.3994, allocations: 48 kB / 0.5062 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/0.3995, allocations: 104 kB / 0.5063 GB, free: 356 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002383/0.4019, allocations: 0.7966 MB / 0.5071 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002953/0.4048, allocations: 0.9982 MB / 0.5081 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006464/0.4113, allocations: 4.461 MB / 0.5124 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/0.414, allocations: 247.7 kB / 0.5127 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003884/0.4144, allocations: 276 kB / 0.5129 GB, free: 9.434 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.001891/0.4163, allocations: 1.368 MB / 0.5143 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003815/0.4166, allocations: 246.3 kB / 0.5145 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004149/0.4208, allocations: 1.845 MB / 0.5163 GB, free: 5.945 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/0.4208, allocations: 15.94 kB / 0.5163 GB, free: 5.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.4208, allocations: 4 kB / 0.5163 GB, free: 5.926 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.4208, allocations: 3.984 kB / 0.5163 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009223/0.4301, allocations: 4.785 MB / 0.521 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.4301, allocations: 4.062 kB / 0.521 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/0.4307, allocations: 139.8 kB / 0.5211 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002133/0.4329, allocations: 0.6405 MB / 0.5218 GB, free: 280 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.557e-05/0.433, allocations: 16.19 kB / 0.5218 GB, free: 264 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005593/0.4385, allocations: 3.956 MB / 0.5256 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4385, allocations: 8.094 kB / 0.5257 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006337/0.4449, allocations: 3.697 MB / 0.5293 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005745/0.4455, allocations: 303.3 kB / 0.5295 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002233/0.4457, allocations: 15.94 kB / 0.5296 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008888/0.4466, allocations: 63.91 kB / 0.5296 GB, free: 8.031 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.4467, allocations: 51.94 kB / 0.5297 GB, free: 7.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8e-05/0.4468, allocations: 31.97 kB / 0.5297 GB, free: 7.949 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002636/0.4494, allocations: 1.754 MB / 0.5314 GB, free: 6.188 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4494, allocations: 0 / 0.5314 GB, free: 6.188 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002978/0.4524, allocations: 0.6327 MB / 0.532 GB, free: 5.555 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.0003237/0.4527, allocations: 143 kB / 0.5322 GB, free: 5.406 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005275/0.458, allocations: 3.306 MB / 0.5354 GB, free: 2.105 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.458, allocations: 3.938 kB / 0.5354 GB, free: 2.102 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.4593, allocations: 0.8703 MB / 0.5363 GB, free: 1.219 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.4607, allocations: 268.1 kB / 0.5365 GB, free: 0.957 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1745/0.6352, allocations: 5.489 MB / 0.5419 GB, free: 124.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/0.6368, allocations: 2.182 MB / 0.544 GB, free: 124.2 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002385/0.6392, allocations: 1.399 MB / 0.5454 GB, free: 124.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003126/0.6395, allocations: 166.8 kB / 0.5455 GB, free: 124.1 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.6395, allocations: 7.281 kB / 0.5455 GB, free: 124.1 MB / 462.1 MB Notification: Performance of Templates: time 0.03333/0.6728, allocations: 20.76 MB / 0.5658 GB, free: 107.2 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/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