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.001404/0.001404, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001272/0.001272, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 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.131/1.131, allocations: 177 MB / 205.2 MB, free: 5.066 MB / 186.7 MB " [Timeout remaining time 179] 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.2658/0.2658, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 266.7 MB " [Timeout remaining time 180] 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 2.685e-06/2.685e-06, allocations: 0 / 325.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.366e-05, allocations: 6.5 kB / 325.9 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.002983/0.003016, allocations: 1.882 MB / 327.8 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.00488, allocations: 1.349 MB / 329.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.978e-05/0.00498, allocations: 4 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.005144, allocations: 31.72 kB / 329.2 MB, free: 3.859 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.276e-05/0.005207, allocations: 39.58 kB / 329.3 MB, free: 3.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.006697, allocations: 0.647 MB / 329.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.006963, allocations: 235.2 kB / 330.1 MB, free: 2.941 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.007087, allocations: 42.47 kB / 330.2 MB, free: 2.902 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.007318, allocations: 139.7 kB / 330.3 MB, free: 2.766 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.007482, allocations: 147.7 kB / 330.5 MB, free: 2.621 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.007516, allocations: 24 kB / 330.5 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.00937, allocations: 1.274 MB / 331.7 MB, free: 1.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.009532, allocations: 119.6 kB / 331.9 MB, free: 1.203 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.228e-05/0.009624, allocations: 91.73 kB / 332 MB, free: 1.113 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.01121, allocations: 1.13 MB / 333.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.01122, allocations: 3.984 kB / 333.1 MB, free: 15.97 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.01122, allocations: 4 kB / 333.1 MB, free: 15.96 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.01122, allocations: 4 kB / 333.1 MB, free: 15.96 MB / 314.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.0009219/0.01215, allocations: 0.6214 MB / 333.7 MB, free: 15.32 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.01219, allocations: 8.031 kB / 333.7 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.01236, allocations: 32.91 kB / 333.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.01261, allocations: 197.9 kB / 334 MB, free: 15.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.01263, allocations: 24.38 kB / 334 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.01268, allocations: 27.88 kB / 334 MB, free: 15.01 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.01294, allocations: 222.1 kB / 334.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.01295, allocations: 0 / 334.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.01297, allocations: 8 kB / 334.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.01298, allocations: 4 kB / 334.2 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-05/0.01307, allocations: 41.64 kB / 334.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006281/0.0137, allocations: 484.8 kB / 334.7 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001935/0.01389, allocations: 221.4 kB / 335 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.955e-05/0.01396, allocations: 61.69 kB / 335 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/0.01399, allocations: 4 kB / 335 MB, free: 13.9 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.01401, allocations: 30.56 kB / 335.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 2.444e-06/0.01402, allocations: 0 / 335.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003082/0.01432, allocations: 167.1 kB / 335.2 MB, free: 13.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.01436, allocations: 85.05 kB / 335.3 MB, free: 13.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.01454, allocations: 306.9 kB / 335.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.01457, allocations: 29.7 kB / 335.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.01464, allocations: 144.8 kB / 335.8 MB, free: 13.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/0.0147, allocations: 95.16 kB / 335.9 MB, free: 13.01 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.01481, allocations: 125.5 kB / 336 MB, free: 12.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.01491, allocations: 350.7 kB / 336.3 MB, free: 12.53 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.01501, allocations: 83.75 kB / 336.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.01513, allocations: 119.4 kB / 336.5 MB, free: 12.32 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.01553, allocations: 354.9 kB / 336.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01553, allocations: 0 / 336.9 MB, free: 11.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0003186/0.01585, allocations: 301 kB / 337.2 MB, free: 11.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.01587, allocations: 8 kB / 337.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.01588, allocations: 3.938 kB / 337.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.0159, allocations: 4 kB / 337.2 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003739/0.01627, allocations: 107.9 kB / 337.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.01628, allocations: 0 / 337.3 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.731e-05/0.01637, allocations: 63.36 kB / 337.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.01639, allocations: 12 kB / 337.4 MB, free: 11.47 MB / 314.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.0001678/0.01656, allocations: 143.1 kB / 337.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.01661, allocations: 23.98 kB / 337.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.935e-05/0.01666, allocations: 42.72 kB / 337.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.01666, allocations: 0 / 337.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.01667, allocations: 4 kB / 337.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.01667, allocations: 3.984 kB / 337.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.01705, allocations: 153.7 kB / 337.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.01706, allocations: 0 / 337.7 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.01725, allocations: 39.98 kB / 337.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.01726, allocations: 7.938 kB / 337.8 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.01729, allocations: 15.98 kB / 337.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.01729, allocations: 8 kB / 337.8 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01729, allocations: 0 / 337.8 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.01771, allocations: 478.5 kB / 338.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.01774, allocations: 47.62 kB / 338.3 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.01778, allocations: 8 kB / 338.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.01789, allocations: 11.98 kB / 338.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.01794, allocations: 15.97 kB / 338.3 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.01796, allocations: 7.984 kB / 338.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.01808, allocations: 104.6 kB / 338.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01808, allocations: 0 / 338.5 MB, free: 10.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006829/0.01876, allocations: 255.6 kB / 338.7 MB, free: 10.08 MB / 314.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.0003982/0.01916, allocations: 279.9 kB / 339 MB, free: 9.801 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003558/0.01951, allocations: 346.7 kB / 339.3 MB, free: 9.438 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.01952, allocations: 7.938 kB / 339.3 MB, free: 9.43 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.705e-05/0.0196, allocations: 70.73 kB / 339.4 MB, free: 9.359 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.01989, allocations: 45.05 kB / 339.4 MB, free: 9.316 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.02093, allocations: 0.747 MB / 340.2 MB, free: 8.543 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.095e-05/0.02101, allocations: 120.2 kB / 340.3 MB, free: 8.406 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.405e-05/0.02109, allocations: 21.94 kB / 340.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.02125, allocations: 95.36 kB / 340.4 MB, free: 8.293 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.02125, allocations: 0 / 340.4 MB, free: 8.293 MB / 314.7 MB Notification: Performance of Templates: time 0.01021/0.03146, allocations: 7.481 MB / 347.9 MB, free: 0.8594 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1260993690229952]