Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002276/0.002276, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 47.92 kB / 378.3 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.23, allocations: 53.35 MB / 431.6 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.00914/0.2392, allocations: 7.158 MB / 438.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006555/0.2457, allocations: 3.216 MB / 442 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008449/0.2466, allocations: 39.81 kB / 442 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.2484, allocations: 0.8092 MB / 442.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00308/0.2515, allocations: 1.319 MB / 444.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.2526, allocations: 499 kB / 444.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003436/0.256, allocations: 2.563 MB / 447.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.2574, allocations: 1.086 MB / 448.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009997/0.2584, allocations: 0.7628 MB / 449.1 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001567/0.26, allocations: 1.215 MB / 450.3 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002387/0.2602, allocations: 132 kB / 450.4 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.2617, allocations: 0.8969 MB / 451.3 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009419/0.2627, allocations: 1.005 MB / 452.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.2638, allocations: 1.176 MB / 453.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004487/0.2683, allocations: 3.946 MB / 457.4 MB, free: 13 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2683, allocations: 0 / 457.4 MB, free: 13 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2683, allocations: 0 / 457.4 MB, free: 13 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.078e-05/0.2684, allocations: 0 / 457.4 MB, free: 13 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.005071/0.2734, allocations: 2.865 MB / 460.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.2735, allocations: 15.97 kB / 460.3 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006018/0.2795, allocations: 1.653 MB / 462 MB, free: 8.418 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002976/0.2825, allocations: 1.243 MB / 463.2 MB, free: 7.148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.2826, allocations: 118.9 kB / 463.3 MB, free: 7.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000331/0.2829, allocations: 155.8 kB / 463.5 MB, free: 6.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009527/0.2924, allocations: 6.363 MB / 469.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.026e-05/0.2925, allocations: 27.75 kB / 469.9 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/0.2928, allocations: 91.88 kB / 470 MB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002496/0.2952, allocations: 1.429 MB / 471.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.3054, allocations: 5.681 MB / 477.1 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03265/0.338, allocations: 26.14 MB / 0.4914 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004363/0.3424, allocations: 1.725 MB / 0.4931 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.3438, allocations: 0.9365 MB / 0.494 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.931e-05/0.3439, allocations: 20.17 kB / 0.494 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.3439, allocations: 46.44 kB / 0.4941 GB, free: 10.99 MB / 414.1 MB Notification: Performance of pre-optimization done (n=98): time 3.457e-06/0.3439, allocations: 4 kB / 0.4941 GB, free: 10.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02206/0.366, allocations: 8.484 MB / 0.5024 GB, free: 2.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.97e-05/0.366, allocations: 140.5 kB / 0.5025 GB, free: 2.262 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004251/0.3703, allocations: 2.816 MB / 0.5052 GB, free: 15.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.689e-05/0.3704, allocations: 41.64 kB / 0.5053 GB, free: 15.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001721/0.3721, allocations: 2.159 MB / 0.5074 GB, free: 13.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004998/0.3726, allocations: 452.6 kB / 0.5078 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/0.3738, allocations: 0.8972 MB / 0.5087 GB, free: 11.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.374, allocations: 301.1 kB / 0.509 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002333/0.3763, allocations: 1.414 MB / 0.5104 GB, free: 10.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004682/0.381, allocations: 4.25 MB / 0.5145 GB, free: 4.449 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008096/0.3891, allocations: 6.131 MB / 0.5205 GB, free: 12.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001179/0.3892, allocations: 35.94 kB / 0.5205 GB, free: 12.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=573) (initialization): time 0.01192/0.4011, allocations: 6.102 MB / 0.5265 GB, free: 6.766 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.623e-05/0.4012, allocations: 52.95 kB / 0.5266 GB, free: 6.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/0.4013, allocations: 104 kB / 0.5266 GB, free: 6.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002391/0.4037, allocations: 0.7966 MB / 0.5274 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/0.4068, allocations: 0.9903 MB / 0.5284 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006491/0.4132, allocations: 4.377 MB / 0.5327 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/0.4164, allocations: 243.7 kB / 0.5329 GB, free: 92 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005169/0.417, allocations: 280 kB / 0.5332 GB, free: 15.82 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.002119/0.4191, allocations: 1.375 MB / 0.5345 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000415/0.4195, allocations: 242.4 kB / 0.5347 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/0.4236, allocations: 1.841 MB / 0.5365 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.4236, allocations: 15.94 kB / 0.5366 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.4236, allocations: 4 kB / 0.5366 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.4236, allocations: 3.984 kB / 0.5366 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009458/0.4331, allocations: 4.748 MB / 0.5412 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.4331, allocations: 0 / 0.5412 GB, free: 7.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006537/0.4337, allocations: 139.8 kB / 0.5413 GB, free: 7.344 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002083/0.4358, allocations: 0.6483 MB / 0.542 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.102e-05/0.4359, allocations: 19.98 kB / 0.542 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005565/0.4414, allocations: 3.853 MB / 0.5457 GB, free: 2.703 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.4414, allocations: 8.062 kB / 0.5458 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2213/0.6627, allocations: 3.681 MB / 0.5494 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005865/0.6633, allocations: 225.8 kB / 0.5496 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.6636, allocations: 22 kB / 0.5496 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008811/0.6645, allocations: 60.14 kB / 0.5496 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.6646, allocations: 60.3 kB / 0.5497 GB, free: 113.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/0.6647, allocations: 34.25 kB / 0.5497 GB, free: 113.5 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002509/0.6672, allocations: 1.75 MB / 0.5514 GB, free: 113.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6672, allocations: 3.75 kB / 0.5514 GB, free: 113.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003225/0.6705, allocations: 0.6332 MB / 0.5521 GB, free: 113.1 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.0003415/0.6708, allocations: 141.4 kB / 0.5522 GB, free: 113 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004931/0.6757, allocations: 3.306 MB / 0.5554 GB, free: 111.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6757, allocations: 0 / 0.5554 GB, free: 111.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.6768, allocations: 0.8663 MB / 0.5563 GB, free: 111.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/0.6783, allocations: 258.4 kB / 0.5565 GB, free: 111.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007405/0.6857, allocations: 5.541 MB / 0.5619 GB, free: 109.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.6872, allocations: 2.191 MB / 0.5641 GB, free: 108.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002313/0.6895, allocations: 1.398 MB / 0.5654 GB, free: 108 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003391/0.6899, allocations: 166.9 kB / 0.5656 GB, free: 108 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6899, allocations: 0 / 0.5656 GB, free: 108 MB / 462.1 MB Notification: Performance of Templates: time 0.03665/0.7265, allocations: 23.83 MB / 0.5889 GB, free: 85.56 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.89196359901689]