Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009496/0.0009498, allocations: 179.4 kB / 16.41 MB, free: 5.707 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.564/1.564, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0009542/0.0009538, allocations: 97.41 kB / 270.9 MB, free: 8.355 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.3937/0.3937, allocations: 43.56 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003796, allocations: 15.98 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1436, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002173/0.1459, allocations: 1.251 MB / 491.5 MB, free: 9.969 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000631/0.1465, allocations: 299.8 kB / 491.8 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.924e-05/0.1466, allocations: 0 / 491.8 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002305/0.1469, allocations: 27.91 kB / 491.8 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.1471, allocations: 23.86 kB / 491.8 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.1474, allocations: 79.89 kB / 491.9 MB, free: 9.543 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.1476, allocations: 47.84 kB / 492 MB, free: 9.496 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.1477, allocations: 19.97 kB / 492 MB, free: 9.477 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.1478, allocations: 19.86 kB / 492 MB, free: 9.457 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.182e-05/0.1478, allocations: 23.86 kB / 492 MB, free: 9.434 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1479, allocations: 0 / 492 MB, free: 9.434 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.148, allocations: 27.94 kB / 492 MB, free: 9.406 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.148, allocations: 11.98 kB / 492.1 MB, free: 9.395 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.124e-05/0.1481, allocations: 37.64 kB / 492.1 MB, free: 9.352 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.1482, allocations: 43.92 kB / 492.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1482, allocations: 0 / 492.1 MB, free: 9.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1482, allocations: 4 kB / 492.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1482, allocations: 4 kB / 492.1 MB, free: 9.301 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.000546/0.1488, allocations: 371.4 kB / 492.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1489, allocations: 15.95 kB / 492.5 MB, free: 8.875 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.1489, allocations: 11.86 kB / 492.5 MB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.1491, allocations: 186.7 kB / 492.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1491, allocations: 0 / 492.7 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.1492, allocations: 4 kB / 492.7 MB, free: 8.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.1493, allocations: 57.61 kB / 492.8 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1493, allocations: 0 / 492.8 MB, free: 8.578 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/0.1494, allocations: 4 kB / 492.8 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.1494, allocations: 0 / 492.8 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.1495, allocations: 31.94 kB / 492.8 MB, free: 8.543 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.1499, allocations: 277 kB / 493.1 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.1501, allocations: 54.47 kB / 493.1 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.322e-05/0.1502, allocations: 16.86 kB / 493.1 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.1502, allocations: 4.078 kB / 493.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.1503, allocations: 30.56 kB / 493.2 MB, free: 8.098 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1503, allocations: 4 kB / 493.2 MB, free: 8.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006218/0.1509, allocations: 169.2 kB / 493.4 MB, free: 7.922 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.151, allocations: 55.41 kB / 493.4 MB, free: 7.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.1511, allocations: 142.1 kB / 493.5 MB, free: 7.703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1511, allocations: 25.7 kB / 493.6 MB, free: 7.672 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.1512, allocations: 92.14 kB / 493.7 MB, free: 7.578 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.1513, allocations: 11.81 kB / 493.7 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-06/0.1513, allocations: 0 / 493.7 MB, free: 7.566 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1514, allocations: 318.8 kB / 494 MB, free: 7.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.1515, allocations: 27.98 kB / 494 MB, free: 7.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.466e-05/0.1515, allocations: 23.98 kB / 494 MB, free: 7.195 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.312e-05/0.1516, allocations: 31.97 kB / 494.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1516, allocations: 0 / 494.1 MB, free: 7.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002036/0.1519, allocations: 101.7 kB / 494.2 MB, free: 7.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1519, allocations: 7.953 kB / 494.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1519, allocations: 0 / 494.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1519, allocations: 0 / 494.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/0.152, allocations: 19.92 kB / 494.2 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.152, allocations: 3.984 kB / 494.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.1521, allocations: 15.94 kB / 494.2 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1521, allocations: 7.984 kB / 494.2 MB, free: 7.004 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 9.634e-05/0.1522, allocations: 113.8 kB / 494.3 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.117e-05/0.1522, allocations: 7.906 kB / 494.3 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002633/0.1525, allocations: 109.8 kB / 494.4 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1525, allocations: 4 kB / 494.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1525, allocations: 3.984 kB / 494.5 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1525, allocations: 0 / 494.5 MB, free: 6.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004793/0.153, allocations: 354.6 kB / 494.8 MB, free: 6.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.153, allocations: 3.953 kB / 494.8 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.1531, allocations: 23.92 kB / 494.8 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1531, allocations: 0 / 494.8 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1531, allocations: 0 / 494.8 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1531, allocations: 4 kB / 494.8 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1531, allocations: 0 / 494.8 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.1534, allocations: 187.7 kB / 495 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.1535, allocations: 92.97 kB / 495.1 MB, free: 6.008 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.1535, allocations: 7.984 kB / 495.1 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/0.1535, allocations: 4 kB / 495.1 MB, free: 5.996 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.1536, allocations: 4 kB / 495.1 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.1536, allocations: 0 / 495.1 MB, free: 5.992 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.301e-05/0.1537, allocations: 111.2 kB / 495.2 MB, free: 5.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1537, allocations: 4 kB / 495.2 MB, free: 5.879 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002228/0.1539, allocations: 16 kB / 495.2 MB, free: 5.863 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.0008309/0.1548, allocations: 401.7 kB / 495.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.155, allocations: 59.95 kB / 495.7 MB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.155, allocations: 4 kB / 495.7 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.257e-05/0.1551, allocations: 31.98 kB / 495.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.1554, allocations: 12.23 kB / 495.7 MB, free: 5.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.1558, allocations: 222.1 kB / 496 MB, free: 5.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.1561, allocations: 0.6887 MB / 496.6 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.1561, allocations: 15.42 kB / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1561, allocations: 0 / 496.7 MB, free: 4.434 MB / 378.7 MB Notification: Performance of Templates: time 0.003116/0.1592, allocations: 1.38 MB / 498 MB, free: 3.055 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches