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.001199/0.001199, allocations: 177.5 kB / 16.77 MB, free: 5.047 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.477/1.477, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0008051/0.0008054, allocations: 93.31 kB / 271.3 MB, free: 8.254 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.3088/0.3088, allocations: 43.56 MB / 363.1 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003886/0.0003887, allocations: 12 kB / 432.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1045, allocations: 58.85 MB / 491.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2834/0.388, allocations: 86.83 MB / 0.5647 GB, free: 15.18 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/0.3883, allocations: 63.97 kB / 0.5648 GB, free: 15.12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03563/0.4239, allocations: 9.484 MB / 0.5741 GB, free: 5.672 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.424, allocations: 3.938 kB / 0.5741 GB, free: 5.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.797e-05/0.424, allocations: 12 kB / 0.5741 GB, free: 5.656 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.001862/0.4259, allocations: 0.6796 MB / 0.5747 GB, free: 4.926 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.426, allocations: 12.03 kB / 0.5748 GB, free: 4.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/0.4261, allocations: 36.47 kB / 0.5748 GB, free: 4.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.4267, allocations: 300.4 kB / 0.5751 GB, free: 4.547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.4267, allocations: 19.3 kB / 0.5751 GB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.4269, allocations: 24.38 kB / 0.5751 GB, free: 4.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006586/0.4275, allocations: 267.7 kB / 0.5754 GB, free: 4.234 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4276, allocations: 6.75 kB / 0.5754 GB, free: 4.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.4276, allocations: 12 kB / 0.5754 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.4276, allocations: 0 / 0.5754 GB, free: 4.219 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005834/0.4282, allocations: 239.8 kB / 0.5756 GB, free: 3.984 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.4299, allocations: 0.7617 MB / 0.5764 GB, free: 3.168 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.4305, allocations: 292.9 kB / 0.5766 GB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004095/0.431, allocations: 198 kB / 0.5768 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.431, allocations: 11.92 kB / 0.5768 GB, free: 2.652 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.4311, allocations: 38.5 kB / 0.5769 GB, free: 2.605 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 2.364e-06/0.4311, allocations: 0 / 0.5769 GB, free: 2.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=24): time 0.001364/0.4324, allocations: 0.5464 MB / 0.5774 GB, free: 2.055 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.735e-05/0.4325, allocations: 85.05 kB / 0.5775 GB, free: 1.953 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004949/0.433, allocations: 348.5 kB / 0.5778 GB, free: 1.605 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.156e-05/0.4331, allocations: 33.7 kB / 0.5779 GB, free: 1.566 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.4332, allocations: 140.7 kB / 0.578 GB, free: 1.422 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.4334, allocations: 98.53 kB / 0.5781 GB, free: 1.324 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.4334, allocations: 12 kB / 0.5781 GB, free: 1.312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.4336, allocations: 346.8 kB / 0.5784 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005713/0.4342, allocations: 280.9 kB / 0.5787 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006227/0.4348, allocations: 347.3 kB / 0.579 GB, free: 356 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004593/0.4394, allocations: 1.774 MB / 0.5808 GB, free: 14.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.4394, allocations: 4 kB / 0.5808 GB, free: 14.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001585/0.441, allocations: 0.7696 MB / 0.5815 GB, free: 13.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.4411, allocations: 9.656 kB / 0.5815 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.816e-05/0.4411, allocations: 11.98 kB / 0.5815 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.4411, allocations: 0 / 0.5815 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006726/0.4418, allocations: 103.9 kB / 0.5816 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.4418, allocations: 0 / 0.5816 GB, free: 13.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.4422, allocations: 75.08 kB / 0.5817 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.4422, allocations: 12 kB / 0.5817 GB, free: 13.58 MB / 410.7 MB Warning: Assuming fixed start value for the following 6 variables: 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] 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[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[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[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[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] 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.0003677/0.4426, allocations: 183.9 kB / 0.5819 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.4427, allocations: 23.62 kB / 0.5819 GB, free: 13.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.4429, allocations: 42.7 kB / 0.582 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.4429, allocations: 4 kB / 0.582 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.4429, allocations: 0 / 0.582 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.4429, allocations: 3.938 kB / 0.582 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006247/0.4435, allocations: 341.2 kB / 0.5823 GB, free: 12.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4435, allocations: 3.984 kB / 0.5823 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/0.444, allocations: 47.92 kB / 0.5823 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.444, allocations: 0 / 0.5823 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.4441, allocations: 23.92 kB / 0.5824 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4441, allocations: 0 / 0.5824 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.4441, allocations: 4 kB / 0.5824 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.4456, allocations: 0.7534 MB / 0.5831 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.791e-05/0.4457, allocations: 108.8 kB / 0.5832 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-05/0.4457, allocations: 16 kB / 0.5832 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/0.446, allocations: 7.984 kB / 0.5832 GB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/0.4461, allocations: 23.86 kB / 0.5833 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.4462, allocations: 11.98 kB / 0.5833 GB, free: 11.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002929/0.4465, allocations: 219 kB / 0.5835 GB, free: 11.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4465, allocations: 3.938 kB / 0.5835 GB, free: 11.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001304/0.4478, allocations: 267.8 kB / 0.5837 GB, free: 11.43 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 () * 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.001105/0.4489, allocations: 290.8 kB / 0.584 GB, free: 11.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.4504, allocations: 0.7404 MB / 0.5847 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4504, allocations: 0 / 0.5847 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004372/0.4508, allocations: 199.8 kB / 0.5849 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006831/0.4515, allocations: 41.06 kB / 0.585 GB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.4535, allocations: 1.04 MB / 0.586 GB, free: 9.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000556/0.4541, allocations: 0.807 MB / 0.5868 GB, free: 8.238 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002805/0.4544, allocations: 70.23 kB / 0.5868 GB, free: 8.172 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.4545, allocations: 23.44 kB / 0.5869 GB, free: 8.148 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4545, allocations: 0 / 0.5869 GB, free: 8.148 MB / 410.7 MB Notification: Performance of Templates: time 0.0159/0.4704, allocations: 6.062 MB / 0.5928 GB, free: 2.105 MB / 410.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/jenkins1/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