Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001517, allocations: 184.4 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, 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.001154/0.001154, allocations: 97.73 kB / 270.9 MB, free: 8.359 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.5329/0.5329, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.0004851, allocations: 12 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1316, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.002445/0.1341, allocations: 1.259 MB / 491.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1359, allocations: 0.8712 MB / 492.3 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.136, allocations: 3.938 kB / 492.3 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.1363, allocations: 15.98 kB / 492.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.1365, allocations: 35.83 kB / 492.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.1369, allocations: 75.84 kB / 492.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.137, allocations: 39.89 kB / 492.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1371, allocations: 11.97 kB / 492.5 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.489e-05/0.1372, allocations: 19.92 kB / 492.5 MB, free: 8.883 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.1374, allocations: 11.94 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1374, allocations: 4 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.1376, allocations: 39.84 kB / 492.6 MB, free: 8.828 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.495e-05/0.1376, allocations: 15.98 kB / 492.6 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.895e-05/0.1377, allocations: 33.64 kB / 492.6 MB, free: 8.773 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.1379, allocations: 59.91 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1379, allocations: 4 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.19e-06/0.1379, allocations: 0 / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.1379, allocations: 3.938 kB / 492.7 MB, free: 8.707 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.0005542/0.1385, allocations: 371.4 kB / 493.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1385, allocations: 16.02 kB / 493.1 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.1386, allocations: 7.859 kB / 493.1 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1389, allocations: 191 kB / 493.3 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.1389, allocations: 4 kB / 493.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1389, allocations: 0 / 493.3 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.1391, allocations: 71.33 kB / 493.4 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1392, allocations: 3.906 kB / 493.4 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1392, allocations: 0 / 493.4 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.1392, allocations: 0 / 493.4 MB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.1394, allocations: 31.94 kB / 493.4 MB, free: 7.926 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004857/0.1399, allocations: 277 kB / 493.7 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.1402, allocations: 54.5 kB / 493.7 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1402, allocations: 0 / 493.7 MB, free: 7.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.1402, allocations: 34.56 kB / 493.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.372e-06/0.1403, allocations: 0 / 493.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008446/0.1411, allocations: 165.4 kB / 493.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.1412, allocations: 81.11 kB / 494 MB, free: 7.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.1414, allocations: 133.8 kB / 494.1 MB, free: 7.094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1414, allocations: 25.7 kB / 494.1 MB, free: 7.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.401e-05/0.1415, allocations: 162.4 kB / 494.3 MB, free: 6.902 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.1416, allocations: 19.69 kB / 494.3 MB, free: 6.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/0.1416, allocations: 4 kB / 494.3 MB, free: 6.879 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1417, allocations: 318.8 kB / 494.6 MB, free: 6.559 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1419, allocations: 23.98 kB / 494.7 MB, free: 6.535 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.142, allocations: 37.7 kB / 494.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1422, allocations: 32.02 kB / 494.7 MB, free: 6.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1422, allocations: 0 / 494.7 MB, free: 6.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003314/0.1425, allocations: 93.78 kB / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1426, allocations: 4 kB / 494.8 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1426, allocations: 3.953 kB / 494.8 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.1426, allocations: 4 kB / 494.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.1428, allocations: 15.98 kB / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1428, allocations: 0 / 494.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.512e-05/0.1429, allocations: 8 kB / 494.9 MB, free: 6.328 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.1429, allocations: 4 kB / 494.9 MB, free: 6.324 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.0001246/0.143, allocations: 117.8 kB / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.1431, allocations: 7.906 kB / 495 MB, free: 6.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.1435, allocations: 105.6 kB / 495.1 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.1435, allocations: 3.953 kB / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.1435, allocations: 0 / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1435, allocations: 0 / 495.1 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006832/0.1442, allocations: 362.5 kB / 495.4 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1442, allocations: 0 / 495.4 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1444, allocations: 19.92 kB / 495.5 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.1444, allocations: 3.953 kB / 495.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1444, allocations: 0 / 495.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1444, allocations: 0 / 495.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1444, allocations: 4 kB / 495.5 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.1448, allocations: 187.6 kB / 495.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.1449, allocations: 89.06 kB / 495.7 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.1449, allocations: 11.95 kB / 495.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.145, allocations: 8 kB / 495.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.1451, allocations: 4.266 kB / 495.8 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1451, allocations: 4 kB / 495.8 MB, free: 5.309 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.1453, allocations: 99.27 kB / 495.9 MB, free: 5.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1453, allocations: 7.938 kB / 495.9 MB, free: 5.203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003614/0.1456, allocations: 20 kB / 495.9 MB, free: 5.184 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.001325/0.147, allocations: 444.2 kB / 496.3 MB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000346/0.1473, allocations: 59.95 kB / 496.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1474, allocations: 0 / 496.4 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.1475, allocations: 31.98 kB / 496.4 MB, free: 4.707 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.1479, allocations: 19.92 kB / 496.4 MB, free: 4.688 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.1484, allocations: 202.4 kB / 496.6 MB, free: 4.453 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.1487, allocations: 0.7004 MB / 497.3 MB, free: 3.727 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.853e-05/0.1488, allocations: 11.44 kB / 497.3 MB, free: 3.719 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1488, allocations: 0 / 497.3 MB, free: 3.719 MB / 378.7 MB Notification: Performance of Templates: time 0.004928/0.1538, allocations: 1.599 MB / 498.9 MB, free: 2.121 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches