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.001591/0.001591, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001783/0.001783, allocations: 205.4 kB / 23.72 MB, free: 4.391 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.571/1.571, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.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.2739/0.2739, allocations: 46.96 MB / 360.8 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002698/0.002698, allocations: 83.86 kB / 0.4966 GB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4535/0.4562, allocations: 66.09 MB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay2): time 0.004093/0.4603, allocations: 1.789 MB / 0.5629 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.4628, allocations: 1.295 MB / 0.5642 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.4629, allocations: 11.88 kB / 0.5642 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001792/0.463, allocations: 31.72 kB / 0.5642 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.4631, allocations: 35.66 kB / 0.5643 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.4651, allocations: 0.6577 MB / 0.5649 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004353/0.4655, allocations: 311.2 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.4656, allocations: 32.56 kB / 0.5652 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.4659, allocations: 123.6 kB / 0.5654 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.4662, allocations: 167.5 kB / 0.5655 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.933e-05/0.4662, allocations: 28 kB / 0.5655 GB, free: 15.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.4683, allocations: 1.212 MB / 0.5667 GB, free: 14.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.4684, allocations: 119.6 kB / 0.5668 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.4686, allocations: 111.4 kB / 0.5669 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.4699, allocations: 1.104 MB / 0.568 GB, free: 12.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4699, allocations: 4 kB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4699, allocations: 0 / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.47, allocations: 0 / 0.568 GB, free: 12.93 MB / 414.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.001398/0.4714, allocations: 0.6677 MB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.4714, allocations: 8.031 kB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002231/0.4716, allocations: 44.69 kB / 0.5687 GB, free: 12.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004133/0.4721, allocations: 218.2 kB / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.4721, allocations: 12 kB / 0.5689 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.73e-05/0.4722, allocations: 27.95 kB / 0.569 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.4727, allocations: 330.6 kB / 0.5693 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.4727, allocations: 0 / 0.5693 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.4727, allocations: 4 kB / 0.5693 GB, free: 11.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.4728, allocations: 4 kB / 0.5693 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.4732, allocations: 223.8 kB / 0.5695 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.4744, allocations: 0.6444 MB / 0.5701 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.4749, allocations: 281.2 kB / 0.5704 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003122/0.4752, allocations: 201.7 kB / 0.5706 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.4752, allocations: 4 kB / 0.5706 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.4753, allocations: 34.56 kB / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.252e-06/0.4753, allocations: 0 / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001063/0.4763, allocations: 0.54 MB / 0.5712 GB, free: 9.566 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.4764, allocations: 85.11 kB / 0.5712 GB, free: 9.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.4768, allocations: 348.6 kB / 0.5716 GB, free: 9.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.4768, allocations: 33.64 kB / 0.5716 GB, free: 9.074 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.4769, allocations: 145 kB / 0.5717 GB, free: 8.926 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.477, allocations: 111.1 kB / 0.5719 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.4772, allocations: 121.4 kB / 0.572 GB, free: 8.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.4774, allocations: 350.8 kB / 0.5723 GB, free: 8.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.4779, allocations: 284.9 kB / 0.5726 GB, free: 8.062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005099/0.4784, allocations: 336.2 kB / 0.5729 GB, free: 7.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003533/0.4819, allocations: 1.77 MB / 0.5746 GB, free: 5.949 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.4819, allocations: 0 / 0.5746 GB, free: 5.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001144/0.4831, allocations: 0.7621 MB / 0.5754 GB, free: 5.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4831, allocations: 8 kB / 0.5754 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-05/0.4831, allocations: 4 kB / 0.5754 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4831, allocations: 0 / 0.5754 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.4836, allocations: 107.8 kB / 0.5755 GB, free: 5.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.4837, allocations: 4 kB / 0.5755 GB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.4839, allocations: 67.36 kB / 0.5755 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.165e-05/0.4839, allocations: 15.98 kB / 0.5756 GB, free: 4.977 MB / 414.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.0002671/0.4842, allocations: 178.5 kB / 0.5757 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.464e-05/0.4842, allocations: 27.81 kB / 0.5758 GB, free: 4.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.4843, allocations: 42.7 kB / 0.5758 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.4844, allocations: 7.938 kB / 0.5758 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.4844, allocations: 0 / 0.5758 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4844, allocations: 4 kB / 0.5758 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.4848, allocations: 241.1 kB / 0.576 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.4848, allocations: 0 / 0.576 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003566/0.4851, allocations: 47.92 kB / 0.5761 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4851, allocations: 0 / 0.5761 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.133e-05/0.4852, allocations: 15.98 kB / 0.5761 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4852, allocations: 0 / 0.5761 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4852, allocations: 3.938 kB / 0.5761 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.4862, allocations: 0.757 MB / 0.5768 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.4863, allocations: 35.83 kB / 0.5769 GB, free: 3.559 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.167e-05/0.4863, allocations: 12 kB / 0.5769 GB, free: 3.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.4866, allocations: 11.98 kB / 0.5769 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.4866, allocations: 27.84 kB / 0.5769 GB, free: 3.508 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.4866, allocations: 4 kB / 0.5769 GB, free: 3.504 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002331/0.4869, allocations: 223 kB / 0.5771 GB, free: 3.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4869, allocations: 0 / 0.5771 GB, free: 3.285 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008904/0.4878, allocations: 255.7 kB / 0.5774 GB, free: 3.035 MB / 414.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.0004926/0.4883, allocations: 250.8 kB / 0.5776 GB, free: 2.781 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009975/0.4893, allocations: 0.6623 MB / 0.5783 GB, free: 2.094 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.4893, allocations: 3.938 kB / 0.5783 GB, free: 2.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003217/0.4896, allocations: 188 kB / 0.5785 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.4901, allocations: 53.22 kB / 0.5785 GB, free: 1.855 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.4914, allocations: 0.955 MB / 0.5794 GB, free: 0.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.4917, allocations: 199.8 kB / 0.5796 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001774/0.4918, allocations: 70.25 kB / 0.5797 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.301e-05/0.4919, allocations: 19.44 kB / 0.5797 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4919, allocations: 0 / 0.5797 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of Templates: time 0.01328/0.5052, allocations: 6.866 MB / 0.5864 GB, free: 9.73 MB / 430.1 MB " [Timeout remaining time 659] 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.9405488185584545]