Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.Blocks.PadeDelay2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002015/0.002015, allocations: 182.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.699/1.699, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 98.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2819/0.2819, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 8 kB / 431.4 MB, free: 19.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1254, allocations: 58.85 MB / 490.2 MB, free: 8.691 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3865/0.512, allocations: 86.8 MB / 0.5635 GB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.5123, allocations: 59.73 kB / 0.5636 GB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03015/0.5424, allocations: 9.481 MB / 0.5728 GB, free: 4.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5425, allocations: 4 kB / 0.5728 GB, free: 4.746 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.899e-05/0.5425, allocations: 8 kB / 0.5728 GB, free: 4.738 MB / 378.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.001425/0.5439, allocations: 0.6911 MB / 0.5735 GB, free: 4.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.544, allocations: 12.02 kB / 0.5735 GB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.5441, allocations: 35.47 kB / 0.5736 GB, free: 3.973 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/0.5446, allocations: 297.1 kB / 0.5738 GB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.5446, allocations: 14.19 kB / 0.5739 GB, free: 3.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.941e-05/0.5447, allocations: 22.38 kB / 0.5739 GB, free: 3.633 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.5452, allocations: 274.2 kB / 0.5741 GB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.5452, allocations: 0 / 0.5741 GB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.152e-05/0.5453, allocations: 3.812 kB / 0.5741 GB, free: 3.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5453, allocations: 4 kB / 0.5741 GB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004083/0.5457, allocations: 240.2 kB / 0.5744 GB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00124/0.547, allocations: 0.7602 MB / 0.5751 GB, free: 2.527 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.5474, allocations: 300.1 kB / 0.5754 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.5474, allocations: 448 / 0.5754 GB, free: 2.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.5475, allocations: 42.27 kB / 0.5754 GB, free: 2.242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.5475, allocations: 3.938 kB / 0.5754 GB, free: 2.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009342/0.5484, allocations: 0.5507 MB / 0.576 GB, free: 1.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.5485, allocations: 81.09 kB / 0.5761 GB, free: 1.723 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.5488, allocations: 313.6 kB / 0.5764 GB, free: 1.469 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.5488, allocations: 33.58 kB / 0.5764 GB, free: 1.434 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.5489, allocations: 143.6 kB / 0.5765 GB, free: 1.309 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.55e-05/0.549, allocations: 97.86 kB / 0.5766 GB, free: 1.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.549, allocations: 7.938 kB / 0.5766 GB, free: 1.223 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5491, allocations: 342.1 kB / 0.577 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003849/0.5495, allocations: 292.7 kB / 0.5772 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.5499, allocations: 339.2 kB / 0.5776 GB, free: 480 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.5503, allocations: 324.9 kB / 0.5779 GB, free: 268 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5504, allocations: 4 kB / 0.5779 GB, free: 264 kB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009886/0.5513, allocations: 0.7595 MB / 0.5786 GB, free: 15.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5514, allocations: 7.438 kB / 0.5786 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.5514, allocations: 12 kB / 0.5786 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.5514, allocations: 3.984 kB / 0.5786 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.5519, allocations: 99.25 kB / 0.5787 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.5519, allocations: 0 / 0.5787 GB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.5521, allocations: 70.58 kB / 0.5788 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.5522, allocations: 15.38 kB / 0.5788 GB, free: 15.53 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002509/0.5524, allocations: 186 kB / 0.579 GB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.5525, allocations: 31.52 kB / 0.579 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.5526, allocations: 40.09 kB / 0.5791 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.5526, allocations: 7.938 kB / 0.5791 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.5526, allocations: 0 / 0.5791 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.5526, allocations: 3.984 kB / 0.5791 GB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.553, allocations: 340.9 kB / 0.5794 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.553, allocations: 4 kB / 0.5794 GB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003562/0.5534, allocations: 51.03 kB / 0.5794 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.5534, allocations: 3.953 kB / 0.5795 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.502e-05/0.5534, allocations: 15.42 kB / 0.5795 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5535, allocations: 0 / 0.5795 GB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.5535, allocations: 8 kB / 0.5795 GB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009404/0.5544, allocations: 0.7641 MB / 0.5802 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.5545, allocations: 112.6 kB / 0.5803 GB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/0.5546, allocations: 15.05 kB / 0.5803 GB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.5548, allocations: 11.56 kB / 0.5804 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.5548, allocations: 15.97 kB / 0.5804 GB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.5549, allocations: 6.938 kB / 0.5804 GB, free: 14.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002033/0.5551, allocations: 218.1 kB / 0.5806 GB, free: 13.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5551, allocations: 0 / 0.5806 GB, free: 13.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009432/0.556, allocations: 274.2 kB / 0.5808 GB, free: 13.65 MB / 394.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 (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.000542/0.5566, allocations: 297.6 kB / 0.5811 GB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009465/0.5575, allocations: 0.7353 MB / 0.5818 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5576, allocations: 0 / 0.5818 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003032/0.5579, allocations: 202.7 kB / 0.582 GB, free: 12.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.5582, allocations: 32.2 kB / 0.5821 GB, free: 12.63 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/0.5595, allocations: 1.046 MB / 0.5831 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.5598, allocations: 0.8177 MB / 0.5839 GB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001758/0.56, allocations: 62.25 kB / 0.584 GB, free: 10.76 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.5601, allocations: 23.44 kB / 0.584 GB, free: 10.74 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5601, allocations: 0 / 0.584 GB, free: 10.74 MB / 394.7 MB Notification: Performance of Templates: time 0.01174/0.5719, allocations: 5.907 MB / 0.5897 GB, free: 4.852 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/PadeDelay2/PadeDelay2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.PadeDelay2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches