Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001602/0.001601, allocations: 188.3 kB / 16.4 MB, free: 5.625 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.06/2.06, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001156/0.001156, allocations: 94.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2916/0.2916, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004649, allocations: 19.98 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1216, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003362/0.125, allocations: 1.252 MB / 491.5 MB, free: 8.078 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.1276, allocations: 0.8635 MB / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.568e-05/0.1277, allocations: 7.938 kB / 492.3 MB, free: 7.199 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.128, allocations: 23.91 kB / 492.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.1283, allocations: 31.84 kB / 492.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.1288, allocations: 59.91 kB / 492.5 MB, free: 7.086 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.129, allocations: 35.89 kB / 492.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.1291, allocations: 8 kB / 492.5 MB, free: 7.043 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.992e-05/0.1292, allocations: 15.92 kB / 492.5 MB, free: 7.027 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.1294, allocations: 19.92 kB / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.1295, allocations: 7.938 kB / 492.5 MB, free: 7 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000199/0.1297, allocations: 31.92 kB / 492.6 MB, free: 6.969 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.1298, allocations: 11.98 kB / 492.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.924e-05/0.1298, allocations: 33.64 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.1301, allocations: 67.89 kB / 492.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1301, allocations: 0 / 492.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1301, allocations: 0 / 492.7 MB, free: 6.852 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1302, allocations: 0 / 492.7 MB, free: 6.852 MB / 330.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.0007244/0.1309, allocations: 375.5 kB / 493.1 MB, free: 6.438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.131, allocations: 12.02 kB / 493.1 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.1311, allocations: 11.86 kB / 493.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.1314, allocations: 182.9 kB / 493.3 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1314, allocations: 3.984 kB / 493.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.1315, allocations: 8 kB / 493.3 MB, free: 6.184 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.1318, allocations: 63.33 kB / 493.3 MB, free: 6.109 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1318, allocations: 4 kB / 493.3 MB, free: 6.105 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.1319, allocations: 4 kB / 493.3 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.1319, allocations: 0 / 493.3 MB, free: 6.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002136/0.1321, allocations: 27.98 kB / 493.4 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.1328, allocations: 268.9 kB / 493.6 MB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.1331, allocations: 46.5 kB / 493.7 MB, free: 5.707 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.1332, allocations: 4 kB / 493.7 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.1333, allocations: 34.56 kB / 493.7 MB, free: 5.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.036e-06/0.1333, allocations: 0 / 493.7 MB, free: 5.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001186/0.1345, allocations: 153.4 kB / 493.9 MB, free: 5.504 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/0.1346, allocations: 77.11 kB / 493.9 MB, free: 5.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002708/0.1349, allocations: 141.7 kB / 494.1 MB, free: 5.262 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.135, allocations: 25.7 kB / 494.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1351, allocations: 162.5 kB / 494.3 MB, free: 5.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.1351, allocations: 23.73 kB / 494.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-06/0.1352, allocations: 3.938 kB / 494.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.1353, allocations: 310.8 kB / 494.6 MB, free: 4.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.1355, allocations: 23.98 kB / 494.6 MB, free: 4.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.1357, allocations: 37.7 kB / 494.6 MB, free: 4.664 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1359, allocations: 27.92 kB / 494.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1359, allocations: 0 / 494.7 MB, free: 4.637 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004076/0.1363, allocations: 85.61 kB / 494.8 MB, free: 4.547 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1364, allocations: 8.031 kB / 494.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.1364, allocations: 0 / 494.8 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.1364, allocations: 3.984 kB / 494.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.1366, allocations: 15.95 kB / 494.8 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1366, allocations: 0 / 494.8 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.1367, allocations: 7.984 kB / 494.8 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.1368, allocations: 4 kB / 494.8 MB, free: 4.508 MB / 330.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.0001549/0.1369, allocations: 117.8 kB / 494.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/0.137, allocations: 7.906 kB / 494.9 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004658/0.1375, allocations: 93.56 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1375, allocations: 0 / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.1375, allocations: 3.953 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.1376, allocations: 0 / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009558/0.1385, allocations: 358.9 kB / 495.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.1386, allocations: 0 / 495.4 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.1388, allocations: 19.92 kB / 495.4 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.1388, allocations: 0 / 495.4 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/0.1388, allocations: 7.953 kB / 495.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1388, allocations: 0 / 495.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1389, allocations: 0 / 495.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005422/0.1394, allocations: 179.4 kB / 495.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.871e-05/0.1396, allocations: 93 kB / 495.7 MB, free: 3.539 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.691e-05/0.1396, allocations: 4 kB / 495.7 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.1398, allocations: 7.953 kB / 495.7 MB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.05e-05/0.1399, allocations: 7.984 kB / 495.7 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.1399, allocations: 0 / 495.7 MB, free: 3.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000174/0.1401, allocations: 99.27 kB / 495.8 MB, free: 3.422 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.1401, allocations: 4 kB / 495.8 MB, free: 3.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006047/0.1408, allocations: 27.92 kB / 495.8 MB, free: 3.391 MB / 330.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.001983/0.1428, allocations: 449.8 kB / 496.2 MB, free: 2.996 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005518/0.1434, allocations: 51.97 kB / 496.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.1434, allocations: 7.938 kB / 496.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001979/0.1436, allocations: 27.98 kB / 496.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.1441, allocations: 15.94 kB / 496.3 MB, free: 2.895 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007618/0.1449, allocations: 198.5 kB / 496.5 MB, free: 2.668 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.1453, allocations: 0.6965 MB / 497.2 MB, free: 1.945 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.1455, allocations: 11.44 kB / 497.2 MB, free: 1.934 MB / 330.7 MB Notification: Performance of SimCode: time 1.113e-06/0.1455, allocations: 0 / 497.2 MB, free: 1.934 MB / 330.7 MB Notification: Performance of Templates: time 0.006699/0.1522, allocations: 1.567 MB / 498.8 MB, free: 376 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches