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.001828/0.001828, allocations: 89.14 kB / 20.68 MB, free: 1.023 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.002223/0.002223, allocations: 159.2 kB / 23.95 MB, free: 4.152 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.573/1.573, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.1 MB " [Timeout remaining time 178] 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.2283/0.2283, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 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.853e-06/1.853e-06, allocations: 0 / 442.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.676e-05/2.861e-05, allocations: 2.281 kB / 442.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.003496/0.003525, allocations: 1.803 MB / 444.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002493/0.006018, allocations: 1.298 MB / 445.8 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.006153, allocations: 7.938 kB / 445.8 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.006331, allocations: 31.72 kB / 445.8 MB, free: 2.129 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.006435, allocations: 31.72 kB / 445.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.008488, allocations: 0.6931 MB / 446.5 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.008839, allocations: 223.3 kB / 446.7 MB, free: 1.184 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.008972, allocations: 32.56 kB / 446.8 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003344/0.009307, allocations: 143.6 kB / 446.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000244/0.009551, allocations: 147.7 kB / 447.1 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.365e-05/0.009614, allocations: 24 kB / 447.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1961/0.2057, allocations: 1.218 MB / 448.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.2059, allocations: 118.4 kB / 448.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.2061, allocations: 89.91 kB / 448.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.208, allocations: 1.2 MB / 449.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.208, allocations: 4.562 kB / 449.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.208, allocations: 2.688 kB / 449.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.208, allocations: 0 / 449.7 MB, free: 15.74 MB / 366.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.001257/0.2093, allocations: 0.6593 MB / 450.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.2093, allocations: 10.25 kB / 450.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002239/0.2095, allocations: 42.88 kB / 450.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.2099, allocations: 220.5 kB / 450.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.2099, allocations: 17.72 kB / 450.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.251e-05/0.21, allocations: 27.23 kB / 450.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005206/0.2105, allocations: 322.9 kB / 451 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2105, allocations: 7.531 kB / 451 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.2105, allocations: 6.031 kB / 451 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.2105, allocations: 5.562 kB / 451 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.211, allocations: 228 kB / 451.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.212, allocations: 0.6379 MB / 451.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.2125, allocations: 282.9 kB / 452.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.2128, allocations: 189.5 kB / 452.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.2128, allocations: 5.016 kB / 452.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.2129, allocations: 40.78 kB / 452.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.573e-06/0.2129, allocations: 3.719 kB / 452.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001069/0.2139, allocations: 0.5303 MB / 452.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.214, allocations: 79.86 kB / 453 MB, free: 14.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.2143, allocations: 361.1 kB / 453.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.2143, allocations: 31.86 kB / 453.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.2144, allocations: 145.1 kB / 453.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.215e-05/0.2145, allocations: 102.1 kB / 453.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.2147, allocations: 122.6 kB / 453.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.7e-05/0.2147, allocations: 348.9 kB / 454.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.2152, allocations: 285.8 kB / 454.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004517/0.2156, allocations: 341 kB / 454.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003727/0.2193, allocations: 1.762 MB / 456.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2194, allocations: 0 / 456.4 MB, free: 12.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001101/0.2205, allocations: 0.7692 MB / 457.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.2205, allocations: 5.547 kB / 457.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.871e-05/0.2205, allocations: 6.484 kB / 457.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.2205, allocations: 4.625 kB / 457.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/0.221, allocations: 94.58 kB / 457.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2211, allocations: 2.125 kB / 457.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.2213, allocations: 74.11 kB / 457.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.2213, allocations: 13.19 kB / 457.4 MB, free: 12.58 MB / 366.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.0002338/0.2215, allocations: 198.2 kB / 457.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.733e-05/0.2216, allocations: 26.44 kB / 457.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.614e-05/0.2217, allocations: 40.3 kB / 457.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2217, allocations: 7.25 kB / 457.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2217, allocations: 3.938 kB / 457.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2217, allocations: 3 kB / 457.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.2221, allocations: 237.7 kB / 457.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2221, allocations: 1.219 kB / 457.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.2224, allocations: 48.92 kB / 458 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2224, allocations: 1.562 kB / 458 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.2225, allocations: 13.69 kB / 458 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.2225, allocations: 5.531 kB / 458 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2225, allocations: 1.156 kB / 458 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009541/0.2234, allocations: 0.7497 MB / 458.7 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.2235, allocations: 25.62 kB / 458.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.2235, allocations: 16.77 kB / 458.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.2238, allocations: 7.531 kB / 458.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.2238, allocations: 18.02 kB / 458.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.2239, allocations: 6.859 kB / 458.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.2241, allocations: 221.6 kB / 459 MB, free: 11.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2241, allocations: 5.062 kB / 459 MB, free: 11.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001064/0.2251, allocations: 261.2 kB / 459.3 MB, free: 11.62 MB / 366.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.0005681/0.2257, allocations: 279.5 kB / 459.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.2267, allocations: 0.6687 MB / 460.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2267, allocations: 0 / 460.2 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003445/0.2271, allocations: 189.1 kB / 460.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.2276, allocations: 42.72 kB / 460.5 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.2289, allocations: 0.8538 MB / 461.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.2291, allocations: 200.9 kB / 461.5 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001887/0.2293, allocations: 74.45 kB / 461.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/0.2294, allocations: 27.36 kB / 461.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2294, allocations: 3.938 kB / 461.6 MB, free: 10.59 MB / 366.1 MB Notification: Performance of Templates: time 0.0125/0.2419, allocations: 6.631 MB / 468.2 MB, free: 8.895 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.593314778059721]