Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 98.75 kB / 16.99 MB, free: 6.402 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.00124/0.00124, allocations: 178.7 kB / 17.88 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.425/1.425, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2254/0.2254, allocations: 44.22 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 9.25 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1413, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002696/0.1441, allocations: 1.275 MB / 472.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008519/0.1449, allocations: 367.6 kB / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.048e-05/0.145, allocations: 0 / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.1454, allocations: 103.7 kB / 473.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.1456, allocations: 63.84 kB / 473.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.1458, allocations: 75.78 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.146, allocations: 51.92 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.1462, allocations: 16.19 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.906e-05/0.1462, allocations: 39.83 kB / 473.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.1464, allocations: 43.88 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1464, allocations: 3.938 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.594e-05/0.1465, allocations: 31.88 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.579e-05/0.1466, allocations: 23.97 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.355e-05/0.1466, allocations: 37.64 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1468, allocations: 75.88 kB / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.1468, allocations: 3.938 kB / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1468, allocations: 4 kB / 473.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.1468, allocations: 0 / 473.7 MB, free: 11.51 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000614/0.1474, allocations: 403.1 kB / 474 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.1475, allocations: 8.562 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.1475, allocations: 11.91 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.1478, allocations: 206.8 kB / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.1478, allocations: 0 / 474.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.1479, allocations: 11.94 kB / 474.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.148, allocations: 57.62 kB / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1481, allocations: 0 / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1481, allocations: 3.938 kB / 474.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.1481, allocations: 7.984 kB / 474.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.1482, allocations: 27.98 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000489/0.1487, allocations: 292.8 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.1489, allocations: 54.48 kB / 474.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.1489, allocations: 0 / 474.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1489, allocations: 30.56 kB / 474.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1489, allocations: 0 / 474.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000996/0.1499, allocations: 261.1 kB / 475 MB, free: 9.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.15, allocations: 51.41 kB / 475.1 MB, free: 9.934 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.1503, allocations: 234.7 kB / 475.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.1503, allocations: 29.7 kB / 475.3 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.1504, allocations: 108 kB / 475.4 MB, free: 9.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.1504, allocations: 31.64 kB / 475.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.219e-06/0.1504, allocations: 0 / 475.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1506, allocations: 326.8 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.83e-05/0.1506, allocations: 31.98 kB / 475.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.286e-05/0.1507, allocations: 23.98 kB / 475.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.694e-05/0.1508, allocations: 35.98 kB / 475.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1508, allocations: 0 / 475.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000205/0.151, allocations: 109.7 kB / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.151, allocations: 4 kB / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1511, allocations: 80 / 476 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1511, allocations: 4 kB / 476 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001098/0.1512, allocations: 23.98 kB / 476 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1512, allocations: 7.984 kB / 476 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.1513, allocations: 11.92 kB / 476 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-06/0.1513, allocations: 0 / 476 MB, free: 8.93 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 (8): * Single equations (assignments): 8 * 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.0001162/0.1514, allocations: 137.8 kB / 476.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.1514, allocations: 11.84 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.1517, allocations: 138.9 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1517, allocations: 4 kB / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1518, allocations: 0 / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1518, allocations: 0 / 476.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005223/0.1523, allocations: 415.3 kB / 476.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1523, allocations: 0 / 476.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.1524, allocations: 19.98 kB / 476.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1524, allocations: 0 / 476.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1524, allocations: 8 kB / 476.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.1524, allocations: 4.031 kB / 476.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1524, allocations: 3.938 kB / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.1527, allocations: 225.9 kB / 477 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.418e-05/0.1527, allocations: 85.02 kB / 477 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.1528, allocations: 4 kB / 477 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.1529, allocations: 11.98 kB / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1529, allocations: 4.375 kB / 477.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1529, allocations: 4 kB / 477.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001644/0.1531, allocations: 188.3 kB / 477.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1531, allocations: 0 / 477.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1534, allocations: 27.98 kB / 477.3 MB, free: 7.551 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (8): * Single equations (assignments): 8 * 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.001032/0.1544, allocations: 454.2 kB / 477.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002189/0.1546, allocations: 67.97 kB / 477.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1546, allocations: 0 / 477.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.672e-05/0.1547, allocations: 48.06 kB / 477.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.155, allocations: 16.27 kB / 477.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.1555, allocations: 306 kB / 478.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.1558, allocations: 0.72 MB / 478.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.055e-05/0.1559, allocations: 20.64 kB / 478.9 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.089e-05/0.1559, allocations: 11.44 kB / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1559, allocations: 0 / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of Templates: time 0.003867/0.1598, allocations: 1.241 MB / 480.1 MB, free: 4.809 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches