Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.CombiTable1Dv.Test8,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.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.CombiTable1Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008502/0.0008501, allocations: 94.11 kB / 17.35 MB, free: 6.344 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.0009263/0.0009263, allocations: 168.5 kB / 18.25 MB, free: 5.508 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.517/1.517, allocations: 223.3 MB / 242.3 MB, free: 14.47 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.2107/0.2107, allocations: 44.25 MB / 337.7 MB, free: 2.402 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003577, allocations: 11.98 kB / 410.3 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1432, allocations: 61.91 MB / 472.3 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002126/0.1453, allocations: 1.278 MB / 473.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009721/0.1463, allocations: 399.4 kB / 473.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.1464, allocations: 4 kB / 473.9 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.1467, allocations: 19.92 kB / 473.9 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.1469, allocations: 23.92 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.1473, allocations: 98.19 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1475, allocations: 55.78 kB / 474.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1476, allocations: 23.97 kB / 474.1 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.928e-05/0.1476, allocations: 15.92 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.978e-05/0.1477, allocations: 19.86 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.1477, allocations: 0 / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.71e-05/0.1478, allocations: 31.98 kB / 474.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.072e-05/0.1479, allocations: 11.92 kB / 474.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.1481, allocations: 41.58 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.1483, allocations: 75.78 kB / 474.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1483, allocations: 3.938 kB / 474.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1483, allocations: 0 / 474.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.1483, allocations: 0 / 474.3 MB, free: 11.2 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.0005358/0.1488, allocations: 385.7 kB / 474.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.1489, allocations: 8.031 kB / 474.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.149, allocations: 8.844 kB / 474.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1492, allocations: 182.6 kB / 474.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.1492, allocations: 4.375 kB / 474.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1493, allocations: 384 / 474.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.1494, allocations: 57.8 kB / 475 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1494, allocations: 7.906 kB / 475 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.1495, allocations: 0 / 475 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.1495, allocations: 4 kB / 475 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.1496, allocations: 27.92 kB / 475 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.1501, allocations: 280.9 kB / 475.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.1503, allocations: 50.55 kB / 475.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.919e-05/0.1504, allocations: 20.8 kB / 475.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.1504, allocations: 8.078 kB / 475.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.1505, allocations: 30.56 kB / 475.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.894e-06/0.1505, allocations: 4 kB / 475.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000627/0.1511, allocations: 165.2 kB / 475.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.1512, allocations: 55.41 kB / 475.6 MB, free: 9.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1513, allocations: 153.8 kB / 475.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1513, allocations: 25.7 kB / 475.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.1514, allocations: 96.12 kB / 475.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.1514, allocations: 11.81 kB / 475.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.1515, allocations: 13.72 kB / 475.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1516, allocations: 322.8 kB / 476.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.161e-05/0.1517, allocations: 23.98 kB / 476.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.482e-05/0.1518, allocations: 31.92 kB / 476.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.1519, allocations: 56.83 kB / 476.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1519, allocations: 0 / 476.3 MB, free: 8.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002167/0.1522, allocations: 101.5 kB / 476.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.1522, allocations: 6.031 kB / 476.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.1522, allocations: 4 kB / 476.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1522, allocations: 0 / 476.4 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.473e-05/0.1523, allocations: 16.23 kB / 476.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.1523, allocations: 4 kB / 476.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.439e-05/0.1524, allocations: 8 kB / 476.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1524, allocations: 7.938 kB / 476.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.1525, allocations: 126.3 kB / 476.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.1525, allocations: 7.906 kB / 476.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.1528, allocations: 105.9 kB / 476.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1528, allocations: 0 / 476.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1528, allocations: 4 kB / 476.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1528, allocations: 3.938 kB / 476.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.1533, allocations: 362.5 kB / 477.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1533, allocations: 0 / 477.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.1534, allocations: 15.98 kB / 477.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1534, allocations: 3.938 kB / 477.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.1534, allocations: 0 / 477.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.1534, allocations: 3.938 kB / 477.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1534, allocations: 0 / 477.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002903/0.1537, allocations: 191.4 kB / 477.3 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.676e-05/0.1538, allocations: 85.3 kB / 477.4 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.1538, allocations: 4 kB / 477.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.011e-05/0.1539, allocations: 11.92 kB / 477.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1539, allocations: 3.984 kB / 477.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.154, allocations: 8 kB / 477.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.1541, allocations: 119.2 kB / 477.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1541, allocations: 0 / 477.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1543, allocations: 15.91 kB / 477.5 MB, free: 7.684 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001053/0.1554, allocations: 413.3 kB / 477.9 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.1556, allocations: 63.89 kB / 478 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1557, allocations: 0 / 478 MB, free: 7.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.521e-05/0.1557, allocations: 27.98 kB / 478 MB, free: 7.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1561, allocations: 15.98 kB / 478 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004726/0.1566, allocations: 208.6 kB / 478.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1569, allocations: 0.6965 MB / 478.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.463e-05/0.157, allocations: 15.97 kB / 478.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.1571, allocations: 11.44 kB / 479 MB, free: 6.344 MB / 350.1 MB Notification: Performance of SimCode: time 2.215e-06/0.1571, allocations: 0 / 479 MB, free: 6.344 MB / 350.1 MB Notification: Performance of Templates: time 0.004/0.1611, allocations: 1.044 MB / 480 MB, free: 5.305 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches