Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001249/0.001249, allocations: 85.83 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001331/0.001331, allocations: 165.5 kB / 23.96 MB, free: 4.164 MB / 14.72 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.362/1.362, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1946/0.1946, allocations: 32.82 MB / 293.5 MB, free: 44 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Blocks.PadeDelay2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 3.938 kB / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.967e-05, allocations: 2.281 kB / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.00292/0.002949, allocations: 1.8 MB / 441.9 MB, free: 6.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.005183, allocations: 1.294 MB / 443.2 MB, free: 5.066 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.406e-05/0.005277, allocations: 15.88 kB / 443.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.00543, allocations: 27.72 kB / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.312e-05/0.005513, allocations: 35.66 kB / 443.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00186/0.007373, allocations: 0.6884 MB / 443.9 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002991/0.007672, allocations: 231.3 kB / 444.2 MB, free: 4.074 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.007787, allocations: 32.56 kB / 444.2 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002511/0.008038, allocations: 143.6 kB / 444.3 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.008246, allocations: 151.7 kB / 444.5 MB, free: 3.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.605e-05/0.008302, allocations: 24 kB / 444.5 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.01026, allocations: 1.216 MB / 445.7 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.0104, allocations: 119.6 kB / 445.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.01053, allocations: 95.75 kB / 445.9 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.01198, allocations: 1.2 MB / 447.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.01199, allocations: 0 / 447.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.01199, allocations: 0 / 447.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.012, allocations: 0 / 447.1 MB, free: 1.094 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.001217/0.01321, allocations: 0.6677 MB / 447.8 MB, free: 404 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.01324, allocations: 8.031 kB / 447.8 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.01345, allocations: 44.69 kB / 447.9 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.01379, allocations: 210 kB / 448.1 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.01381, allocations: 20.36 kB / 448.1 MB, free: 96 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.526e-05/0.01388, allocations: 31.89 kB / 448.1 MB, free: 64 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.163/0.1768, allocations: 317.6 kB / 448.4 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1769, allocations: 0 / 448.4 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.1769, allocations: 7.219 kB / 448.4 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1769, allocations: 3.938 kB / 448.4 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.1773, allocations: 230.7 kB / 448.7 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.1783, allocations: 0.6374 MB / 449.3 MB, free: 20.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004014/0.1787, allocations: 288.5 kB / 449.6 MB, free: 20.83 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.179, allocations: 194.3 kB / 449.8 MB, free: 20.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.179, allocations: 2.25 kB / 449.8 MB, free: 20.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.179, allocations: 38.58 kB / 449.8 MB, free: 20.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.179, allocations: 0 / 449.8 MB, free: 20.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009287/0.1799, allocations: 0.5379 MB / 450.3 MB, free: 20.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/0.18, allocations: 80.52 kB / 450.4 MB, free: 20.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.1802, allocations: 357.1 kB / 450.8 MB, free: 20.26 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.1802, allocations: 32.05 kB / 450.8 MB, free: 20.22 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.829e-05/0.1803, allocations: 143.7 kB / 450.9 MB, free: 20.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.1804, allocations: 102.2 kB / 451 MB, free: 20.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.1805, allocations: 123 kB / 451.2 MB, free: 19.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.888e-05/0.1806, allocations: 349.1 kB / 451.5 MB, free: 19.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.1809, allocations: 285.7 kB / 451.8 MB, free: 19.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.1813, allocations: 343 kB / 452.1 MB, free: 19.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003326/0.1846, allocations: 1.755 MB / 453.9 MB, free: 18.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1846, allocations: 1.812 kB / 453.9 MB, free: 18.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009528/0.1856, allocations: 0.7643 MB / 454.6 MB, free: 18.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.1856, allocations: 7.906 kB / 454.6 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.1856, allocations: 9.828 kB / 454.7 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1856, allocations: 7.141 kB / 454.7 MB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/0.1861, allocations: 96.69 kB / 454.8 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1861, allocations: 2.391 kB / 454.8 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.1863, allocations: 78.39 kB / 454.8 MB, free: 18.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.1863, allocations: 9.578 kB / 454.8 MB, free: 18.6 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.0001808/0.1865, allocations: 182 kB / 455 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.1866, allocations: 26 kB / 455 MB, free: 18.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.301e-05/0.1867, allocations: 44 kB / 455.1 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1867, allocations: 2.688 kB / 455.1 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1867, allocations: 2.188 kB / 455.1 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1867, allocations: 6.141 kB / 455.1 MB, free: 18.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.187, allocations: 239.8 kB / 455.3 MB, free: 18.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.187, allocations: 3.062 kB / 455.3 MB, free: 18.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.1874, allocations: 45.97 kB / 455.4 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1874, allocations: 1.922 kB / 455.4 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.1874, allocations: 17.22 kB / 455.4 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.1874, allocations: 2.109 kB / 455.4 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1874, allocations: 4.062 kB / 455.4 MB, free: 18.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008787/0.1883, allocations: 0.7479 MB / 456.2 MB, free: 17.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.1883, allocations: 37.97 kB / 456.2 MB, free: 17.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/0.1884, allocations: 16.44 kB / 456.2 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.1886, allocations: 6.578 kB / 456.2 MB, free: 17.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/0.1887, allocations: 23.39 kB / 456.2 MB, free: 17.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.1887, allocations: 6.891 kB / 456.2 MB, free: 17.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001782/0.1889, allocations: 226 kB / 456.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1889, allocations: 0 / 456.5 MB, free: 17.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007041/0.1896, allocations: 254.1 kB / 456.7 MB, free: 17.68 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.0004895/0.19, allocations: 290.1 kB / 457 MB, free: 17.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008768/0.1909, allocations: 0.6544 MB / 457.7 MB, free: 17.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1909, allocations: 4 kB / 457.7 MB, free: 17.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.1912, allocations: 193.9 kB / 457.8 MB, free: 17.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/0.1917, allocations: 40.81 kB / 457.9 MB, free: 17.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1928, allocations: 0.8536 MB / 458.7 MB, free: 16.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.193, allocations: 201.5 kB / 458.9 MB, free: 16.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001631/0.1932, allocations: 69.25 kB / 459 MB, free: 16.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.757e-05/0.1932, allocations: 25.88 kB / 459 MB, free: 16.63 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1932, allocations: 0 / 459 MB, free: 16.63 MB / 366.1 MB Notification: Performance of Templates: time 0.01175/0.205, allocations: 6.646 MB / 465.7 MB, free: 15.01 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.803824733942747]