Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001808/0.001808, 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.001519/0.001519, 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.44/1.44, allocations: 230.3 MB / 258 MB, free: 8.195 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2299/0.2299, allocations: 46.93 MB / 361.4 MB, free: 4.371 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2") [Timeout 660]
"Warning: Requested package Modelica 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.00245/0.00245, allocations: 79.86 kB / 0.4972 GB, free: 7.5 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3495, allocations: 66.04 MB / 0.5616 GB, free: 4.492 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00319/0.3527, allocations: 1.871 MB / 0.5635 GB, free: 2.613 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002251/0.355, allocations: 1.42 MB / 0.5649 GB, free: 1.188 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.53e-05/0.3551, allocations: 4 kB / 0.5649 GB, free: 1.184 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001568/0.3552, allocations: 31.72 kB / 0.5649 GB, free: 1.152 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.023e-05/0.3553, allocations: 35.66 kB / 0.5649 GB, free: 1.117 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.3571, allocations: 0.682 MB / 0.5656 GB, free: 444 kB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003855/0.3575, allocations: 311.2 kB / 0.5659 GB, free: 132 kB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3576, allocations: 36.56 kB / 0.5659 GB, free: 92 kB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.3579, allocations: 127.6 kB / 0.566 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.3581, allocations: 171.5 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.3582, allocations: 20 kB / 0.5662 GB, free: 15.78 MB / 414.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.3602, allocations: 1.368 MB / 0.5676 GB, free: 14.41 MB / 414.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.3604, allocations: 119.6 kB / 0.5677 GB, free: 14.29 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.3605, allocations: 143.2 kB / 0.5678 GB, free: 14.15 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001245/0.3618, allocations: 1.112 MB / 0.5689 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3618, allocations: 4 kB / 0.5689 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.483e-06/0.3618, allocations: 0 / 0.5689 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 6.983e-06/0.3618, allocations: 0 / 0.5689 GB, free: 13.04 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.00125/0.363, allocations: 0.6599 MB / 0.5695 GB, free: 12.34 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3631, allocations: 8.031 kB / 0.5696 GB, free: 12.34 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.3633, allocations: 40.7 kB / 0.5696 GB, free: 12.3 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.3636, allocations: 230.2 kB / 0.5698 GB, free: 12.05 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3637, allocations: 15.94 kB / 0.5698 GB, free: 12.04 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.3637, allocations: 27.95 kB / 0.5699 GB, free: 12.01 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.3642, allocations: 276.2 kB / 0.5701 GB, free: 11.73 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.3642, allocations: 7.984 kB / 0.5701 GB, free: 11.72 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.3643, allocations: 4 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3643, allocations: 4 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004136/0.3647, allocations: 218.9 kB / 0.5703 GB, free: 11.5 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.366, allocations: 0.7256 MB / 0.5711 GB, free: 10.73 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.3665, allocations: 292.8 kB / 0.5713 GB, free: 10.42 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.3668, allocations: 185.6 kB / 0.5715 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.324e-05/0.3669, allocations: 4 kB / 0.5715 GB, free: 10.23 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.3669, allocations: 38.5 kB / 0.5715 GB, free: 10.18 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=24): time 1.262e-06/0.3669, allocations: 4 kB / 0.5716 GB, free: 10.18 MB / 414.1 MB
Notification: Performance of matching and sorting (n=24): time 0.001017/0.3679, allocations: 0.5366 MB / 0.5721 GB, free: 9.637 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.368, allocations: 77.11 kB / 0.5722 GB, free: 9.543 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003839/0.3683, allocations: 356.6 kB / 0.5725 GB, free: 9.184 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.3684, allocations: 29.7 kB / 0.5725 GB, free: 9.148 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.3685, allocations: 141 kB / 0.5727 GB, free: 9.004 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.3686, allocations: 115 kB / 0.5728 GB, free: 8.891 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.3688, allocations: 129.3 kB / 0.5729 GB, free: 8.758 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001768/0.3689, allocations: 350.8 kB / 0.5732 GB, free: 8.406 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.3694, allocations: 284.8 kB / 0.5735 GB, free: 8.129 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/0.3699, allocations: 336.2 kB / 0.5738 GB, free: 7.797 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003603/0.3735, allocations: 1.758 MB / 0.5755 GB, free: 6.027 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3735, allocations: 0 / 0.5755 GB, free: 6.027 MB / 414.1 MB
Notification: Performance of matching and sorting (n=92) (initialization): time 0.001349/0.3748, allocations: 0.7699 MB / 0.5763 GB, free: 5.25 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3748, allocations: 6.344 kB / 0.5763 GB, free: 5.246 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.3749, allocations: 4 kB / 0.5763 GB, free: 5.242 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.3749, allocations: 7.938 kB / 0.5763 GB, free: 5.234 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.3753, allocations: 99.86 kB / 0.5764 GB, free: 5.137 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.3753, allocations: 4 kB / 0.5764 GB, free: 5.133 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.3755, allocations: 71.34 kB / 0.5765 GB, free: 5.062 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.3756, allocations: 8 kB / 0.5765 GB, free: 5.055 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.0002407/0.3758, allocations: 181.2 kB / 0.5766 GB, free: 4.867 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.3759, allocations: 31.81 kB / 0.5767 GB, free: 4.836 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.376, allocations: 42.64 kB / 0.5767 GB, free: 4.785 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.376, allocations: 0 / 0.5767 GB, free: 4.785 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.376, allocations: 4 kB / 0.5767 GB, free: 4.781 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.376, allocations: 0 / 0.5767 GB, free: 4.781 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004179/0.3764, allocations: 308.4 kB / 0.577 GB, free: 4.438 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.3764, allocations: 7.938 kB / 0.577 GB, free: 4.43 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.3768, allocations: 39.97 kB / 0.5771 GB, free: 4.391 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3768, allocations: 11.94 kB / 0.5771 GB, free: 4.379 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.333e-05/0.3769, allocations: 15.92 kB / 0.5771 GB, free: 4.363 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3769, allocations: 4 kB / 0.5771 GB, free: 4.359 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3769, allocations: 0 / 0.5771 GB, free: 4.359 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.3779, allocations: 0.7522 MB / 0.5778 GB, free: 3.586 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.378, allocations: 39.84 kB / 0.5779 GB, free: 3.547 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.157e-05/0.378, allocations: 15.92 kB / 0.5779 GB, free: 3.531 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.3782, allocations: 11.98 kB / 0.5779 GB, free: 3.52 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.037e-05/0.3783, allocations: 19.97 kB / 0.5779 GB, free: 3.5 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.3783, allocations: 4 kB / 0.5779 GB, free: 3.496 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0002247/0.3786, allocations: 223 kB / 0.5781 GB, free: 3.277 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3786, allocations: 0 / 0.5781 GB, free: 3.277 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0008032/0.3794, allocations: 255.7 kB / 0.5784 GB, free: 3.027 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.0004989/0.3799, allocations: 254.8 kB / 0.5786 GB, free: 2.77 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001018/0.3809, allocations: 0.6619 MB / 0.5793 GB, free: 2.086 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3809, allocations: 0 / 0.5793 GB, free: 2.086 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004269/0.3813, allocations: 195.7 kB / 0.5794 GB, free: 1.895 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.3818, allocations: 50.31 kB / 0.5795 GB, free: 1.848 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.3833, allocations: 0.9436 MB / 0.5804 GB, free: 0.8789 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.3838, allocations: 0.8106 MB / 0.5812 GB, free: 40 kB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0001834/0.3839, allocations: 70.23 kB / 0.5813 GB, free: 15.97 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.384, allocations: 23.44 kB / 0.5813 GB, free: 15.95 MB / 430.1 MB
Notification: Performance of SimCode: time 3e-07/0.384, allocations: 0 / 0.5813 GB, free: 15.95 MB / 430.1 MB
Notification: Performance of Templates: time 0.01374/0.3978, allocations: 6.735 MB / 0.5879 GB, free: 9.227 MB / 430.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.592658910900354]