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.001604/0.001605, allocations: 117.7 kB / 18.46 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.001911/0.001912, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.734/1.734, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002608/0.002608, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7496/0.7522, allocations: 50.53 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01749/0.7698, allocations: 7.098 MB / 417 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01412/0.7841, allocations: 3.162 MB / 420.2 MB, free: 7.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005927/0.7901, allocations: 31.94 kB / 420.2 MB, free: 7.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004122/0.7944, allocations: 0.7859 MB / 421 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006802/0.8012, allocations: 1.292 MB / 422.3 MB, free: 5.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002921/0.8042, allocations: 495 kB / 422.8 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007241/0.8115, allocations: 2.563 MB / 425.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004111/0.8158, allocations: 1.157 MB / 426.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.8185, allocations: 0.7472 MB / 427.2 MB, free: 172 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004113/0.8227, allocations: 1.098 MB / 428.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001115/0.8239, allocations: 136 kB / 428.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004954/0.8289, allocations: 0.8658 MB / 429.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004714/0.8337, allocations: 0.9816 MB / 430.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005308/0.8391, allocations: 1.18 MB / 431.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01206/0.8512, allocations: 3.913 MB / 435.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.416e-05/0.8514, allocations: 4 kB / 435.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.8514, allocations: 0 / 435.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002448/0.8517, allocations: 0 / 435.4 MB, free: 7.969 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.01413/0.8658, allocations: 2.879 MB / 438.3 MB, free: 5.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001012/0.866, allocations: 8.031 kB / 438.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/0.8779, allocations: 1.643 MB / 439.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007492/0.8855, allocations: 1.293 MB / 441.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000428/0.8861, allocations: 122.8 kB / 441.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001921/0.888, allocations: 155.8 kB / 441.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02202/0.9101, allocations: 6.363 MB / 447.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/0.9103, allocations: 31.66 kB / 447.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000407/0.9107, allocations: 83.83 kB / 448 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00379/0.9145, allocations: 1.437 MB / 449.4 MB, free: 9.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/0.9314, allocations: 5.67 MB / 455.1 MB, free: 3.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05141/0.9829, allocations: 26.2 MB / 481.3 MB, free: 8.613 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00873/0.9918, allocations: 2.254 MB / 483.5 MB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003047/0.995, allocations: 1.03 MB / 484.6 MB, free: 5.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001102/0.9952, allocations: 15.98 kB / 484.6 MB, free: 5.156 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.275e-05/0.9953, allocations: 46.5 kB / 484.6 MB, free: 5.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 7.685e-06/0.9953, allocations: 0 / 484.6 MB, free: 5.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.09486/1.09, allocations: 8.576 MB / 493.2 MB, free: 12.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002246/1.09, allocations: 140.5 kB / 493.4 MB, free: 12.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0108/1.101, allocations: 2.815 MB / 496.2 MB, free: 9.379 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004824/1.102, allocations: 41.7 kB / 496.2 MB, free: 9.332 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003672/1.106, allocations: 2.059 MB / 498.3 MB, free: 7.242 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.005289/1.111, allocations: 442.6 kB / 498.7 MB, free: 6.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007441/1.119, allocations: 0.8886 MB / 499.6 MB, free: 5.902 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002443/1.119, allocations: 301.1 kB / 499.9 MB, free: 5.605 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00547/1.124, allocations: 1.418 MB / 0.4896 GB, free: 4.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01172/1.136, allocations: 4.246 MB / 0.4937 GB, free: 14.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01902/1.155, allocations: 6.134 MB / 0.4997 GB, free: 6.961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001947/1.156, allocations: 32 kB / 0.4997 GB, free: 6.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.02496/1.181, allocations: 6.104 MB / 0.5057 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000199/1.181, allocations: 48 kB / 0.5057 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002415/1.181, allocations: 104 kB / 0.5058 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004503/1.186, allocations: 0.8008 MB / 0.5066 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006891/1.193, allocations: 0.9906 MB / 0.5076 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/1.205, allocations: 4.464 MB / 0.5119 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00732/1.212, allocations: 255.5 kB / 0.5122 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001965/1.214, allocations: 276 kB / 0.5124 GB, free: 9.746 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.006088/1.221, allocations: 1.379 MB / 0.5138 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/1.222, allocations: 229 kB / 0.514 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0075/1.229, allocations: 1.853 MB / 0.5158 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-05/1.23, allocations: 15.94 kB / 0.5158 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.469e-05/1.23, allocations: 4 kB / 0.5158 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.15e-05/1.23, allocations: 7.984 kB / 0.5158 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02604/1.256, allocations: 4.782 MB / 0.5205 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.556e-05/1.256, allocations: 0 / 0.5205 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001466/1.257, allocations: 135.8 kB / 0.5206 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00431/1.262, allocations: 0.6443 MB / 0.5213 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003413/1.262, allocations: 28.05 kB / 0.5213 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01416/1.276, allocations: 3.949 MB / 0.5252 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/1.276, allocations: 4.031 kB / 0.5252 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/1.289, allocations: 3.688 MB / 0.5288 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001817/1.291, allocations: 293.9 kB / 0.529 GB, free: 8.438 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/1.292, allocations: 23.94 kB / 0.5291 GB, free: 8.414 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/1.295, allocations: 59.91 kB / 0.5291 GB, free: 8.355 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000446/1.295, allocations: 55.86 kB / 0.5292 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002407/1.296, allocations: 31.98 kB / 0.5292 GB, free: 8.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00693/1.303, allocations: 1.754 MB / 0.5309 GB, free: 6.508 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.994e-06/1.303, allocations: 0 / 0.5309 GB, free: 6.508 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01272/1.315, allocations: 0.6328 MB / 0.5315 GB, free: 5.875 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.0009834/1.317, allocations: 143.1 kB / 0.5317 GB, free: 5.727 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01525/1.332, allocations: 3.431 MB / 0.535 GB, free: 2.309 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/1.332, allocations: 0 / 0.535 GB, free: 2.309 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002612/1.335, allocations: 0.9324 MB / 0.5359 GB, free: 1.363 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004248/1.339, allocations: 253.2 kB / 0.5362 GB, free: 1.113 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.501/1.84, allocations: 5.681 MB / 0.5417 GB, free: 125 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004419/1.844, allocations: 2.19 MB / 0.5439 GB, free: 124.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/1.846, allocations: 198.3 kB / 0.544 GB, free: 124.3 MB / 462.1 MB Notification: Performance of SimCode: time 2.855e-06/1.846, allocations: 0.5938 kB / 0.544 GB, free: 124.3 MB / 462.1 MB Notification: Performance of Templates: time 0.1112/1.957, allocations: 47.75 MB / 0.5907 GB, free: 81.77 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/Pendulum/Pendulum.csv","/var/lib/jenkins1/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