Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002556/0.002561, allocations: 187 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.23/2.23, allocations: 205.4 MB / 222.5 MB, free: 13.75 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.001165/0.001164, allocations: 102.8 kB / 270.9 MB, free: 13.27 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.2881/0.2881, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.000464, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.123, allocations: 58.86 MB / 490.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002454/0.1255, allocations: 1.248 MB / 491.5 MB, free: 8.074 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008269/0.1264, allocations: 279.9 kB / 491.7 MB, free: 7.797 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.414e-05/0.1265, allocations: 4 kB / 491.7 MB, free: 7.793 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.1269, allocations: 123.7 kB / 491.9 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.1271, allocations: 71.84 kB / 491.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.1275, allocations: 72.41 kB / 492 MB, free: 7.531 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.1277, allocations: 47.92 kB / 492.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1278, allocations: 15.94 kB / 492.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.996e-05/0.1279, allocations: 39.88 kB / 492.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.128, allocations: 55.88 kB / 492.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.128, allocations: 0 / 492.2 MB, free: 7.375 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.189e-05/0.1282, allocations: 15.98 kB / 492.2 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.1282, allocations: 23.92 kB / 492.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.854e-05/0.1283, allocations: 37.64 kB / 492.2 MB, free: 7.293 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001861/0.1285, allocations: 83.75 kB / 492.3 MB, free: 7.211 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.1285, allocations: 0 / 492.3 MB, free: 7.211 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1285, allocations: 4 kB / 492.3 MB, free: 7.207 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1285, allocations: 0 / 492.3 MB, free: 7.207 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.0006043/0.1291, allocations: 407 kB / 492.7 MB, free: 6.762 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.1292, allocations: 16.02 kB / 492.7 MB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.1293, allocations: 19.75 kB / 492.8 MB, free: 6.727 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.1295, allocations: 194.8 kB / 492.9 MB, free: 6.496 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1295, allocations: 4 kB / 492.9 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.1296, allocations: 4 kB / 493 MB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.1298, allocations: 53.67 kB / 493 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1298, allocations: 0 / 493 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1298, allocations: 0 / 493 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1298, allocations: 0 / 493 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.13, allocations: 27.92 kB / 493 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.1305, allocations: 296.8 kB / 493.3 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.1308, allocations: 38.56 kB / 493.4 MB, free: 6.016 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.1308, allocations: 4 kB / 493.4 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.1309, allocations: 38.5 kB / 493.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.545e-06/0.1309, allocations: 0 / 493.4 MB, free: 5.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008511/0.1317, allocations: 165.2 kB / 493.6 MB, free: 5.797 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.1318, allocations: 59.34 kB / 493.6 MB, free: 5.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/0.1322, allocations: 267.2 kB / 493.9 MB, free: 5.453 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1322, allocations: 29.64 kB / 493.9 MB, free: 5.418 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.1324, allocations: 170.6 kB / 494.1 MB, free: 5.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.1324, allocations: 15.8 kB / 494.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.1324, allocations: 0 / 494.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1326, allocations: 314.8 kB / 494.4 MB, free: 4.918 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.1327, allocations: 19.98 kB / 494.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1328, allocations: 27.98 kB / 494.4 MB, free: 4.871 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.133, allocations: 19.98 kB / 494.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.133, allocations: 0 / 494.5 MB, free: 4.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003279/0.1333, allocations: 81.86 kB / 494.5 MB, free: 4.766 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1333, allocations: 4 kB / 494.6 MB, free: 4.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1334, allocations: 8.062 kB / 494.6 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.1334, allocations: 0 / 494.6 MB, free: 4.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.1335, allocations: 23.88 kB / 494.6 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1336, allocations: 0 / 494.6 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.01e-05/0.1336, allocations: 4 kB / 494.6 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.1337, allocations: 3.984 kB / 494.6 MB, free: 4.723 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.0001499/0.1338, allocations: 137.8 kB / 494.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.1339, allocations: 15.81 kB / 494.7 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.1343, allocations: 102.6 kB / 494.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.1343, allocations: 0 / 494.8 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1344, allocations: 3.953 kB / 494.8 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.1344, allocations: 8.281 kB / 494.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000676/0.1351, allocations: 362.4 kB / 495.2 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1351, allocations: 4 kB / 495.2 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.1352, allocations: 11.98 kB / 495.2 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.1352, allocations: 11.98 kB / 495.2 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1353, allocations: 7.953 kB / 495.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.1353, allocations: 0 / 495.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1353, allocations: 0 / 495.2 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.1357, allocations: 191.3 kB / 495.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.459e-05/0.1358, allocations: 92.92 kB / 495.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.1358, allocations: 192 / 495.5 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.1359, allocations: 15.95 kB / 495.5 MB, free: 3.676 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.136, allocations: 3.984 kB / 495.5 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.136, allocations: 7.938 kB / 495.5 MB, free: 3.664 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002794/0.1363, allocations: 203.4 kB / 495.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1363, allocations: 0 / 495.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.1366, allocations: 20 kB / 495.8 MB, free: 3.445 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.00118/0.1378, allocations: 401.3 kB / 496.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003848/0.1383, allocations: 55.91 kB / 496.2 MB, free: 3.047 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1383, allocations: 0 / 496.2 MB, free: 3.047 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.1384, allocations: 27.98 kB / 496.2 MB, free: 3.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/0.1388, allocations: 16.17 kB / 496.3 MB, free: 3.004 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007284/0.1395, allocations: 311.8 kB / 496.6 MB, free: 2.664 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.1399, allocations: 0.716 MB / 497.3 MB, free: 1.922 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.14, allocations: 15.44 kB / 497.3 MB, free: 1.906 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.14, allocations: 0 / 497.3 MB, free: 1.906 MB / 330.7 MB Notification: Performance of Templates: time 0.005169/0.1452, allocations: 1.613 MB / 498.9 MB, free: 304 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches