Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001985/0.001985, allocations: 106 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002611/0.002611, allocations: 189.3 kB / 24.51 MB, free: 4.051 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2437/0.2437, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 71.89 kB / 497.7 MB, free: 1.012 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4478, allocations: 64.28 MB / 0.5488 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003889/0.4517, allocations: 1.866 MB / 0.5506 GB, free: 11.68 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003327/0.455, allocations: 1.349 MB / 0.5519 GB, free: 10.63 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.4551, allocations: 5.375 kB / 0.5519 GB, free: 10.63 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000258/0.4554, allocations: 30.62 kB / 0.552 GB, free: 10.6 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.481e-05/0.4555, allocations: 31.66 kB / 0.552 GB, free: 10.57 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.4581, allocations: 0.6688 MB / 0.5527 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005675/0.4586, allocations: 303.8 kB / 0.5529 GB, free: 9.934 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.4588, allocations: 36.48 kB / 0.553 GB, free: 9.906 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.459, allocations: 120.6 kB / 0.5531 GB, free: 9.836 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.4594, allocations: 178.8 kB / 0.5533 GB, free: 9.727 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.4594, allocations: 23.12 kB / 0.5533 GB, free: 9.727 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00244/0.4619, allocations: 1.363 MB / 0.5546 GB, free: 8.785 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002057/0.4621, allocations: 118.9 kB / 0.5547 GB, free: 8.711 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000204/0.4623, allocations: 143.6 kB / 0.5549 GB, free: 8.602 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001907/0.4642, allocations: 1.103 MB / 0.556 GB, free: 7.91 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.4642, allocations: 0 / 0.556 GB, free: 7.91 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.665e-06/0.4642, allocations: 1.406 kB / 0.556 GB, free: 7.91 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.611e-05/0.4642, allocations: 4 kB / 0.556 GB, free: 7.906 MB / 398.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.001745/0.466, allocations: 0.6587 MB / 0.5566 GB, free: 7.391 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.466, allocations: 10.36 kB / 0.5566 GB, free: 7.391 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.878e-05/0.4661, allocations: 33.73 kB / 0.5566 GB, free: 7.371 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004192/0.4665, allocations: 227.3 kB / 0.5569 GB, free: 7.129 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.4665, allocations: 12 kB / 0.5569 GB, free: 7.117 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.996e-05/0.4666, allocations: 31.94 kB / 0.5569 GB, free: 7.086 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005791/0.4672, allocations: 275.7 kB / 0.5572 GB, free: 6.805 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4672, allocations: 3.938 kB / 0.5572 GB, free: 6.801 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.4672, allocations: 4 kB / 0.5572 GB, free: 6.797 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.4672, allocations: 4 kB / 0.5572 GB, free: 6.793 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004541/0.4677, allocations: 227 kB / 0.5574 GB, free: 6.574 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.4691, allocations: 0.7179 MB / 0.5581 GB, free: 5.809 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/0.4696, allocations: 288.9 kB / 0.5584 GB, free: 5.508 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.47, allocations: 189.6 kB / 0.5585 GB, free: 5.316 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.47, allocations: 4 kB / 0.5586 GB, free: 5.312 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.47, allocations: 42.48 kB / 0.5586 GB, free: 5.262 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.47, allocations: 0 / 0.5586 GB, free: 5.262 MB / 398.1 MB
Notification: Performance of matching and sorting (n=24): time 0.001157/0.4712, allocations: 0.5366 MB / 0.5591 GB, free: 4.719 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.4713, allocations: 81.05 kB / 0.5592 GB, free: 4.621 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.4717, allocations: 352.6 kB / 0.5595 GB, free: 4.27 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.4717, allocations: 33.7 kB / 0.5596 GB, free: 4.23 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.4718, allocations: 136.9 kB / 0.5597 GB, free: 4.09 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.472, allocations: 111.1 kB / 0.5598 GB, free: 3.98 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001859/0.4722, allocations: 125.7 kB / 0.5599 GB, free: 3.852 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002228/0.4724, allocations: 342.8 kB / 0.5602 GB, free: 3.508 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/0.4728, allocations: 288.9 kB / 0.5605 GB, free: 3.227 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004878/0.4733, allocations: 335.5 kB / 0.5608 GB, free: 2.895 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/0.4773, allocations: 1.756 MB / 0.5626 GB, free: 1.125 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.555e-06/0.4773, allocations: 4 kB / 0.5626 GB, free: 1.121 MB / 398.1 MB
Notification: Performance of matching and sorting (n=92) (initialization): time 0.001256/0.4785, allocations: 0.7621 MB / 0.5633 GB, free: 360 kB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.4786, allocations: 4 kB / 0.5633 GB, free: 356 kB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.745e-05/0.4786, allocations: 8 kB / 0.5633 GB, free: 348 kB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/0.4786, allocations: 3.938 kB / 0.5633 GB, free: 344 kB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006515/0.4793, allocations: 99.86 kB / 0.5634 GB, free: 244 kB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/0.4793, allocations: 4 kB / 0.5634 GB, free: 240 kB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.4796, allocations: 83.28 kB / 0.5635 GB, free: 156 kB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/0.4796, allocations: 11.98 kB / 0.5635 GB, free: 144 kB / 398.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.0003704/0.48, allocations: 176.9 kB / 0.5637 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.372e-05/0.4801, allocations: 27.75 kB / 0.5637 GB, free: 15.93 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.4802, allocations: 50.64 kB / 0.5638 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.4802, allocations: 4 kB / 0.5638 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4802, allocations: 0 / 0.5638 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.4802, allocations: 0 / 0.5638 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.4807, allocations: 308.4 kB / 0.5641 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4807, allocations: 4 kB / 0.5641 GB, free: 15.53 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003814/0.4811, allocations: 51.91 kB / 0.5641 GB, free: 15.48 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.4811, allocations: 0 / 0.5641 GB, free: 15.48 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/0.4812, allocations: 23.86 kB / 0.5641 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4812, allocations: 0 / 0.5641 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4812, allocations: 0 / 0.5641 GB, free: 15.45 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.4823, allocations: 0.7487 MB / 0.5649 GB, free: 14.68 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.4824, allocations: 31.84 kB / 0.5649 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.4824, allocations: 15.92 kB / 0.5649 GB, free: 14.64 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.4827, allocations: 15.98 kB / 0.5649 GB, free: 14.62 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.841e-05/0.4828, allocations: 15.97 kB / 0.5649 GB, free: 14.61 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.4828, allocations: 12 kB / 0.5649 GB, free: 14.59 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002711/0.4831, allocations: 219 kB / 0.5652 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4831, allocations: 0 / 0.5652 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001109/0.4842, allocations: 247.7 kB / 0.5654 GB, free: 14.14 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.0006346/0.4848, allocations: 266.5 kB / 0.5656 GB, free: 13.87 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001116/0.4859, allocations: 0.6684 MB / 0.5663 GB, free: 13.18 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.4859, allocations: 4 kB / 0.5663 GB, free: 13.17 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.4863, allocations: 184.6 kB / 0.5665 GB, free: 12.99 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005367/0.4868, allocations: 49 kB / 0.5665 GB, free: 12.95 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.4884, allocations: 0.9352 MB / 0.5674 GB, free: 11.99 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.4889, allocations: 0.8066 MB / 0.5682 GB, free: 11.15 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001929/0.4891, allocations: 74.23 kB / 0.5683 GB, free: 11.08 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4892, allocations: 23.44 kB / 0.5683 GB, free: 11.06 MB / 414.1 MB
Notification: Performance of SimCode: time 5.11e-07/0.4892, allocations: 0 / 0.5683 GB, free: 11.06 MB / 414.1 MB
Notification: Performance of Templates: time 0.01569/0.5048, allocations: 6.741 MB / 0.5749 GB, free: 4.348 MB / 414.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660]
(rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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: 6.025100153870881]