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.001324/0.001324, allocations: 111.1 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 211.9 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.326/1.326, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 55.91 kB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2342, allocations: 50.56 MB / 409.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.00807/0.2423, allocations: 7.097 MB / 417 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005318/0.2476, allocations: 3.162 MB / 420.2 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007115/0.2483, allocations: 31.94 kB / 420.2 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001717/0.2501, allocations: 0.7898 MB / 421 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002756/0.2529, allocations: 1.308 MB / 422.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009989/0.2539, allocations: 499 kB / 422.8 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002955/0.2568, allocations: 2.562 MB / 425.4 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001473/0.2583, allocations: 1.153 MB / 426.5 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.2594, allocations: 0.755 MB / 427.3 MB, free: 376 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.2609, allocations: 1.102 MB / 428.4 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003932/0.2613, allocations: 132 kB / 428.5 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.2628, allocations: 0.8619 MB / 429.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000974/0.2638, allocations: 0.9816 MB / 430.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001412/0.2652, allocations: 1.184 MB / 431.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003995/0.2692, allocations: 3.933 MB / 435.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2692, allocations: 0 / 435.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2692, allocations: 0 / 435.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.775e-05/0.2693, allocations: 0 / 435.5 MB, free: 8.145 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.005372/0.2747, allocations: 2.944 MB / 438.4 MB, free: 5.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2748, allocations: 12.03 kB / 438.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005767/0.2805, allocations: 1.649 MB / 440.1 MB, free: 3.473 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002241/0.2828, allocations: 1.317 MB / 441.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.139e-05/0.2829, allocations: 114.9 kB / 441.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004048/0.2833, allocations: 159.8 kB / 441.7 MB, free: 1.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008325/0.2916, allocations: 6.347 MB / 448 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.867e-05/0.2917, allocations: 43.73 kB / 448.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.292, allocations: 79.89 kB / 448.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002268/0.2943, allocations: 1.437 MB / 449.6 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009259/0.3035, allocations: 5.681 MB / 455.3 MB, free: 3.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02523/0.3288, allocations: 26.24 MB / 481.5 MB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003972/0.3328, allocations: 2.258 MB / 483.8 MB, free: 6.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.334, allocations: 1.018 MB / 484.8 MB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.999e-05/0.3341, allocations: 15.92 kB / 484.8 MB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3341, allocations: 46.56 kB / 484.8 MB, free: 5.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=98): time 3.166e-06/0.3341, allocations: 0 / 484.8 MB, free: 5.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=106): time 0.01969/0.3538, allocations: 8.717 MB / 493.6 MB, free: 12.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.3539, allocations: 140.5 kB / 493.7 MB, free: 12.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003537/0.3574, allocations: 2.816 MB / 496.5 MB, free: 9.301 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-05/0.3575, allocations: 33.7 kB / 496.5 MB, free: 9.262 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.3588, allocations: 2.159 MB / 498.7 MB, free: 7.082 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003569/0.3592, allocations: 460.6 kB / 499.1 MB, free: 6.629 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/0.3602, allocations: 0.8855 MB / 0.4883 GB, free: 5.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.3603, allocations: 313 kB / 0.4886 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.3624, allocations: 1.41 MB / 0.49 GB, free: 4.004 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00381/0.3662, allocations: 4.25 MB / 0.4941 GB, free: 14.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006178/0.3724, allocations: 6.138 MB / 0.5001 GB, free: 6.777 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.058e-05/0.3725, allocations: 28 kB / 0.5002 GB, free: 6.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.009764/0.3822, allocations: 6.123 MB / 0.5061 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.076e-05/0.3823, allocations: 48 kB / 0.5062 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001031/0.3824, allocations: 100 kB / 0.5063 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/0.3846, allocations: 0.8006 MB / 0.5071 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002656/0.3873, allocations: 0.9942 MB / 0.508 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005417/0.3927, allocations: 4.469 MB / 0.5124 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002455/0.3952, allocations: 243.7 kB / 0.5126 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/0.3955, allocations: 284 kB / 0.5129 GB, free: 9.551 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.001652/0.3972, allocations: 1.368 MB / 0.5142 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003595/0.3976, allocations: 246.3 kB / 0.5145 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003655/0.4012, allocations: 1.853 MB / 0.5163 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.4012, allocations: 3.984 kB / 0.5163 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4013, allocations: 7.938 kB / 0.5163 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/0.4016, allocations: 303.2 kB / 0.5166 GB, free: 5.727 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/0.4019, allocations: 16 kB / 0.5166 GB, free: 5.711 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008538/0.4027, allocations: 59.91 kB / 0.5167 GB, free: 5.652 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/0.4029, allocations: 64.34 kB / 0.5167 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004126/0.4071, allocations: 2.41 MB / 0.5191 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003395/0.4105, allocations: 3.037 MB / 0.522 GB, free: 120 kB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008611/0.4113, allocations: 0.6983 MB / 0.5227 GB, free: 15.42 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002325/0.4137, allocations: 1.757 MB / 0.5244 GB, free: 13.65 MB / 462.1 MB Notification: Performance of Backend: time 4.71e-07/0.4137, allocations: 0 / 0.5244 GB, free: 13.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005161/0.4189, allocations: 2.997 MB / 0.5274 GB, free: 10.66 MB / 462.1 MB Notification: Performance of SimCode: time 0.007645/0.4265, allocations: 5.86 MB / 0.5331 GB, free: 4.73 MB / 462.1 MB Notification: Performance of Templates: time 0.2073/0.6339, allocations: 28.6 MB / 0.561 GB, free: 111.4 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