Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001416/0.001416, allocations: 110.5 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.001722/0.001722, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 258.2 MB, free: 8.023 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 67.89 kB / 379 MB, free: 2.617 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2522, allocations: 53.36 MB / 432.4 MB, free: 6.93 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.008941/0.2611, allocations: 7.149 MB / 439.6 MB, free: 15.75 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00639/0.2675, allocations: 3.224 MB / 442.8 MB, free: 12.52 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009893/0.2685, allocations: 35.88 kB / 442.8 MB, free: 12.48 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001848/0.2704, allocations: 0.8016 MB / 443.6 MB, free: 11.68 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003317/0.2737, allocations: 1.327 MB / 444.9 MB, free: 10.34 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.2748, allocations: 499 kB / 445.4 MB, free: 9.855 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003775/0.2786, allocations: 2.555 MB / 448 MB, free: 7.297 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.2799, allocations: 0.9457 MB / 448.9 MB, free: 6.336 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.281, allocations: 0.7666 MB / 449.7 MB, free: 5.566 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001694/0.2827, allocations: 1.211 MB / 450.9 MB, free: 4.352 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0003223/0.283, allocations: 136 kB / 451 MB, free: 4.219 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.2846, allocations: 0.8969 MB / 451.9 MB, free: 3.32 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0009725/0.2856, allocations: 1.012 MB / 452.9 MB, free: 2.305 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001132/0.2867, allocations: 1.176 MB / 454.1 MB, free: 1.121 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.00459/0.2913, allocations: 3.936 MB / 458.1 MB, free: 13.17 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.2913, allocations: 0 / 458.1 MB, free: 13.17 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.643e-06/0.2913, allocations: 3.938 kB / 458.1 MB, free: 13.17 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 6.39e-05/0.2914, allocations: 0 / 458.1 MB, free: 13.17 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.00533/0.2967, allocations: 2.873 MB / 460.9 MB, free: 10.25 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2968, allocations: 8.031 kB / 460.9 MB, free: 10.24 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005811/0.3026, allocations: 1.653 MB / 462.6 MB, free: 8.586 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.3054, allocations: 1.247 MB / 463.8 MB, free: 7.312 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.3055, allocations: 114.9 kB / 464 MB, free: 7.199 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003523/0.3058, allocations: 155.8 kB / 464.1 MB, free: 7.047 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.009968/0.3158, allocations: 6.363 MB / 470.5 MB, free: 156 kB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 6.906e-05/0.3159, allocations: 31.75 kB / 470.5 MB, free: 124 kB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.3161, allocations: 83.81 kB / 470.6 MB, free: 40 kB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002462/0.3186, allocations: 1.441 MB / 472 MB, free: 14.6 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01119/0.3298, allocations: 5.666 MB / 477.7 MB, free: 8.926 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03313/0.3629, allocations: 26.15 MB / 0.492 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.004232/0.3671, allocations: 1.732 MB / 0.4937 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.3685, allocations: 0.9364 MB / 0.4946 GB, free: 11.23 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.475e-05/0.3686, allocations: 23.97 kB / 0.4947 GB, free: 11.21 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.3686, allocations: 42.5 kB / 0.4947 GB, free: 11.16 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=98): time 3.617e-06/0.3686, allocations: 0 / 0.4947 GB, free: 11.16 MB / 414.1 MB
Notification: Performance of matching and sorting (n=106): time 0.0213/0.3899, allocations: 8.479 MB / 0.503 GB, free: 2.602 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.39, allocations: 144.4 kB / 0.5031 GB, free: 2.43 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004053/0.3941, allocations: 2.827 MB / 0.5059 GB, free: 15.59 MB / 430.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001641/0.3942, allocations: 33.7 kB / 0.5059 GB, free: 15.55 MB / 430.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001686/0.3959, allocations: 2.159 MB / 0.508 GB, free: 13.37 MB / 430.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004699/0.3964, allocations: 456.6 kB / 0.5085 GB, free: 12.92 MB / 430.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/0.3975, allocations: 0.8933 MB / 0.5093 GB, free: 12.01 MB / 430.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001264/0.3976, allocations: 301.3 kB / 0.5096 GB, free: 11.71 MB / 430.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002172/0.3998, allocations: 1.414 MB / 0.511 GB, free: 10.29 MB / 430.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004538/0.4043, allocations: 4.253 MB / 0.5151 GB, free: 4.609 MB / 430.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007733/0.4121, allocations: 6.136 MB / 0.5211 GB, free: 13.07 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.9e-05/0.4121, allocations: 28 kB / 0.5212 GB, free: 13.04 MB / 446.1 MB
Notification: Performance of matching and sorting (n=573) (initialization): time 0.0144/0.4265, allocations: 6.113 MB / 0.5271 GB, free: 6.918 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.4267, allocations: 48 kB / 0.5272 GB, free: 6.871 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001795/0.4268, allocations: 100 kB / 0.5273 GB, free: 6.773 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003668/0.4305, allocations: 0.8008 MB / 0.5281 GB, free: 5.969 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005217/0.4357, allocations: 0.9825 MB / 0.529 GB, free: 4.984 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009437/0.4452, allocations: 4.376 MB / 0.5333 GB, free: 0.4922 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004799/0.45, allocations: 239.7 kB / 0.5335 GB, free: 264 kB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/0.451, allocations: 280 kB / 0.5338 GB, free: 15.98 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.003997/0.455, allocations: 1.375 MB / 0.5351 GB, free: 14.59 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000901/0.4559, allocations: 246.3 kB / 0.5354 GB, free: 14.35 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006226/0.4622, allocations: 1.837 MB / 0.5372 GB, free: 12.5 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.718e-05/0.4622, allocations: 19.94 kB / 0.5372 GB, free: 12.48 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.4622, allocations: 0 / 0.5372 GB, free: 12.48 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/0.4623, allocations: 7.984 kB / 0.5372 GB, free: 12.47 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01603/0.4783, allocations: 4.749 MB / 0.5418 GB, free: 7.645 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/0.4783, allocations: 0 / 0.5418 GB, free: 7.645 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007081/0.479, allocations: 139.8 kB / 0.542 GB, free: 7.508 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003202/0.4822, allocations: 0.6482 MB / 0.5426 GB, free: 6.855 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/0.4824, allocations: 16 kB / 0.5426 GB, free: 6.84 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0085/0.4909, allocations: 3.861 MB / 0.5464 GB, free: 2.863 MB / 462.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4909, allocations: 0 / 0.5464 GB, free: 2.863 MB / 462.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2712/0.7621, allocations: 3.684 MB / 0.55 GB, free: 113.5 MB / 462.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0007546/0.7629, allocations: 223.8 kB / 0.5502 GB, free: 113.5 MB / 462.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002976/0.7632, allocations: 22.97 kB / 0.5502 GB, free: 113.5 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009342/0.7641, allocations: 59.47 kB / 0.5503 GB, free: 113.5 MB / 462.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.7643, allocations: 58.62 kB / 0.5503 GB, free: 113.5 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/0.7644, allocations: 28.84 kB / 0.5504 GB, free: 113.5 MB / 462.1 MB
Notification: Performance of sorting global known variables: time 0.002507/0.7669, allocations: 1.753 MB / 0.5521 GB, free: 113.2 MB / 462.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.7669, allocations: 3.281 kB / 0.5521 GB, free: 113.2 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.002872/0.7698, allocations: 0.6376 MB / 0.5527 GB, free: 113.2 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.00028/0.77, allocations: 143.5 kB / 0.5528 GB, free: 113.1 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.004839/0.7749, allocations: 3.303 MB / 0.5561 GB, free: 112 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7749, allocations: 3.938 kB / 0.5561 GB, free: 112 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001057/0.7759, allocations: 0.8686 MB / 0.5569 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.00141/0.7774, allocations: 256.9 kB / 0.5571 GB, free: 111.5 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006831/0.7842, allocations: 5.531 MB / 0.5625 GB, free: 109.2 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/0.7857, allocations: 2.195 MB / 0.5647 GB, free: 108.2 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.002328/0.788, allocations: 1.404 MB / 0.5661 GB, free: 108 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000329/0.7883, allocations: 161.8 kB / 0.5662 GB, free: 108 MB / 462.1 MB
Notification: Performance of SimCode: time 8.71e-07/0.7883, allocations: 0 / 0.5662 GB, free: 108 MB / 462.1 MB
Notification: Performance of Templates: time 0.03902/0.8273, allocations: 23.84 MB / 0.5895 GB, free: 85.78 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.074163297191262]