Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.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.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001646/0.001646, allocations: 189.2 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.108/2.108, 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.001129/0.001129, allocations: 98.84 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.3124/0.3124, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006507/0.000651, allocations: 15.98 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1287, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002639/0.1314, allocations: 1.379 MB / 491.6 MB, free: 7.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1333, allocations: 0.7384 MB / 492.3 MB, free: 7.203 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.564e-05/0.1334, allocations: 7.875 kB / 492.4 MB, free: 7.195 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.1337, allocations: 27.84 kB / 492.4 MB, free: 7.168 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000246/0.134, allocations: 43.88 kB / 492.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.1344, allocations: 71.78 kB / 492.5 MB, free: 7.055 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.1346, allocations: 63.86 kB / 492.6 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1347, allocations: 8.234 kB / 492.6 MB, free: 6.984 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.1348, allocations: 43.83 kB / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.1349, allocations: 23.84 kB / 492.6 MB, free: 6.918 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.1349, allocations: 4 kB / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.1351, allocations: 27.94 kB / 492.7 MB, free: 6.887 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.1351, allocations: 15.92 kB / 492.7 MB, free: 6.871 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.111e-05/0.1352, allocations: 45.62 kB / 492.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1354, allocations: 88.09 kB / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1354, allocations: 0 / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1354, allocations: 0 / 492.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1355, allocations: 0 / 492.8 MB, free: 6.734 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006561/0.1361, allocations: 402.9 kB / 493.2 MB, free: 6.293 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1362, allocations: 12.02 kB / 493.2 MB, free: 6.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.1362, allocations: 15.77 kB / 493.2 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.1366, allocations: 203.6 kB / 493.4 MB, free: 6.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.1366, allocations: 4 kB / 493.4 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.1367, allocations: 4 kB / 493.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.1369, allocations: 53.61 kB / 493.5 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1369, allocations: 4 kB / 493.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.137, allocations: 11.98 kB / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.137, allocations: 0 / 493.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.1371, allocations: 19.94 kB / 493.5 MB, free: 5.926 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.1376, allocations: 284.9 kB / 493.8 MB, free: 5.598 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.1378, allocations: 58.62 kB / 493.9 MB, free: 5.531 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.1379, allocations: 7.984 kB / 493.9 MB, free: 5.523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.1381, allocations: 63.5 kB / 493.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 2.374e-06/0.1381, allocations: 0 / 493.9 MB, free: 5.449 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007725/0.1389, allocations: 173.2 kB / 494.1 MB, free: 5.273 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.139, allocations: 51.41 kB / 494.1 MB, free: 5.211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/0.1393, allocations: 199.3 kB / 494.3 MB, free: 5.008 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.1393, allocations: 37.69 kB / 494.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.957e-05/0.1395, allocations: 162.5 kB / 494.5 MB, free: 4.805 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.1395, allocations: 15.81 kB / 494.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/0.1395, allocations: 4 kB / 494.6 MB, free: 4.785 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1397, allocations: 318.8 kB / 494.9 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-05/0.1398, allocations: 16 kB / 494.9 MB, free: 4.449 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.1399, allocations: 45.58 kB / 494.9 MB, free: 4.398 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001038/0.14, allocations: 24 kB / 495 MB, free: 4.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.14, allocations: 0 / 495 MB, free: 4.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000303/0.1403, allocations: 97.56 kB / 495 MB, free: 4.273 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/0.1404, allocations: 19.31 kB / 495.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1404, allocations: 0 / 495.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/0.1405, allocations: 3.953 kB / 495.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1406, allocations: 15.98 kB / 495.1 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.1406, allocations: 4.375 kB / 495.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.086e-05/0.1407, allocations: 0 / 495.1 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.1408, allocations: 8.031 kB / 495.1 MB, free: 4.227 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001498/0.1409, allocations: 127.9 kB / 495.2 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.141, allocations: 15.91 kB / 495.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.145e-05/0.141, allocations: 13.41 kB / 495.3 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.141, allocations: 3.953 kB / 495.3 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1411, allocations: 4 kB / 495.3 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.1411, allocations: 3.984 kB / 495.3 MB, free: 4.051 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.1418, allocations: 395.2 kB / 495.7 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.1418, allocations: 0 / 495.7 MB, free: 3.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.209e-05/0.1419, allocations: 11.94 kB / 495.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/0.1419, allocations: 7.953 kB / 495.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1419, allocations: 0 / 495.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.142, allocations: 0 / 495.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.142, allocations: 4 kB / 495.7 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.1423, allocations: 210 kB / 495.9 MB, free: 3.352 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.1424, allocations: 96.88 kB / 496 MB, free: 3.238 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.443e-05/0.1425, allocations: 4 kB / 496 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.1426, allocations: 3.984 kB / 496 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.1427, allocations: 4 kB / 496 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.1427, allocations: 4 kB / 496 MB, free: 3.223 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001972/0.1429, allocations: 156.8 kB / 496.1 MB, free: 3.07 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.1429, allocations: 4 kB / 496.1 MB, free: 3.066 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003742/0.1433, allocations: 23.98 kB / 496.2 MB, free: 3.043 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001415/0.1447, allocations: 473.6 kB / 496.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003111/0.1451, allocations: 55.92 kB / 496.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1451, allocations: 0 / 496.7 MB, free: 2.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.1452, allocations: 27.98 kB / 496.7 MB, free: 2.543 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1456, allocations: 23.97 kB / 496.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/0.1463, allocations: 276.2 kB / 497 MB, free: 2.215 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.1467, allocations: 0.716 MB / 497.7 MB, free: 1.473 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.255e-05/0.1468, allocations: 19.42 kB / 497.7 MB, free: 1.453 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.1468, allocations: 0 / 497.7 MB, free: 1.453 MB / 330.7 MB Notification: Performance of Templates: time 0.005779/0.1526, allocations: 1.904 MB / 499.6 MB, free: 15.55 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches