Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.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.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001478, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.27/1.27, 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.000854/0.0008541, allocations: 90.88 kB / 270.2 MB, free: 13.37 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.2183/0.2183, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003359, allocations: 15.98 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1203, allocations: 58.86 MB / 490.2 MB, free: 8.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.38/0.5003, allocations: 95.68 MB / 0.5722 GB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.5006, allocations: 71.84 kB / 0.5723 GB, free: 4.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04391/0.5445, allocations: 14.73 MB / 0.5867 GB, free: 7.727 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5445, allocations: 0 / 0.5867 GB, free: 7.727 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.174e-05/0.5446, allocations: 20 kB / 0.5867 GB, free: 7.707 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002289/0.5469, allocations: 1.095 MB / 0.5877 GB, free: 6.613 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.547, allocations: 12.03 kB / 0.5878 GB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.5472, allocations: 94.86 kB / 0.5878 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.5484, allocations: 0.5907 MB / 0.5884 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/0.5485, allocations: 40.31 kB / 0.5885 GB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.176e-05/0.5486, allocations: 55.22 kB / 0.5885 GB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.5497, allocations: 0.6304 MB / 0.5891 GB, free: 5.348 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.5497, allocations: 4 kB / 0.5891 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.007e-05/0.5498, allocations: 15.75 kB / 0.5891 GB, free: 5.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.5498, allocations: 12 kB / 0.5892 GB, free: 5.328 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.5509, allocations: 0.5041 MB / 0.5896 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003771/0.5547, allocations: 2.704 MB / 0.5923 GB, free: 2.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.5559, allocations: 0.5859 MB / 0.5929 GB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.5559, allocations: 4.062 kB / 0.5929 GB, free: 2.059 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.556, allocations: 41.78 kB / 0.5929 GB, free: 2.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 2.555e-06/0.556, allocations: 0 / 0.5929 GB, free: 2.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=44): time 0.00248/0.5585, allocations: 1.214 MB / 0.5941 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.921e-05/0.5586, allocations: 139.3 kB / 0.5942 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007644/0.5593, allocations: 0.5841 MB / 0.5948 GB, free: 340 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.61e-05/0.5594, allocations: 38.64 kB / 0.5948 GB, free: 304 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.5596, allocations: 350.7 kB / 0.5952 GB, free: 92 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.5598, allocations: 173.9 kB / 0.5953 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/0.5598, allocations: 14.31 kB / 0.5953 GB, free: 15.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.56, allocations: 332.3 kB / 0.5957 GB, free: 15.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005915/0.5606, allocations: 285.5 kB / 0.5959 GB, free: 15.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007/0.5613, allocations: 447.5 kB / 0.5964 GB, free: 14.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006362/0.5619, allocations: 330.4 kB / 0.5967 GB, free: 14.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5619, allocations: 4 kB / 0.5967 GB, free: 14.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001529/0.5635, allocations: 0.8472 MB / 0.5975 GB, free: 14.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006597/0.5641, allocations: 1.749 MB / 0.5992 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.5642, allocations: 8 kB / 0.5992 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.5642, allocations: 8 kB / 0.5992 GB, free: 12.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00068/0.5649, allocations: 163.6 kB / 0.5994 GB, free: 12.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.5649, allocations: 8 kB / 0.5994 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/0.5655, allocations: 93.94 kB / 0.5995 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.901e-05/0.5655, allocations: 23.38 kB / 0.5995 GB, free: 11.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.5655, allocations: 4 kB / 0.5995 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001473/0.567, allocations: 0.7227 MB / 0.6002 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-06/0.567, allocations: 4 kB / 0.6002 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.5671, allocations: 15.89 kB / 0.6002 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.5677, allocations: 153.7 kB / 0.6004 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.5677, allocations: 11.94 kB / 0.6004 GB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/0.5683, allocations: 93.44 kB / 0.6005 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.5683, allocations: 22.38 kB / 0.6005 GB, free: 11.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0004281/0.5688, allocations: 282 kB / 0.6008 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/0.5689, allocations: 79.06 kB / 0.6008 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000184/0.5691, allocations: 88.8 kB / 0.6009 GB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.5691, allocations: 11.94 kB / 0.6009 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.5691, allocations: 0 / 0.6009 GB, free: 10.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.5692, allocations: 4 kB / 0.6009 GB, free: 10.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.5705, allocations: 0.8481 MB / 0.6018 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5706, allocations: 0 / 0.6018 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006595/0.5712, allocations: 111.1 kB / 0.6019 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.5712, allocations: 7.953 kB / 0.6019 GB, free: 9.918 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.5713, allocations: 19.17 kB / 0.6019 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.5713, allocations: 4 kB / 0.6019 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5713, allocations: 3.938 kB / 0.6019 GB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.5733, allocations: 1.237 MB / 0.6031 GB, free: 8.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.5736, allocations: 196.3 kB / 0.6033 GB, free: 8.668 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.457e-05/0.5737, allocations: 15.11 kB / 0.6033 GB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006057/0.5743, allocations: 67.12 kB / 0.6034 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.5744, allocations: 35.56 kB / 0.6034 GB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.5745, allocations: 11.75 kB / 0.6034 GB, free: 8.562 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006468/0.5751, allocations: 467 kB / 0.6039 GB, free: 8.207 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5751, allocations: 0 / 0.6039 GB, free: 8.207 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008303/0.576, allocations: 207 kB / 0.6041 GB, free: 8.031 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (44): * Single equations (assignments): 44 * 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.0001921/0.5762, allocations: 114.1 kB / 0.6042 GB, free: 7.914 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.5783, allocations: 1.011 MB / 0.6052 GB, free: 7.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5783, allocations: 4 kB / 0.6052 GB, free: 7.121 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006023/0.5789, allocations: 307.7 kB / 0.6055 GB, free: 6.891 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008617/0.5798, allocations: 166.4 kB / 0.6056 GB, free: 6.766 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.5825, allocations: 1.717 MB / 0.6073 GB, free: 5.145 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/0.583, allocations: 0.9726 MB / 0.6083 GB, free: 4.148 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005226/0.5836, allocations: 152.9 kB / 0.6084 GB, free: 4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.5838, allocations: 50.55 kB / 0.6084 GB, free: 3.953 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5838, allocations: 0 / 0.6084 GB, free: 3.953 MB / 410.7 MB Notification: Performance of Templates: time 0.01268/0.5964, allocations: 6.695 MB / 0.615 GB, free: 13.3 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Continuous/Continuous.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches