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.001363/0.001363, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001575/0.001575, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.558/1.558, allocations: 230.3 MB / 258 MB, free: 8.234 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.001938/0.001938, allocations: 67.88 kB / 378.8 MB, free: 2.77 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2787/0.2806, allocations: 53.37 MB / 432.1 MB, free: 7.059 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.009615/0.2903, allocations: 7.145 MB / 439.3 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007499/0.2978, allocations: 3.22 MB / 442.5 MB, free: 12.65 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.299, allocations: 35.81 kB / 442.5 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001998/0.301, allocations: 0.8055 MB / 443.3 MB, free: 11.81 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003401/0.3044, allocations: 1.315 MB / 444.6 MB, free: 10.49 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.3056, allocations: 0.495 MB / 445.1 MB, free: 9.992 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003939/0.3095, allocations: 2.555 MB / 447.7 MB, free: 7.434 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.3111, allocations: 0.9545 MB / 448.7 MB, free: 6.461 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.3124, allocations: 0.7666 MB / 449.4 MB, free: 5.691 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.3141, allocations: 1.211 MB / 450.6 MB, free: 4.477 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0003298/0.3145, allocations: 132 kB / 450.8 MB, free: 4.348 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001694/0.3162, allocations: 0.9008 MB / 451.7 MB, free: 3.445 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001067/0.3172, allocations: 1.009 MB / 452.7 MB, free: 2.434 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001288/0.3185, allocations: 1.172 MB / 453.8 MB, free: 1.254 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.005388/0.3239, allocations: 3.942 MB / 457.8 MB, free: 13.3 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3239, allocations: 0 / 457.8 MB, free: 13.3 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.553e-06/0.3239, allocations: 0 / 457.8 MB, free: 13.3 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 9.766e-05/0.324, allocations: 4 kB / 457.8 MB, free: 13.3 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.00592/0.3299, allocations: 2.861 MB / 460.6 MB, free: 10.39 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.33, allocations: 12.03 kB / 460.7 MB, free: 10.38 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006471/0.3364, allocations: 1.653 MB / 462.3 MB, free: 8.723 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002902/0.3393, allocations: 1.247 MB / 463.6 MB, free: 7.445 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.3395, allocations: 118.9 kB / 463.7 MB, free: 7.328 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003882/0.3399, allocations: 159.8 kB / 463.8 MB, free: 7.172 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/0.3502, allocations: 6.367 MB / 470.2 MB, free: 284 kB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.426e-05/0.3503, allocations: 31.69 kB / 470.2 MB, free: 252 kB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/0.3506, allocations: 79.89 kB / 470.3 MB, free: 172 kB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002685/0.3533, allocations: 1.437 MB / 471.7 MB, free: 14.73 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01087/0.3641, allocations: 5.666 MB / 477.4 MB, free: 9.059 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03391/0.398, allocations: 26.15 MB / 0.4918 GB, free: 14.08 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004309/0.4023, allocations: 1.723 MB / 0.4934 GB, free: 12.32 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/0.4037, allocations: 0.9558 MB / 0.4944 GB, free: 11.36 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.59e-05/0.4038, allocations: 11.98 kB / 0.4944 GB, free: 11.34 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.4038, allocations: 42.56 kB / 0.4944 GB, free: 11.29 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=98): time 2.755e-06/0.4038, allocations: 0 / 0.4944 GB, free: 11.29 MB / 414.1 MB
Notification: Performance of matching and sorting (n=106): time 0.02201/0.4258, allocations: 8.486 MB / 0.5027 GB, free: 2.73 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.4259, allocations: 140.5 kB / 0.5028 GB, free: 2.562 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004356/0.4303, allocations: 2.819 MB / 0.5056 GB, free: 15.73 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001609/0.4304, allocations: 41.7 kB / 0.5056 GB, free: 15.68 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.4322, allocations: 2.155 MB / 0.5077 GB, free: 13.5 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005077/0.4327, allocations: 452.6 kB / 0.5082 GB, free: 13.06 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001233/0.4339, allocations: 0.9011 MB / 0.5091 GB, free: 12.14 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001612/0.4341, allocations: 301.1 kB / 0.5093 GB, free: 11.85 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002413/0.4365, allocations: 1.418 MB / 0.5107 GB, free: 10.42 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004672/0.4412, allocations: 4.246 MB / 0.5149 GB, free: 4.746 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.008004/0.4492, allocations: 6.137 MB / 0.5209 GB, free: 13.2 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.245e-05/0.4493, allocations: 32 kB / 0.5209 GB, free: 13.17 MB / 446.1 MB
Notification: Performance of matching and sorting (n=573) (initialization): time 0.01357/0.4628, allocations: 6.105 MB / 0.5269 GB, free: 7.051 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 8.084e-05/0.4629, allocations: 48 kB / 0.5269 GB, free: 7.004 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/0.463, allocations: 104 kB / 0.527 GB, free: 6.902 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/0.4656, allocations: 0.7933 MB / 0.5278 GB, free: 6.105 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/0.469, allocations: 0.9942 MB / 0.5287 GB, free: 5.109 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006514/0.4755, allocations: 4.369 MB / 0.533 GB, free: 0.625 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003451/0.479, allocations: 247.7 kB / 0.5332 GB, free: 392 kB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006176/0.4796, allocations: 280 kB / 0.5335 GB, free: 112 kB / 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.002512/0.4821, allocations: 1.368 MB / 0.5349 GB, free: 14.73 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005745/0.4827, allocations: 246.3 kB / 0.5351 GB, free: 14.48 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004154/0.4869, allocations: 1.837 MB / 0.5369 GB, free: 12.63 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.4869, allocations: 19.94 kB / 0.5369 GB, free: 12.61 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.4869, allocations: 4 kB / 0.5369 GB, free: 12.61 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.4869, allocations: 3.984 kB / 0.5369 GB, free: 12.6 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009802/0.4967, allocations: 4.757 MB / 0.5416 GB, free: 7.77 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.4967, allocations: 384 / 0.5416 GB, free: 7.77 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000645/0.4974, allocations: 135.8 kB / 0.5417 GB, free: 7.637 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002128/0.4995, allocations: 0.6483 MB / 0.5423 GB, free: 6.984 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.4996, allocations: 20 kB / 0.5423 GB, free: 6.965 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005481/0.5051, allocations: 3.853 MB / 0.5461 GB, free: 2.996 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5051, allocations: 4.031 kB / 0.5461 GB, free: 2.992 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2572/0.7623, allocations: 3.685 MB / 0.5497 GB, free: 113.6 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0009108/0.7632, allocations: 223.2 kB / 0.5499 GB, free: 113.6 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003503/0.7636, allocations: 20.98 kB / 0.5499 GB, free: 113.6 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.7646, allocations: 63.17 kB / 0.55 GB, free: 113.6 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.7648, allocations: 65.05 kB / 0.5501 GB, free: 113.6 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.424e-05/0.7649, allocations: 27.28 kB / 0.5501 GB, free: 113.6 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.002911/0.7678, allocations: 1.752 MB / 0.5518 GB, free: 113.4 MB / 462.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.7678, allocations: 0 / 0.5518 GB, free: 113.4 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.003663/0.7715, allocations: 0.6385 MB / 0.5524 GB, free: 113.3 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.0003768/0.7718, allocations: 145.6 kB / 0.5526 GB, free: 113.2 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.005218/0.7771, allocations: 3.306 MB / 0.5558 GB, free: 112.1 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7771, allocations: 3.531 kB / 0.5558 GB, free: 112.1 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001159/0.7782, allocations: 0.8559 MB / 0.5566 GB, free: 111.8 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.7799, allocations: 259.6 kB / 0.5569 GB, free: 111.7 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007756/0.7877, allocations: 5.543 MB / 0.5623 GB, free: 109.3 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.7893, allocations: 2.187 MB / 0.5644 GB, free: 108.3 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.002399/0.7917, allocations: 1.399 MB / 0.5658 GB, free: 108.2 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/0.792, allocations: 160.5 kB / 0.5659 GB, free: 108.2 MB / 462.1 MB
Notification: Performance of SimCode: time 9.31e-07/0.792, allocations: 4 kB / 0.5659 GB, free: 108.2 MB / 462.1 MB
Notification: Performance of Templates: time 0.03788/0.8299, allocations: 23.83 MB / 0.5892 GB, free: 86 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: 6.132394599728286]