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.00101/0.00101, allocations: 176.9 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.437/1.437, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009075/0.0009076, allocations: 86.3 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.214/0.214, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.757e-05/1.758e-05, allocations: 4 kB / 418.2 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1202, allocations: 58.86 MB / 477.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4196/0.5399, allocations: 86.05 MB / 0.55 GB, free: 8.727 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.5401, allocations: 62.7 kB / 0.55 GB, free: 8.699 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02657/0.5667, allocations: 9.395 MB / 0.5592 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5667, allocations: 0 / 0.5592 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.5668, allocations: 7.938 kB / 0.5592 GB, free: 0.9727 MB / 362.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.001038/0.5678, allocations: 0.6528 MB / 0.5598 GB, free: 300 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5679, allocations: 12.02 kB / 0.5598 GB, free: 288 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.106e-05/0.5679, allocations: 43.47 kB / 0.5599 GB, free: 244 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.5683, allocations: 282.8 kB / 0.5602 GB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.5683, allocations: 4 kB / 0.5602 GB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.5684, allocations: 23.86 kB / 0.5602 GB, free: 15.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003111/0.5687, allocations: 193.5 kB / 0.5604 GB, free: 15.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003588/0.5691, allocations: 247 kB / 0.5606 GB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.5691, allocations: 3.938 kB / 0.5606 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.5691, allocations: 0 / 0.5606 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.5691, allocations: 4 kB / 0.5606 GB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.5703, allocations: 0.7245 MB / 0.5613 GB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/0.5707, allocations: 265.6 kB / 0.5616 GB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000208/0.571, allocations: 175.6 kB / 0.5617 GB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.571, allocations: 0 / 0.5617 GB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.571, allocations: 37.75 kB / 0.5618 GB, free: 14.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 2.705e-06/0.571, allocations: 3.984 kB / 0.5618 GB, free: 14.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005937/0.5716, allocations: 373.5 kB / 0.5621 GB, free: 14.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.5717, allocations: 77.11 kB / 0.5622 GB, free: 14.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.572, allocations: 292 kB / 0.5625 GB, free: 13.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.572, allocations: 25.7 kB / 0.5625 GB, free: 13.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.5721, allocations: 143.8 kB / 0.5627 GB, free: 13.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.5722, allocations: 103.2 kB / 0.5627 GB, free: 13.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.5722, allocations: 0 / 0.5627 GB, free: 13.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.5724, allocations: 344.7 kB / 0.5631 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000325/0.5727, allocations: 271.5 kB / 0.5633 GB, free: 13.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.5731, allocations: 312.6 kB / 0.5636 GB, free: 12.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.5735, allocations: 304.6 kB / 0.5639 GB, free: 12.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.5735, allocations: 3.938 kB / 0.5639 GB, free: 12.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0009264/0.5745, allocations: 0.7073 MB / 0.5646 GB, free: 12.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.5745, allocations: 4 kB / 0.5646 GB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/0.5745, allocations: 4 kB / 0.5646 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.203e-05/0.5746, allocations: 4 kB / 0.5646 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.5751, allocations: 99.75 kB / 0.5647 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.5751, allocations: 7.984 kB / 0.5647 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.5753, allocations: 59.12 kB / 0.5648 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.5754, allocations: 10.38 kB / 0.5648 GB, free: 12.06 MB / 378.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.0001872/0.5755, allocations: 122.8 kB / 0.5649 GB, free: 11.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/0.5756, allocations: 35.58 kB / 0.565 GB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.5757, allocations: 32.28 kB / 0.565 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5757, allocations: 4 kB / 0.565 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.5758, allocations: 0 / 0.565 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.5758, allocations: 11.92 kB / 0.565 GB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/0.5762, allocations: 299.1 kB / 0.5653 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5762, allocations: 0 / 0.5653 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.5765, allocations: 55.91 kB / 0.5653 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5766, allocations: 0 / 0.5653 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.902e-05/0.5766, allocations: 18.67 kB / 0.5654 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.5766, allocations: 3.953 kB / 0.5654 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.5766, allocations: 0 / 0.5654 GB, free: 11.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/0.5776, allocations: 0.7054 MB / 0.566 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.5777, allocations: 112.7 kB / 0.5662 GB, free: 10.81 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.674e-05/0.5777, allocations: 18.94 kB / 0.5662 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.578, allocations: 8 kB / 0.5662 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.487e-05/0.5781, allocations: 15.97 kB / 0.5662 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.5781, allocations: 11 kB / 0.5662 GB, free: 10.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002435/0.5783, allocations: 206.4 kB / 0.5664 GB, free: 10.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5783, allocations: 0 / 0.5664 GB, free: 10.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001255/0.5796, allocations: 254.4 kB / 0.5666 GB, free: 10.35 MB / 378.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.0005844/0.5802, allocations: 289.5 kB / 0.5669 GB, free: 10.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008337/0.581, allocations: 0.6907 MB / 0.5676 GB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5811, allocations: 0 / 0.5676 GB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.5813, allocations: 174.8 kB / 0.5678 GB, free: 9.441 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.5816, allocations: 34.75 kB / 0.5678 GB, free: 9.418 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.5828, allocations: 0.7914 MB / 0.5686 GB, free: 8.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.5832, allocations: 0.8169 MB / 0.5694 GB, free: 7.848 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.5834, allocations: 66.03 kB / 0.5694 GB, free: 7.781 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.227e-05/0.5835, allocations: 23.44 kB / 0.5695 GB, free: 7.758 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5835, allocations: 0 / 0.5695 GB, free: 7.758 MB / 378.7 MB Notification: Performance of Templates: time 0.01008/0.5936, allocations: 5.707 MB / 0.575 GB, free: 2.082 MB / 378.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