Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 99.2 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001382, allocations: 183.8 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2215/0.2215, allocations: 44.23 MB / 337.1 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003131/0.0003132, allocations: 12.66 kB / 409.5 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 61.92 MB / 471.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002309/0.1454, allocations: 1.259 MB / 472.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.147, allocations: 0.9415 MB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.1471, allocations: 3.938 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.1474, allocations: 19.91 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.1476, allocations: 39.84 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.1479, allocations: 66.72 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.148, allocations: 39.89 kB / 473.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.1482, allocations: 15.98 kB / 473.8 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.813e-05/0.1482, allocations: 11.94 kB / 473.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1484, allocations: 27.84 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1484, allocations: 0 / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.264e-05/0.1485, allocations: 31.92 kB / 473.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.1486, allocations: 8 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.1486, allocations: 29.64 kB / 473.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.1488, allocations: 67.89 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1488, allocations: 0 / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.1488, allocations: 3.938 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1488, allocations: 0 / 474 MB, free: 11.12 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005632/0.1494, allocations: 375.4 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.1494, allocations: 8.562 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.1495, allocations: 4 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.1497, allocations: 194.8 kB / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.944e-06/0.1497, allocations: 0 / 474.6 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.1498, allocations: 3.953 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1499, allocations: 67.41 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.15, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.15, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.15, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.292e-05/0.1501, allocations: 27.97 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.1505, allocations: 276.9 kB / 474.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.1507, allocations: 38.66 kB / 475 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.1507, allocations: 3.984 kB / 475 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.1507, allocations: 34.56 kB / 475 MB, free: 9.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1507, allocations: 0 / 475 MB, free: 9.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005821/0.1513, allocations: 161.4 kB / 475.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.1514, allocations: 77.11 kB / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.1516, allocations: 137.8 kB / 475.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.1516, allocations: 29.7 kB / 475.4 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.1516, allocations: 88.08 kB / 475.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.1517, allocations: 27.72 kB / 475.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.1517, allocations: 0 / 475.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1518, allocations: 322.8 kB / 475.8 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.1519, allocations: 19.98 kB / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.399e-05/0.152, allocations: 41.64 kB / 475.9 MB, free: 9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.83e-05/0.152, allocations: 23.98 kB / 475.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1521, allocations: 0 / 475.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001704/0.1522, allocations: 85.61 kB / 476 MB, free: 8.887 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1523, allocations: 8 kB / 476 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1523, allocations: 4.234 kB / 476 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.1523, allocations: 0 / 476 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.636e-05/0.1524, allocations: 16 kB / 476 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1524, allocations: 0 / 476 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.1524, allocations: 11.98 kB / 476.1 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1524, allocations: 8 kB / 476.1 MB, free: 8.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0001009/0.1525, allocations: 117.7 kB / 476.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.1526, allocations: 7.906 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002223/0.1528, allocations: 93.62 kB / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1528, allocations: 0 / 476.3 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1528, allocations: 4 kB / 476.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1528, allocations: 0 / 476.3 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.1533, allocations: 354.5 kB / 476.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1533, allocations: 4 kB / 476.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.395e-05/0.1534, allocations: 15.98 kB / 476.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1534, allocations: 7.938 kB / 476.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1534, allocations: 0 / 476.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1534, allocations: 0 / 476.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1534, allocations: 0 / 476.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/0.1536, allocations: 191.3 kB / 476.8 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.1537, allocations: 85 kB / 476.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.1537, allocations: 4 kB / 476.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.627e-05/0.1538, allocations: 8 kB / 476.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.1539, allocations: 3.984 kB / 476.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.1539, allocations: 4 kB / 476.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.942e-05/0.154, allocations: 110.5 kB / 477.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.154, allocations: 0 / 477.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.1543, allocations: 27.98 kB / 477.1 MB, free: 7.719 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 5 * 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.1554, allocations: 443.4 kB / 477.5 MB, free: 7.449 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002044/0.1556, allocations: 55.97 kB / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1556, allocations: 0 / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.379e-05/0.1557, allocations: 36.05 kB / 477.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.1559, allocations: 15.94 kB / 477.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.1563, allocations: 168.8 kB / 477.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1566, allocations: 0.6926 MB / 478.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.029e-05/0.1567, allocations: 11.98 kB / 478.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.1567, allocations: 19.42 kB / 478.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1567, allocations: 0 / 478.5 MB, free: 6.402 MB / 350.1 MB Notification: Performance of Templates: time 0.003979/0.1607, allocations: 1.262 MB / 479.8 MB, free: 5.145 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches