Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.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.001429/0.001429, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001601/0.001601, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.571/1.571, allocations: 230.3 MB / 258 MB, free: 8.25 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2452/0.2452, allocations: 46.89 MB / 361.3 MB, free: 4.449 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
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(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2")
translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 75.88 kB / 0.497 GB, free: 7.602 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.406, allocations: 66.03 MB / 0.5615 GB, free: 4.629 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003272/0.4092, allocations: 1.871 MB / 0.5634 GB, free: 2.75 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002333/0.4116, allocations: 1.424 MB / 0.5648 GB, free: 1.32 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.502e-05/0.4117, allocations: 7.938 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.4118, allocations: 31.72 kB / 0.5648 GB, free: 1.281 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 7.088e-05/0.4119, allocations: 31.66 kB / 0.5648 GB, free: 1.25 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.4136, allocations: 0.6849 MB / 0.5655 GB, free: 0.5664 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004076/0.4141, allocations: 307.2 kB / 0.5658 GB, free: 272 kB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.4142, allocations: 44.55 kB / 0.5658 GB, free: 224 kB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.4144, allocations: 119.6 kB / 0.5659 GB, free: 104 kB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.4147, allocations: 175.5 kB / 0.5661 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.911e-05/0.4147, allocations: 24 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.4168, allocations: 1.364 MB / 0.5675 GB, free: 14.54 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00016/0.417, allocations: 123.6 kB / 0.5676 GB, free: 14.42 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.4171, allocations: 139.2 kB / 0.5677 GB, free: 14.28 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001376/0.4185, allocations: 1.105 MB / 0.5688 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4185, allocations: 0 / 0.5688 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of FrontEnd: time 2.254e-06/0.4185, allocations: 0 / 0.5688 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 9.127e-06/0.4185, allocations: 4 kB / 0.5688 GB, free: 13.18 MB / 414.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 32
 * Number of variables: 32
Notification: Performance of Generate backend data structure: time 0.001466/0.42, allocations: 0.6599 MB / 0.5694 GB, free: 12.48 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.42, allocations: 12.03 kB / 0.5694 GB, free: 12.47 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.4202, allocations: 40.69 kB / 0.5695 GB, free: 12.43 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.4206, allocations: 234.2 kB / 0.5697 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4207, allocations: 12 kB / 0.5697 GB, free: 12.17 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.117e-05/0.4207, allocations: 31.89 kB / 0.5698 GB, free: 12.14 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005247/0.4213, allocations: 275.6 kB / 0.57 GB, free: 11.86 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4213, allocations: 0 / 0.57 GB, free: 11.86 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.4213, allocations: 4 kB / 0.57 GB, free: 11.86 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4213, allocations: 4 kB / 0.57 GB, free: 11.85 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.4218, allocations: 223.8 kB / 0.5702 GB, free: 11.63 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.4231, allocations: 0.7257 MB / 0.5709 GB, free: 10.86 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.4237, allocations: 292.9 kB / 0.5712 GB, free: 10.55 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.424, allocations: 185.6 kB / 0.5714 GB, free: 10.37 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.021e-05/0.424, allocations: 4 kB / 0.5714 GB, free: 10.36 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.4241, allocations: 38.5 kB / 0.5714 GB, free: 10.32 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=24): time 1.402e-06/0.4241, allocations: 0 / 0.5714 GB, free: 10.32 MB / 414.1 MB
Notification: Performance of matching and sorting (n=24): time 0.001158/0.4252, allocations: 0.5412 MB / 0.572 GB, free: 9.77 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.4253, allocations: 81.11 kB / 0.572 GB, free: 9.672 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.4257, allocations: 352.6 kB / 0.5724 GB, free: 9.316 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.253e-05/0.4257, allocations: 37.69 kB / 0.5724 GB, free: 9.273 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.4259, allocations: 133 kB / 0.5725 GB, free: 9.137 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.426, allocations: 107.1 kB / 0.5726 GB, free: 9.031 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/0.4262, allocations: 125.4 kB / 0.5728 GB, free: 8.902 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001787/0.4263, allocations: 350.8 kB / 0.5731 GB, free: 8.551 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.4268, allocations: 292.8 kB / 0.5734 GB, free: 8.266 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005205/0.4273, allocations: 340.1 kB / 0.5737 GB, free: 7.93 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/0.4313, allocations: 1.75 MB / 0.5754 GB, free: 6.168 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4314, allocations: 3.984 kB / 0.5754 GB, free: 6.164 MB / 414.1 MB
Notification: Performance of matching and sorting (n=92) (initialization): time 0.001255/0.4326, allocations: 0.766 MB / 0.5762 GB, free: 5.391 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4326, allocations: 4 kB / 0.5762 GB, free: 5.387 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-05/0.4327, allocations: 8 kB / 0.5762 GB, free: 5.379 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.4327, allocations: 3.938 kB / 0.5762 GB, free: 5.375 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005079/0.4332, allocations: 95.88 kB / 0.5763 GB, free: 5.281 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.4332, allocations: 4 kB / 0.5763 GB, free: 5.277 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.4334, allocations: 83.34 kB / 0.5764 GB, free: 5.195 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.4335, allocations: 11.98 kB / 0.5764 GB, free: 5.184 MB / 414.1 MB
Warning: Assuming fixed start value for the following 6 variables:
         padeDelay2a.x[3]:VARIABLE(fixed = true final = true )  \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4]
         padeDelay2a.x[2]:VARIABLE(fixed = true final = true )  \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4]
         padeDelay2a.x[1]:VARIABLE(fixed = true final = true )  \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4]
         padeDelay1a.x[3]:VARIABLE(fixed = true final = true )  \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4]
         padeDelay1a.x[2]:VARIABLE(fixed = true final = true )  \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4]
         padeDelay1a.x[1]:VARIABLE(fixed = true final = true )  \"State of transfer function from controller canonical form (balance=false), or balanced controller canonical form (balance=true)\" type: Real [4]
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (44):
 * Single equations (assignments): 40
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 4
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0002805/0.4337, allocations: 179.8 kB / 0.5765 GB, free: 5 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.086e-05/0.4338, allocations: 23.81 kB / 0.5766 GB, free: 4.977 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.4339, allocations: 46.66 kB / 0.5766 GB, free: 4.922 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.434, allocations: 4 kB / 0.5766 GB, free: 4.918 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.434, allocations: 0 / 0.5766 GB, free: 4.918 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.434, allocations: 7.922 kB / 0.5766 GB, free: 4.91 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.4344, allocations: 312.4 kB / 0.5769 GB, free: 4.562 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4344, allocations: 0 / 0.5769 GB, free: 4.562 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003676/0.4348, allocations: 47.97 kB / 0.577 GB, free: 4.516 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4348, allocations: 0 / 0.577 GB, free: 4.516 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.4349, allocations: 23.86 kB / 0.577 GB, free: 4.492 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4349, allocations: 0 / 0.577 GB, free: 4.492 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4349, allocations: 0 / 0.577 GB, free: 4.492 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001182/0.436, allocations: 0.7562 MB / 0.5777 GB, free: 3.715 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.4362, allocations: 35.78 kB / 0.5778 GB, free: 3.68 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/0.4362, allocations: 19.92 kB / 0.5778 GB, free: 3.66 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.4365, allocations: 8 kB / 0.5778 GB, free: 3.652 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.213e-05/0.4365, allocations: 15.97 kB / 0.5778 GB, free: 3.637 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.4366, allocations: 15.98 kB / 0.5778 GB, free: 3.621 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002569/0.4368, allocations: 219 kB / 0.578 GB, free: 3.406 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.4368, allocations: 0 / 0.578 GB, free: 3.406 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0009717/0.4378, allocations: 247.7 kB / 0.5783 GB, free: 3.164 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 16 (padeDelay2a.x[1],padeDelay2a.x[2],padeDelay2a.x[3],padeDelay2a.x[4],padeDelay2b.x[1],padeDelay2b.x[2],padeDelay2b.x[3],padeDelay2b.x[4],padeDelay1b.x[1],padeDelay1b.x[2],padeDelay1b.x[3],padeDelay1b.x[4],padeDelay1a.x[1],padeDelay1a.x[2],padeDelay1a.x[3],padeDelay1a.x[4])
 * 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 (24):
 * Single equations (assignments): 24
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0006284/0.4384, allocations: 250.8 kB / 0.5785 GB, free: 2.91 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.00122/0.4396, allocations: 0.6659 MB / 0.5792 GB, free: 2.223 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.4396, allocations: 0 / 0.5792 GB, free: 2.223 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.44, allocations: 195.7 kB / 0.5793 GB, free: 2.031 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004934/0.4405, allocations: 51.09 kB / 0.5794 GB, free: 1.984 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.442, allocations: 0.9469 MB / 0.5803 GB, free: 1.012 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005385/0.4425, allocations: 0.8067 MB / 0.5811 GB, free: 180 kB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0002102/0.4427, allocations: 70.25 kB / 0.5812 GB, free: 112 kB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.4428, allocations: 27.42 kB / 0.5812 GB, free: 84 kB / 414.1 MB
Notification: Performance of SimCode: time 9.82e-07/0.4428, allocations: 0 / 0.5812 GB, free: 84 kB / 414.1 MB
Notification: Performance of Templates: time 0.01536/0.4582, allocations: 6.733 MB / 0.5878 GB, free: 9.363 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.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.878114997409284]