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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Blocks.PadeDelay2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|padeDelay1a.y|padeDelay1b.y|padeDelay2a.y|padeDelay2b.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.261/1.261, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007573/0.0007575, allocations: 97.45 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1818/0.1818, allocations: 45.14 MB / 383.8 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.805e-05/1.807e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.467, allocations: 88.17 MB / 0.5905 GB, free: 14.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001636/0.4672, allocations: 58.97 kB / 0.5905 GB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0296/0.4968, allocations: 9.577 MB / 0.5999 GB, free: 6.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4968, allocations: 0 / 0.5999 GB, free: 6.199 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.104e-05/0.4969, allocations: 8 kB / 0.5999 GB, free: 6.191 MB / 394.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.001031/0.4979, allocations: 0.6544 MB / 0.6005 GB, free: 5.512 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.4979, allocations: 15.97 kB / 0.6005 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001893/0.4981, allocations: 43.52 kB / 0.6006 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003685/0.4985, allocations: 293.8 kB / 0.6009 GB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.4985, allocations: 8 kB / 0.6009 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.4986, allocations: 12 kB / 0.6009 GB, free: 5.129 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003003/0.4989, allocations: 201 kB / 0.6011 GB, free: 4.992 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003251/0.4992, allocations: 244.1 kB / 0.6013 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.4993, allocations: 0 / 0.6013 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.4993, allocations: 4 kB / 0.6013 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4993, allocations: 0 / 0.6013 GB, free: 4.789 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001091/0.5004, allocations: 0.7265 MB / 0.602 GB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003132/0.5007, allocations: 277.2 kB / 0.6023 GB, free: 3.898 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.5009, allocations: 169.5 kB / 0.6024 GB, free: 3.781 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/0.501, allocations: 4 kB / 0.6024 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.501, allocations: 37.94 kB / 0.6025 GB, free: 3.734 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 1.222e-06/0.501, allocations: 0 / 0.6025 GB, free: 3.734 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005254/0.5015, allocations: 371.7 kB / 0.6028 GB, free: 3.449 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.5016, allocations: 81.11 kB / 0.6029 GB, free: 3.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.5018, allocations: 298 kB / 0.6032 GB, free: 3.105 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.5019, allocations: 25.7 kB / 0.6032 GB, free: 3.074 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.5019, allocations: 136.5 kB / 0.6033 GB, free: 2.957 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.009e-05/0.502, allocations: 104 kB / 0.6034 GB, free: 2.871 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.826e-05/0.502, allocations: 0 / 0.6034 GB, free: 2.871 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.5021, allocations: 353.9 kB / 0.6038 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003014/0.5025, allocations: 259.9 kB / 0.604 GB, free: 2.367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003125/0.5028, allocations: 318.9 kB / 0.6043 GB, free: 2.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.5032, allocations: 305.2 kB / 0.6046 GB, free: 1.953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5032, allocations: 4 kB / 0.6046 GB, free: 1.949 MB / 394.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0008443/0.5041, allocations: 0.6979 MB / 0.6053 GB, free: 1.441 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5041, allocations: 5.562 kB / 0.6053 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.37e-05/0.5041, allocations: 11.98 kB / 0.6053 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5041, allocations: 4 kB / 0.6053 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004774/0.5046, allocations: 99.31 kB / 0.6054 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.5046, allocations: 0 / 0.6054 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.5048, allocations: 67.05 kB / 0.6055 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.5049, allocations: 10.94 kB / 0.6055 GB, free: 1.254 MB / 394.7 MB Warning: Assuming fixed start value for the following 6 variables: padeDelay2a.x[3]:VARIABLE(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(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(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(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(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(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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.505, allocations: 127.7 kB / 0.6056 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.5051, allocations: 27.58 kB / 0.6056 GB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.404e-05/0.5052, allocations: 41.39 kB / 0.6057 GB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.5052, allocations: 4 kB / 0.6057 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.5052, allocations: 0 / 0.6057 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.5052, allocations: 0 / 0.6057 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.5056, allocations: 295.2 kB / 0.606 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.5056, allocations: 4 kB / 0.606 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.506, allocations: 51.91 kB / 0.606 GB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.506, allocations: 4 kB / 0.606 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.506, allocations: 15.36 kB / 0.606 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.506, allocations: 7.953 kB / 0.6061 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.506, allocations: 0 / 0.6061 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007442/0.5068, allocations: 0.7052 MB / 0.6067 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.5068, allocations: 120.7 kB / 0.6069 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.828e-05/0.5069, allocations: 4.188 kB / 0.6069 GB, free: 0 / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.5071, allocations: 11.94 kB / 0.6069 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.5072, allocations: 15.73 kB / 0.6069 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.5072, allocations: 15.97 kB / 0.6069 GB, free: 15.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.5074, allocations: 200.5 kB / 0.6071 GB, free: 15.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5074, allocations: 0 / 0.6071 GB, free: 15.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00084/0.5082, allocations: 266.9 kB / 0.6073 GB, free: 15.54 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007312/0.509, allocations: 282.8 kB / 0.6076 GB, free: 15.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008307/0.5098, allocations: 0.7012 MB / 0.6083 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5098, allocations: 0 / 0.6083 GB, free: 14.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.5101, allocations: 175.5 kB / 0.6085 GB, free: 14.62 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.5104, allocations: 29.45 kB / 0.6085 GB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009973/0.5114, allocations: 0.7937 MB / 0.6093 GB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.5118, allocations: 0.8084 MB / 0.6101 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.512, allocations: 74.02 kB / 0.6101 GB, free: 12.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.969e-05/0.5121, allocations: 19.44 kB / 0.6102 GB, free: 12.95 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5121, allocations: 0 / 0.6102 GB, free: 12.95 MB / 410.7 MB Notification: Performance of Templates: time 0.009987/0.5221, allocations: 5.706 MB / 0.6157 GB, free: 7.27 MB / 410.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.makefile (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) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches