Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.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 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 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 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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 97.25 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 176 kB / 16.91 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4826/0.4826, allocations: 43.58 MB / 315 MB, free: 9.07 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004794, allocations: 16 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1468, allocations: 58.87 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.001933/0.1488, allocations: 1.325 MB / 444.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006637/0.1494, allocations: 335.6 kB / 445.1 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.206e-05/0.1495, allocations: 4 kB / 445.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004954/0.15, allocations: 455.2 kB / 445.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.1503, allocations: 239.6 kB / 445.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.1507, allocations: 143.8 kB / 445.9 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.1509, allocations: 159.7 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.227e-05/0.151, allocations: 16.45 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1511, allocations: 103.7 kB / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1513, allocations: 203.6 kB / 446.4 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.1513, allocations: 0 / 446.4 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.137e-05/0.1514, allocations: 35.92 kB / 446.4 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1515, allocations: 87.67 kB / 446.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.1516, allocations: 124.7 kB / 446.6 MB, free: 9.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002655/0.1519, allocations: 238.9 kB / 446.9 MB, free: 9.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1519, allocations: 0 / 446.9 MB, free: 9.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1519, allocations: 0 / 446.9 MB, free: 9.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1519, allocations: 4 kB / 446.9 MB, free: 9.461 MB / 382.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.000616/0.1526, allocations: 0.5911 MB / 447.5 MB, free: 8.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.1526, allocations: 12.03 kB / 447.5 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.219e-05/0.1527, allocations: 36.47 kB / 447.5 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.1529, allocations: 300.1 kB / 447.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.153, allocations: 384 / 447.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.153, allocations: 4.375 kB / 447.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.1531, allocations: 65.56 kB / 447.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1532, allocations: 0 / 447.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.1532, allocations: 0 / 447.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1532, allocations: 0 / 447.9 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1533, allocations: 35.97 kB / 447.9 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005364/0.1539, allocations: 404.6 kB / 448.3 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.1541, allocations: 46.55 kB / 448.3 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.1541, allocations: 24.94 kB / 448.4 MB, free: 7.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.1542, allocations: 3.938 kB / 448.4 MB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.1542, allocations: 38.5 kB / 448.4 MB, free: 7.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1542, allocations: 0 / 448.4 MB, free: 7.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006542/0.1549, allocations: 248 kB / 448.7 MB, free: 7.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.155, allocations: 59.33 kB / 448.7 MB, free: 7.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009148/0.1559, allocations: 0.8574 MB / 449.6 MB, free: 6.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1559, allocations: 29.7 kB / 449.6 MB, free: 6.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000189/0.1561, allocations: 224.1 kB / 449.8 MB, free: 6.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.1561, allocations: 7.812 kB / 449.8 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.1562, allocations: 13.72 kB / 449.8 MB, free: 6.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1564, allocations: 362.8 kB / 450.2 MB, free: 5.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.1564, allocations: 27.98 kB / 450.2 MB, free: 5.891 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-05/0.1565, allocations: 23.98 kB / 450.2 MB, free: 5.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001449/0.1567, allocations: 56.83 kB / 450.3 MB, free: 5.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1567, allocations: 4 kB / 450.3 MB, free: 5.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002309/0.1569, allocations: 133 kB / 450.4 MB, free: 5.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.157, allocations: 8 kB / 450.4 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.157, allocations: 0 / 450.4 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.157, allocations: 0 / 450.4 MB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.1571, allocations: 16.25 kB / 450.5 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.1571, allocations: 3.984 kB / 450.5 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.811e-05/0.1571, allocations: 15.94 kB / 450.5 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.1572, allocations: 4 kB / 450.5 MB, free: 5.621 MB / 382.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.0002394/0.1574, allocations: 217.7 kB / 450.7 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.642e-05/0.1575, allocations: 43.44 kB / 450.7 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.1578, allocations: 157 kB / 450.9 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.1578, allocations: 0 / 450.9 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.1578, allocations: 0 / 450.9 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1578, allocations: 3.938 kB / 450.9 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000557/0.1584, allocations: 466.5 kB / 451.3 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1584, allocations: 0 / 451.3 MB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.508e-05/0.1584, allocations: 15.98 kB / 451.4 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1584, allocations: 0 / 451.4 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.1585, allocations: 3.938 kB / 451.4 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1585, allocations: 3.938 kB / 451.4 MB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1585, allocations: 7.875 kB / 451.4 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.1587, allocations: 231 kB / 451.6 MB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.011e-05/0.1588, allocations: 104.6 kB / 451.7 MB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1589, allocations: 11.92 kB / 451.7 MB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.1589, allocations: 8 kB / 451.7 MB, free: 4.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.159, allocations: 4 kB / 451.7 MB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.159, allocations: 8.172 kB / 451.7 MB, free: 4.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006025/0.1596, allocations: 0.6472 MB / 452.4 MB, free: 3.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1596, allocations: 0 / 452.4 MB, free: 3.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.1599, allocations: 16 kB / 452.4 MB, free: 3.59 MB / 382.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.0009181/0.1608, allocations: 410.1 kB / 452.8 MB, free: 3.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000196/0.161, allocations: 67.84 kB / 452.9 MB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.161, allocations: 0 / 452.9 MB, free: 3.148 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.044e-05/0.1611, allocations: 31.97 kB / 452.9 MB, free: 3.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.1615, allocations: 21.97 kB / 452.9 MB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.1625, allocations: 0.8802 MB / 453.8 MB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.163, allocations: 0.8262 MB / 454.6 MB, free: 1.332 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.704e-05/0.163, allocations: 20.22 kB / 454.6 MB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/0.1631, allocations: 11.44 kB / 454.7 MB, free: 1.305 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1631, allocations: 3.938 kB / 454.7 MB, free: 1.301 MB / 382.1 MB Notification: Performance of Templates: time 0.2266/0.3897, allocations: 1.344 MB / 456 MB, free: 45.9 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches