Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.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.Tables.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5") translateModel(ModelicaTest.Tables.CombiTable1D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009966/0.0009966, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.598/1.598, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.0008879/0.0008882, allocations: 82.31 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4265/0.4265, allocations: 43.57 MB / 362.7 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004337, allocations: 12 kB / 431.4 MB, free: 6.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1376, allocations: 58.85 MB / 490.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test5): time 0.001981/0.1396, allocations: 1.255 MB / 491.5 MB, free: 9.941 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000596/0.1402, allocations: 303.8 kB / 491.8 MB, free: 9.641 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.1403, allocations: 3.938 kB / 491.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.1406, allocations: 91.81 kB / 491.9 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.1408, allocations: 59.84 kB / 491.9 MB, free: 9.488 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.1411, allocations: 87.83 kB / 492 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.1412, allocations: 55.83 kB / 492.1 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1413, allocations: 19.97 kB / 492.1 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.754e-05/0.1414, allocations: 27.89 kB / 492.1 MB, free: 9.301 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1415, allocations: 35.91 kB / 492.2 MB, free: 9.266 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.1415, allocations: 7.938 kB / 492.2 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.094e-05/0.1416, allocations: 27.98 kB / 492.2 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.1417, allocations: 23.91 kB / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.464e-05/0.1417, allocations: 33.7 kB / 492.3 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1419, allocations: 63.91 kB / 492.3 MB, free: 9.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1419, allocations: 3.938 kB / 492.3 MB, free: 9.102 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1419, allocations: 0 / 492.3 MB, free: 9.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.1419, allocations: 0 / 492.3 MB, free: 9.102 MB / 378.7 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.0004838/0.1424, allocations: 395.1 kB / 492.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.1424, allocations: 16.02 kB / 492.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.1425, allocations: 11.86 kB / 492.7 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.1426, allocations: 199.6 kB / 492.9 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1427, allocations: 0 / 492.9 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1427, allocations: 0 / 492.9 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.1428, allocations: 45.69 kB / 493 MB, free: 8.355 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1429, allocations: 3.906 kB / 493 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1429, allocations: 8 kB / 493 MB, free: 8.344 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1429, allocations: 3.984 kB / 493 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.985e-05/0.143, allocations: 35.88 kB / 493 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.1434, allocations: 281 kB / 493.3 MB, free: 7.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.1436, allocations: 46.56 kB / 493.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.1437, allocations: 28.88 kB / 493.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.1437, allocations: 0 / 493.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.1437, allocations: 34.56 kB / 493.4 MB, free: 7.852 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.1437, allocations: 0 / 493.4 MB, free: 7.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005887/0.1443, allocations: 177.1 kB / 493.6 MB, free: 7.672 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.1444, allocations: 55.41 kB / 493.6 MB, free: 7.605 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002109/0.1446, allocations: 218.4 kB / 493.8 MB, free: 7.383 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.1446, allocations: 25.7 kB / 493.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.272e-05/0.1447, allocations: 108.1 kB / 494 MB, free: 7.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.1447, allocations: 27.64 kB / 494 MB, free: 7.215 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.1448, allocations: 0 / 494 MB, free: 7.215 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1449, allocations: 326.8 kB / 494.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.923e-05/0.145, allocations: 23.98 kB / 494.3 MB, free: 6.863 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.1451, allocations: 23.98 kB / 494.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.1452, allocations: 27.98 kB / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1452, allocations: 0 / 494.4 MB, free: 6.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002213/0.1454, allocations: 97.56 kB / 494.5 MB, free: 6.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.1455, allocations: 11.89 kB / 494.5 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1455, allocations: 0 / 494.5 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1455, allocations: 3.938 kB / 494.5 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.527e-05/0.1456, allocations: 16.25 kB / 494.5 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1456, allocations: 0 / 494.5 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.893e-05/0.1456, allocations: 15.98 kB / 494.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1456, allocations: 4 kB / 494.5 MB, free: 6.66 MB / 378.7 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.0001205/0.1458, allocations: 125.8 kB / 494.7 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.1458, allocations: 7.906 kB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.1461, allocations: 114.6 kB / 494.8 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1461, allocations: 3.938 kB / 494.8 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1461, allocations: 0 / 494.8 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.1461, allocations: 4 kB / 494.8 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.1466, allocations: 374.5 kB / 495.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1466, allocations: 0 / 495.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.1467, allocations: 19.94 kB / 495.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1467, allocations: 0 / 495.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.1467, allocations: 288 / 495.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1467, allocations: 0 / 495.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1467, allocations: 0 / 495.2 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.1469, allocations: 199.4 kB / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.147, allocations: 89 kB / 495.5 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.147, allocations: 3.953 kB / 495.5 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.23e-05/0.1471, allocations: 11.98 kB / 495.5 MB, free: 5.609 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.1472, allocations: 4 kB / 495.5 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1472, allocations: 192 / 495.5 MB, free: 5.605 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001473/0.1473, allocations: 175.2 kB / 495.6 MB, free: 5.434 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1473, allocations: 0 / 495.6 MB, free: 5.434 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.1476, allocations: 16 kB / 495.7 MB, free: 5.418 MB / 378.7 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.0008346/0.1484, allocations: 404.7 kB / 496.1 MB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002092/0.1486, allocations: 59.91 kB / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1486, allocations: 0 / 496.1 MB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.159e-05/0.1487, allocations: 35.97 kB / 496.2 MB, free: 4.977 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.1491, allocations: 12 kB / 496.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.1496, allocations: 283.1 kB / 496.4 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.1499, allocations: 0.7083 MB / 497.1 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.353e-05/0.1499, allocations: 15.44 kB / 497.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1499, allocations: 0 / 497.2 MB, free: 3.906 MB / 378.7 MB Notification: Performance of Templates: time 0.003268/0.1532, allocations: 1.541 MB / 498.7 MB, free: 2.367 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches