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.001079/0.001079, allocations: 76.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002008/0.003087, allocations: 453.9 kB / 10.45 MB, free: 244 kB / 10.45 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.0009139/0.0009139, allocations: 162 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001392/0.002306, allocations: 479.6 kB / 11.82 MB, free: 2.34 MB / 13.93 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.945/0.945, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09561/1.041, allocations: 53.88 MB / 243.9 MB, free: 14.85 MB / 250.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.2637/0.2637, allocations: 34.89 MB / 279.6 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02593/0.2897, allocations: 13.23 MB / 292.8 MB, free: 6.387 MB / 282.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.693e-06/1.693e-06, allocations: 0 / 294.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.61e-05, allocations: 3.078 kB / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003589/0.003615, allocations: 1.893 MB / 296 MB, free: 3.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.005821, allocations: 1.354 MB / 297.3 MB, free: 1.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.005922, allocations: 7.938 kB / 297.4 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.067e-05/0.006013, allocations: 31.72 kB / 297.4 MB, free: 1.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.00606, allocations: 35.66 kB / 297.4 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.007129, allocations: 0.623 MB / 298 MB, free: 1.129 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.007352, allocations: 231.3 kB / 298.3 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.007447, allocations: 34.48 kB / 298.3 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.007641, allocations: 155.6 kB / 298.5 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.007785, allocations: 151.7 kB / 298.6 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.007815, allocations: 24 kB / 298.6 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.009123, allocations: 1.189 MB / 299.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.009245, allocations: 91.72 kB / 299.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.865e-05/0.009314, allocations: 63.81 kB / 300 MB, free: 15.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009292/0.01024, allocations: 0.9583 MB / 300.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.01025, allocations: 0 / 300.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01025, allocations: 0 / 300.9 MB, free: 14.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.01026, allocations: 0 / 300.9 MB, free: 14.24 MB / 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.0007192/0.01098, allocations: 0.7217 MB / 301.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.805e-05/0.01101, allocations: 8.922 kB / 301.7 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001483/0.01116, allocations: 110 kB / 301.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.01135, allocations: 209.9 kB / 302 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.01137, allocations: 12.38 kB / 302 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.164e-05/0.01141, allocations: 31.89 kB / 302 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.01162, allocations: 226.1 kB / 302.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.01163, allocations: 4 kB / 302.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.01164, allocations: 8 kB / 302.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.01165, allocations: 4 kB / 302.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.176e-05/0.01173, allocations: 49.58 kB / 302.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.01228, allocations: 484.7 kB / 302.8 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.01245, allocations: 213.6 kB / 303 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.01252, allocations: 53.7 kB / 303 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.01253, allocations: 4 kB / 303 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.01256, allocations: 38.56 kB / 303.1 MB, free: 11.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=24): time 2.394e-06/0.01256, allocations: 3.984 kB / 303.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=24): time 0.0002638/0.01282, allocations: 163.6 kB / 303.2 MB, free: 11.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.01286, allocations: 85.05 kB / 303.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.01301, allocations: 307 kB / 303.6 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.01304, allocations: 41.64 kB / 303.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.397e-05/0.01309, allocations: 136.9 kB / 303.8 MB, free: 11.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.281e-05/0.01314, allocations: 107 kB / 303.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.924e-05/0.01323, allocations: 113.6 kB / 304 MB, free: 10.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.01331, allocations: 350.7 kB / 304.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.452e-05/0.0134, allocations: 83.81 kB / 304.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.886e-05/0.0135, allocations: 123.3 kB / 304.6 MB, free: 10.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.0138, allocations: 352.7 kB / 304.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.0138, allocations: 0 / 304.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0002647/0.01406, allocations: 300.7 kB / 305.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01408, allocations: 7.984 kB / 305.2 MB, free: 9.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.01409, allocations: 4 kB / 305.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.01411, allocations: 4 kB / 305.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.01441, allocations: 107.9 kB / 305.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.01442, allocations: 0 / 305.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.535e-05/0.0145, allocations: 67.36 kB / 305.4 MB, free: 9.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.87e-05/0.01452, allocations: 12 kB / 305.4 MB, free: 9.535 MB / 298.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.0001679/0.01469, allocations: 145.4 kB / 305.5 MB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.01474, allocations: 19.98 kB / 305.6 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.955e-05/0.01478, allocations: 38.78 kB / 305.6 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01479, allocations: 4 kB / 305.6 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.01479, allocations: 7.938 kB / 305.6 MB, free: 9.312 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01479, allocations: 3.984 kB / 305.6 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.01497, allocations: 153.7 kB / 305.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.01497, allocations: 0 / 305.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.01516, allocations: 47.97 kB / 305.8 MB, free: 9.094 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.141e-05/0.01518, allocations: 35.62 kB / 305.8 MB, free: 9.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.01518, allocations: 4 kB / 305.8 MB, free: 9.055 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.01521, allocations: 11.98 kB / 305.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01521, allocations: 0 / 305.9 MB, free: 9.043 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01521, allocations: 4 kB / 305.9 MB, free: 9.039 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003211/0.01553, allocations: 487.1 kB / 306.3 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.01556, allocations: 11.98 kB / 306.3 MB, free: 8.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.83e-05/0.01566, allocations: 8 kB / 306.4 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.01571, allocations: 15.97 kB / 306.4 MB, free: 8.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.01572, allocations: 8 kB / 306.4 MB, free: 8.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.753e-05/0.01579, allocations: 104.6 kB / 306.5 MB, free: 8.398 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01579, allocations: 4 kB / 306.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004884/0.01627, allocations: 247.7 kB / 306.7 MB, free: 8.152 MB / 298.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.0003781/0.01665, allocations: 299.7 kB / 307 MB, free: 7.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003141/0.01697, allocations: 358.9 kB / 307.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/0.01698, allocations: 4 kB / 307.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.01706, allocations: 86.22 kB / 307.5 MB, free: 7.383 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.01737, allocations: 270.6 kB / 307.7 MB, free: 7.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.01841, allocations: 0.6905 MB / 308.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.44e-05/0.01847, allocations: 112.3 kB / 308.5 MB, free: 6.219 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.002e-05/0.01854, allocations: 25.88 kB / 308.5 MB, free: 6.195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.01876, allocations: 99.36 kB / 308.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01876, allocations: 0 / 308.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of Templates: time 0.009046/0.0278, allocations: 7.394 MB / 316 MB, free: 14.76 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0475847460329533]