Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002615/0.002614, allocations: 185.3 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.241/2.241, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.00115/0.00115, allocations: 104.4 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.5236/0.5236, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006531/0.0006532, allocations: 12 kB / 431.4 MB, free: 5.934 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1313, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.00249/0.1338, allocations: 1.255 MB / 491.5 MB, free: 9.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00081/0.1347, allocations: 283.8 kB / 491.7 MB, free: 9.449 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.1348, allocations: 0 / 491.7 MB, free: 9.449 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.135, allocations: 15.88 kB / 491.8 MB, free: 9.434 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001768/0.1352, allocations: 23.91 kB / 491.8 MB, free: 9.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.1356, allocations: 67.84 kB / 491.9 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001626/0.1357, allocations: 39.89 kB / 491.9 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.1359, allocations: 11.97 kB / 491.9 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.034e-05/0.136, allocations: 19.92 kB / 491.9 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.136, allocations: 15.86 kB / 491.9 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1361, allocations: 0 / 491.9 MB, free: 9.258 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1362, allocations: 19.98 kB / 492 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.1362, allocations: 8 kB / 492 MB, free: 9.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.1363, allocations: 37.64 kB / 492 MB, free: 9.188 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.1365, allocations: 51.92 kB / 492.1 MB, free: 9.137 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.1365, allocations: 3.938 kB / 492.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.848e-06/0.1365, allocations: 4 kB / 492.1 MB, free: 9.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1365, allocations: 0 / 492.1 MB, free: 9.129 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.0005756/0.1371, allocations: 363.4 kB / 492.4 MB, free: 8.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.1371, allocations: 12.02 kB / 492.4 MB, free: 8.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.93e-05/0.1372, allocations: 11.86 kB / 492.4 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.1375, allocations: 194.8 kB / 492.6 MB, free: 8.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1375, allocations: 4 kB / 492.6 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.1375, allocations: 4 kB / 492.6 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1377, allocations: 49.69 kB / 492.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1378, allocations: 0 / 492.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1378, allocations: 0 / 492.7 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1378, allocations: 4 kB / 492.7 MB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.1379, allocations: 27.94 kB / 492.7 MB, free: 8.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.1384, allocations: 273 kB / 493 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002611/0.1387, allocations: 42.5 kB / 493 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1387, allocations: 0 / 493 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.1388, allocations: 38.56 kB / 493.1 MB, free: 7.965 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.1388, allocations: 0 / 493.1 MB, free: 7.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008274/0.1396, allocations: 161.3 kB / 493.2 MB, free: 7.801 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.1397, allocations: 55.41 kB / 493.3 MB, free: 7.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1399, allocations: 145.9 kB / 493.4 MB, free: 7.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.1399, allocations: 25.7 kB / 493.4 MB, free: 7.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.572e-05/0.14, allocations: 162.5 kB / 493.6 MB, free: 7.391 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.14, allocations: 11.81 kB / 493.6 MB, free: 7.379 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.14, allocations: 3.938 kB / 493.6 MB, free: 7.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1402, allocations: 314.8 kB / 493.9 MB, free: 7.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1403, allocations: 23.98 kB / 493.9 MB, free: 7.035 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.1404, allocations: 27.97 kB / 494 MB, free: 7.008 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1406, allocations: 19.94 kB / 494 MB, free: 6.988 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1406, allocations: 4 kB / 494 MB, free: 6.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003521/0.141, allocations: 85.56 kB / 494.1 MB, free: 6.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.141, allocations: 11.95 kB / 494.1 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.141, allocations: 0 / 494.1 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.141, allocations: 0 / 494.1 MB, free: 6.883 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1412, allocations: 12 kB / 494.1 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1412, allocations: 0 / 494.1 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.6e-05/0.1413, allocations: 11.98 kB / 494.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.1413, allocations: 4 kB / 494.1 MB, free: 6.855 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.0001095/0.1414, allocations: 113.8 kB / 494.2 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.373e-05/0.1415, allocations: 0 / 494.2 MB, free: 6.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.1419, allocations: 117.7 kB / 494.3 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1419, allocations: 0 / 494.3 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.1419, allocations: 0 / 494.3 MB, free: 6.613 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1419, allocations: 3.984 kB / 494.3 MB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006289/0.1425, allocations: 350.9 kB / 494.7 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1426, allocations: 8 kB / 494.7 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.1427, allocations: 15.95 kB / 494.7 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1427, allocations: 0 / 494.7 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1427, allocations: 0 / 494.7 MB, free: 6.188 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.1428, allocations: 3.984 kB / 494.7 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1428, allocations: 0 / 494.7 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.1431, allocations: 183.7 kB / 494.9 MB, free: 5.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.1432, allocations: 89.02 kB / 495 MB, free: 5.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1432, allocations: 7.938 kB / 495 MB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.1433, allocations: 4 kB / 495 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.1434, allocations: 7.984 kB / 495 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.1434, allocations: 3.984 kB / 495 MB, free: 5.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1436, allocations: 115.2 kB / 495.1 MB, free: 5.746 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1436, allocations: 0 / 495.1 MB, free: 5.746 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000341/0.1439, allocations: 12 kB / 495.1 MB, free: 5.734 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.001431/0.1454, allocations: 405.2 kB / 495.5 MB, free: 5.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003613/0.1458, allocations: 55.97 kB / 495.6 MB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1458, allocations: 0 / 495.6 MB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.1459, allocations: 31.92 kB / 495.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.1463, allocations: 11.98 kB / 495.6 MB, free: 5.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005285/0.1468, allocations: 206.2 kB / 495.8 MB, free: 5.047 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1471, allocations: 0.6965 MB / 496.5 MB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.1472, allocations: 11.44 kB / 496.5 MB, free: 4.312 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1472, allocations: 3.938 kB / 496.5 MB, free: 4.309 MB / 378.7 MB Notification: Performance of Templates: time 0.1352/0.2824, allocations: 1.349 MB / 497.9 MB, free: 2.961 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches