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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001824/0.001824, allocations: 109.4 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001553/0.001553, allocations: 221.7 kB / 23 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.46/1.46, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] 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=5002,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=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 59.89 kB / 376.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2421, allocations: 53.34 MB / 429.8 MB, free: 7.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008849/0.251, allocations: 7.145 MB / 436.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006172/0.2571, allocations: 3.213 MB / 440.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000968/0.2581, allocations: 27.94 kB / 440.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00178/0.2599, allocations: 0.8015 MB / 441 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.2628, allocations: 1.319 MB / 442.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.2639, allocations: 498.9 kB / 442.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003131/0.267, allocations: 2.563 MB / 445.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.2683, allocations: 0.9424 MB / 446.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009081/0.2692, allocations: 0.7511 MB / 447.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.2707, allocations: 1.215 MB / 448.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002839/0.271, allocations: 140 kB / 448.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001523/0.2725, allocations: 0.893 MB / 449.3 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009448/0.2735, allocations: 1.009 MB / 450.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001148/0.2746, allocations: 1.172 MB / 451.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005666/0.2803, allocations: 3.938 MB / 455.4 MB, free: 13.95 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.2803, allocations: 4 kB / 455.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2803, allocations: 0 / 455.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001446/0.2804, allocations: 0 / 455.4 MB, free: 13.94 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.005986/0.2864, allocations: 2.94 MB / 458.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.2865, allocations: 12.03 kB / 458.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005992/0.2925, allocations: 1.653 MB / 460 MB, free: 9.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/0.2951, allocations: 1.305 MB / 461.3 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/0.2953, allocations: 126.8 kB / 461.5 MB, free: 7.797 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003246/0.2956, allocations: 151.8 kB / 461.6 MB, free: 7.648 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01013/0.3057, allocations: 6.363 MB / 468 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.008e-05/0.3058, allocations: 31.75 kB / 468 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.306, allocations: 75.89 kB / 468.1 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002465/0.3085, allocations: 1.437 MB / 469.5 MB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01086/0.3194, allocations: 5.674 MB / 475.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03172/0.3511, allocations: 26.25 MB / 0.4897 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004651/0.3557, allocations: 2.192 MB / 0.4918 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001445/0.3572, allocations: 0.9404 MB / 0.4927 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.869e-05/0.3572, allocations: 15.92 kB / 0.4927 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.3573, allocations: 46.55 kB / 0.4928 GB, free: 11.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.075e-06/0.3573, allocations: 0 / 0.4928 GB, free: 11.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02404/0.3813, allocations: 8.712 MB / 0.5013 GB, free: 2.266 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.3815, allocations: 148.4 kB / 0.5014 GB, free: 2.09 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005934/0.3874, allocations: 2.808 MB / 0.5042 GB, free: 15.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003175/0.3877, allocations: 37.7 kB / 0.5042 GB, free: 15.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002194/0.3899, allocations: 2.159 MB / 0.5063 GB, free: 13.04 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007305/0.3906, allocations: 464.5 kB / 0.5068 GB, free: 12.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001939/0.3926, allocations: 0.8894 MB / 0.5076 GB, free: 11.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.3928, allocations: 305.1 kB / 0.5079 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002689/0.3955, allocations: 1.414 MB / 0.5093 GB, free: 9.961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005249/0.4007, allocations: 4.25 MB / 0.5135 GB, free: 4.281 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008109/0.4088, allocations: 6.133 MB / 0.5195 GB, free: 12.74 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/0.4089, allocations: 36 kB / 0.5195 GB, free: 12.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01212/0.4211, allocations: 6.105 MB / 0.5254 GB, free: 6.586 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.4212, allocations: 48 kB / 0.5255 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001734/0.4213, allocations: 104 kB / 0.5256 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002356/0.4237, allocations: 0.797 MB / 0.5264 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/0.4267, allocations: 0.9942 MB / 0.5273 GB, free: 4.641 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006476/0.4332, allocations: 4.465 MB / 0.5317 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003231/0.4364, allocations: 247.7 kB / 0.5319 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007469/0.4372, allocations: 276 kB / 0.5322 GB, free: 15.52 MB / 462.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.002579/0.4398, allocations: 1.375 MB / 0.5335 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005343/0.4403, allocations: 238.4 kB / 0.5338 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004134/0.4444, allocations: 1.841 MB / 0.5356 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-05/0.4445, allocations: 16.31 kB / 0.5356 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.4445, allocations: 8 kB / 0.5356 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/0.4445, allocations: 3.984 kB / 0.5356 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/0.4549, allocations: 4.79 MB / 0.5403 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.455, allocations: 7.938 kB / 0.5403 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006452/0.4556, allocations: 131.9 kB / 0.5404 GB, free: 7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002142/0.4577, allocations: 0.6522 MB / 0.541 GB, free: 6.344 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.4578, allocations: 12 kB / 0.5411 GB, free: 6.332 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005472/0.4633, allocations: 3.949 MB / 0.5449 GB, free: 2.242 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.4633, allocations: 0 / 0.5449 GB, free: 2.242 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1978/0.6611, allocations: 3.688 MB / 0.5485 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000531/0.6616, allocations: 303.6 kB / 0.5488 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.6619, allocations: 16.14 kB / 0.5488 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008106/0.6627, allocations: 61.12 kB / 0.5489 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/0.6629, allocations: 53.34 kB / 0.5489 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.77e-05/0.6629, allocations: 34.77 kB / 0.549 GB, free: 114.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002363/0.6653, allocations: 1.749 MB / 0.5507 GB, free: 113.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6653, allocations: 0 / 0.5507 GB, free: 113.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002752/0.6681, allocations: 0.6325 MB / 0.5513 GB, free: 113.6 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.0002824/0.6683, allocations: 154.7 kB / 0.5514 GB, free: 113.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004668/0.673, allocations: 3.306 MB / 0.5547 GB, free: 112.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.673, allocations: 3.156 kB / 0.5547 GB, free: 112.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009066/0.6739, allocations: 0.8627 MB / 0.5555 GB, free: 112.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.6752, allocations: 262.1 kB / 0.5558 GB, free: 112 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005902/0.6811, allocations: 5.557 MB / 0.5612 GB, free: 109.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/0.6825, allocations: 2.183 MB / 0.5633 GB, free: 108.6 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002251/0.6847, allocations: 1.402 MB / 0.5647 GB, free: 108.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003106/0.685, allocations: 168 kB / 0.5648 GB, free: 108.4 MB / 462.1 MB Notification: Performance of SimCode: time 8.71e-07/0.685, allocations: 0 / 0.5648 GB, free: 108.4 MB / 462.1 MB Notification: Performance of Templates: time 0.03202/0.7171, allocations: 21.98 MB / 0.5863 GB, free: 87.41 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.74655712582171]