Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002366/0.002366, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.59/1.59, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.334/0.334, allocations: 34.25 MB / 295.3 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.576e-05/4.745e-05, allocations: 2.312 kB / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.004992/0.005039, allocations: 1.807 MB / 379.1 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003835/0.008874, allocations: 1.302 MB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.009012, allocations: 4 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.009239, allocations: 35.66 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.009356, allocations: 31.72 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002813/0.01217, allocations: 0.6853 MB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004756/0.01264, allocations: 239.2 kB / 381.4 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.01281, allocations: 24.58 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004019/0.01321, allocations: 147.6 kB / 381.5 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003382/0.01355, allocations: 147.7 kB / 381.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.596e-05/0.01363, allocations: 24 kB / 381.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003254/0.01688, allocations: 1.216 MB / 382.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.01712, allocations: 119.6 kB / 383 MB, free: 13.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.01733, allocations: 99.72 kB / 383.1 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.0197, allocations: 1.204 MB / 384.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.0197, allocations: 0 / 384.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.0197, allocations: 0 / 384.3 MB, free: 11.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.01971, allocations: 4 kB / 384.4 MB, free: 11.87 MB / 362.7 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.001997/0.02171, allocations: 0.6638 MB / 385 MB, free: 11.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.451e-05/0.02178, allocations: 12.03 kB / 385 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000351/0.02213, allocations: 48.73 kB / 385.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/0.02275, allocations: 221.9 kB / 385.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.02279, allocations: 16.38 kB / 385.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.0229, allocations: 23.94 kB / 385.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008885/0.02379, allocations: 331.1 kB / 385.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.0238, allocations: 3.938 kB / 385.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.793e-05/0.02384, allocations: 4 kB / 385.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.02385, allocations: 4 kB / 385.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007232/0.02457, allocations: 227.8 kB / 385.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.02654, allocations: 0.6522 MB / 386.5 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007845/0.02732, allocations: 280.9 kB / 386.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008031/0.02813, allocations: 181.6 kB / 387 MB, free: 9.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.318e-05/0.02817, allocations: 8 kB / 387 MB, free: 9.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.398e-05/0.02823, allocations: 34.56 kB / 387 MB, free: 9.035 MB / 362.7 MB Notification: Performance of pre-optimization done (n=24): time 2.264e-06/0.02823, allocations: 0 / 387 MB, free: 9.035 MB / 362.7 MB Notification: Performance of matching and sorting (n=24): time 0.001894/0.03012, allocations: 0.5524 MB / 387.6 MB, free: 8.477 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.266e-05/0.03021, allocations: 85.11 kB / 387.7 MB, free: 8.375 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006673/0.03088, allocations: 352.5 kB / 388 MB, free: 8.023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/0.03095, allocations: 33.64 kB / 388 MB, free: 7.984 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.03113, allocations: 144.9 kB / 388.2 MB, free: 7.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.03129, allocations: 103.2 kB / 388.3 MB, free: 7.738 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/0.03159, allocations: 117.7 kB / 388.4 MB, free: 7.617 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000291/0.03188, allocations: 350.8 kB / 388.7 MB, free: 7.266 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000767/0.03265, allocations: 288.8 kB / 389 MB, free: 6.984 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000793/0.03344, allocations: 339.5 kB / 389.4 MB, free: 6.645 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005997/0.03944, allocations: 1.753 MB / 391.1 MB, free: 4.883 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.03944, allocations: 0 / 391.1 MB, free: 4.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002195/0.04164, allocations: 0.7854 MB / 391.9 MB, free: 4.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.04166, allocations: 8 kB / 391.9 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-05/0.04169, allocations: 4 kB / 391.9 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.841e-05/0.04172, allocations: 4 kB / 391.9 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007784/0.0425, allocations: 99.86 kB / 392 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.04252, allocations: 7.984 kB / 392 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.04286, allocations: 67.28 kB / 392.1 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.02e-05/0.04292, allocations: 23.97 kB / 392.1 MB, free: 3.879 MB / 362.7 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.0004078/0.04332, allocations: 181.4 kB / 392.3 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.04351, allocations: 35.77 kB / 392.3 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001585/0.04366, allocations: 42.77 kB / 392.4 MB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.04367, allocations: 7.938 kB / 392.4 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.04368, allocations: 0 / 392.4 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.04369, allocations: 0 / 392.4 MB, free: 3.613 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006805/0.04437, allocations: 249 kB / 392.6 MB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.04437, allocations: 4 kB / 392.6 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005669/0.04494, allocations: 43.98 kB / 392.7 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.04495, allocations: 4 kB / 392.7 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/0.045, allocations: 11.98 kB / 392.7 MB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.04501, allocations: 4 kB / 392.7 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.04501, allocations: 0 / 392.7 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.04667, allocations: 0.7594 MB / 393.4 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.835e-05/0.04672, allocations: 31.88 kB / 393.5 MB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/0.04678, allocations: 16 kB / 393.5 MB, free: 2.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002447/0.04703, allocations: 11.98 kB / 393.5 MB, free: 2.438 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/0.04712, allocations: 15.97 kB / 393.5 MB, free: 2.422 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/0.04715, allocations: 8 kB / 393.5 MB, free: 2.414 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003004/0.04745, allocations: 223 kB / 393.7 MB, free: 2.195 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04745, allocations: 0 / 393.7 MB, free: 2.195 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000987/0.04844, allocations: 263.6 kB / 394 MB, free: 1.938 MB / 362.7 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.0007653/0.0492, allocations: 279.4 kB / 394.3 MB, free: 1.652 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.0504, allocations: 0.6617 MB / 394.9 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.0504, allocations: 0 / 394.9 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003627/0.05077, allocations: 191.8 kB / 395.1 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.05132, allocations: 45.12 kB / 395.2 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.05289, allocations: 0.8622 MB / 396 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.05315, allocations: 207.5 kB / 396.2 MB, free: 15.62 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002296/0.05338, allocations: 69.89 kB / 396.3 MB, free: 15.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.05349, allocations: 20.5 kB / 396.3 MB, free: 15.54 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.05349, allocations: 4 kB / 396.3 MB, free: 15.53 MB / 378.7 MB Notification: Performance of Templates: time 0.014/0.06749, allocations: 6.671 MB / 403 MB, free: 8.898 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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.185914220055565]