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.0009485/0.0009485, allocations: 84.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.001538/0.001538, allocations: 165.5 kB / 24.91 MB, free: 8.766 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 0.9359/0.9359, allocations: 177 MB / 205.2 MB, free: 5.055 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.2307/0.2307, 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 1.162e-06/1.162e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.501e-05/1.617e-05, allocations: 3.625 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00188/0.001896, allocations: 1.85 MB / 327.7 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.003296, allocations: 1.345 MB / 329.1 MB, free: 3.953 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.003361, allocations: 3.938 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.003482, allocations: 31.72 kB / 329.1 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.894e-05/0.003531, allocations: 35.66 kB / 329.2 MB, free: 3.883 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.004548, allocations: 0.6899 MB / 329.8 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001816/0.004729, allocations: 239.3 kB / 330.1 MB, free: 2.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.167e-05/0.004821, allocations: 42.45 kB / 330.1 MB, free: 2.918 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001454/0.004966, allocations: 135.7 kB / 330.3 MB, free: 2.785 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.005096, allocations: 147.7 kB / 330.4 MB, free: 2.641 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.892e-05/0.005124, allocations: 24 kB / 330.4 MB, free: 2.617 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.006183, allocations: 1.231 MB / 331.7 MB, free: 1.383 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.083e-05/0.006274, allocations: 119.7 kB / 331.8 MB, free: 1.266 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.574e-05/0.00634, allocations: 95.67 kB / 331.9 MB, free: 1.172 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000778/0.007118, allocations: 1.126 MB / 333 MB, free: 40 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.007119, allocations: 3.938 kB / 333 MB, free: 36 kB / 298.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.00712, allocations: 3.938 kB / 333 MB, free: 32 kB / 298.7 MB Notification: Performance of Transformations before backend: time 3.326e-06/0.007123, allocations: 0 / 333 MB, free: 32 kB / 298.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.0006214/0.007745, allocations: 0.6254 MB / 333.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.629e-05/0.007771, allocations: 8.031 kB / 333.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.007876, allocations: 36.89 kB / 333.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.008062, allocations: 201.9 kB / 333.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.008074, allocations: 16.38 kB / 333.9 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.008114, allocations: 27.89 kB / 333.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.008308, allocations: 210.2 kB / 334.1 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.008314, allocations: 4 kB / 334.1 MB, free: 14.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.008329, allocations: 11.98 kB / 334.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.008335, allocations: 4 kB / 334.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.14e-05/0.008417, allocations: 48.53 kB / 334.2 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.008905, allocations: 484.8 kB / 334.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.009062, allocations: 212.2 kB / 334.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.415e-05/0.009126, allocations: 58.78 kB / 334.9 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.009144, allocations: 4.438 kB / 334.9 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.009167, allocations: 46.5 kB / 335 MB, free: 13.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=24): time 1.262e-06/0.009168, allocations: 4 kB / 335 MB, free: 13.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002563/0.009424, allocations: 162.9 kB / 335.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.009457, allocations: 88.98 kB / 335.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.009607, allocations: 302.9 kB / 335.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.009628, allocations: 29.7 kB / 335.5 MB, free: 13.3 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.231e-05/0.009681, allocations: 144.8 kB / 335.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.009731, allocations: 99.16 kB / 335.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.88e-05/0.00982, allocations: 117.5 kB / 335.9 MB, free: 12.94 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.009898, allocations: 350.7 kB / 336.2 MB, free: 12.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.01003, allocations: 75.83 kB / 336.3 MB, free: 12.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.01013, allocations: 127.4 kB / 336.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.01043, allocations: 359.9 kB / 336.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.01043, allocations: 0 / 336.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0002746/0.01071, allocations: 292.8 kB / 337.1 MB, free: 11.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.01072, allocations: 8 kB / 337.1 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.01073, allocations: 0 / 337.1 MB, free: 11.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.01074, allocations: 4 kB / 337.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.01101, allocations: 87.89 kB / 337.2 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.01101, allocations: 3.938 kB / 337.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.331e-05/0.01109, allocations: 67.34 kB / 337.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.01111, allocations: 16 kB / 337.3 MB, free: 11.54 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.000123/0.01123, allocations: 143.4 kB / 337.4 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.269e-05/0.01128, allocations: 19.98 kB / 337.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.305e-05/0.01132, allocations: 42.77 kB / 337.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.01132, allocations: 4 kB / 337.5 MB, free: 11.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.01132, allocations: 7.938 kB / 337.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01133, allocations: 0 / 337.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.0115, allocations: 153.7 kB / 337.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.0115, allocations: 0 / 337.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001733/0.01168, allocations: 47.92 kB / 337.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01168, allocations: 3.938 kB / 337.7 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.0117, allocations: 15.98 kB / 337.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.0117, allocations: 0 / 337.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0117, allocations: 0 / 337.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003177/0.01202, allocations: 472.1 kB / 338.1 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.01204, allocations: 43.64 kB / 338.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.122e-05/0.01208, allocations: 15.98 kB / 338.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.01217, allocations: 8 kB / 338.2 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.01221, allocations: 19.94 kB / 338.2 MB, free: 10.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.01223, allocations: 8 kB / 338.2 MB, free: 10.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.57e-05/0.01229, allocations: 104.5 kB / 338.3 MB, free: 10.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01229, allocations: 0 / 338.3 MB, free: 10.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003645/0.01266, allocations: 251.7 kB / 338.6 MB, free: 10.16 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.0003271/0.01299, allocations: 276.5 kB / 338.9 MB, free: 9.879 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000287/0.01327, allocations: 346.8 kB / 339.2 MB, free: 9.516 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.01328, allocations: 0 / 339.2 MB, free: 9.516 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.958e-05/0.01336, allocations: 75.27 kB / 339.3 MB, free: 9.441 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.01359, allocations: 53.05 kB / 339.3 MB, free: 9.391 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007911/0.01438, allocations: 0.7414 MB / 340.1 MB, free: 8.621 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.456e-05/0.01445, allocations: 116.3 kB / 340.2 MB, free: 8.488 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.42e-05/0.01451, allocations: 25.94 kB / 340.2 MB, free: 8.465 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.01465, allocations: 99.34 kB / 340.3 MB, free: 8.367 MB / 314.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01465, allocations: 3.938 kB / 340.3 MB, free: 8.363 MB / 314.7 MB Notification: Performance of Templates: time 0.007998/0.02265, allocations: 7.481 MB / 347.8 MB, free: 0.9336 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 -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: 2.9814362237229943]