Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 112.9 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 193.3 kB / 18.25 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.222/0.222, allocations: 44.18 MB / 336.2 MB, free: 2.973 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.94 kB / 407.9 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1261, allocations: 60.83 MB / 468.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003225/0.1294, allocations: 1.745 MB / 470.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.1309, allocations: 0.8692 MB / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.131, allocations: 0 / 471.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.1313, allocations: 31.89 kB / 471.4 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.1315, allocations: 51.77 kB / 471.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.1318, allocations: 87.84 kB / 471.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.132, allocations: 103.7 kB / 471.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1321, allocations: 8.234 kB / 471.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.121e-05/0.1322, allocations: 43.8 kB / 471.7 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.1323, allocations: 31.78 kB / 471.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.1323, allocations: 4 kB / 471.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.343e-05/0.1324, allocations: 47.97 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.1325, allocations: 15.94 kB / 471.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.1325, allocations: 35.78 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.1327, allocations: 107.9 kB / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1327, allocations: 0 / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1327, allocations: 0 / 471.9 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1328, allocations: 4 kB / 471.9 MB, free: 11.57 MB / 350.1 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.0005435/0.1333, allocations: 410.9 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1333, allocations: 15.97 kB / 472.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.1334, allocations: 12.84 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.1336, allocations: 205.8 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.1336, allocations: 4.375 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.1337, allocations: 4.125 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1338, allocations: 53.67 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1338, allocations: 4 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1339, allocations: 4 kB / 472.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1339, allocations: 0 / 472.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.063e-05/0.134, allocations: 19.92 kB / 472.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.1343, allocations: 288.8 kB / 472.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1345, allocations: 58.67 kB / 473 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.1346, allocations: 24.84 kB / 473 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1346, allocations: 0 / 473 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.1348, allocations: 67.33 kB / 473.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1348, allocations: 0 / 473.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005387/0.1353, allocations: 169.2 kB / 473.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1354, allocations: 59.41 kB / 473.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.1355, allocations: 169.9 kB / 473.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.1356, allocations: 29.7 kB / 473.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.1356, allocations: 96.12 kB / 473.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.1357, allocations: 27.64 kB / 473.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.26e-05/0.1357, allocations: 33.7 kB / 473.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1358, allocations: 326.8 kB / 473.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.1359, allocations: 16 kB / 474 MB, free: 9.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.452e-05/0.136, allocations: 37.7 kB / 474 MB, free: 9.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1361, allocations: 65.7 kB / 474.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1361, allocations: 0 / 474.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001764/0.1363, allocations: 101.5 kB / 474.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1363, allocations: 4 kB / 474.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.1363, allocations: 0 / 474.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1363, allocations: 11.92 kB / 474.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.18e-05/0.1364, allocations: 19.97 kB / 474.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1365, allocations: 0 / 474.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.1365, allocations: 8.312 kB / 474.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1365, allocations: 0 / 474.2 MB, free: 9.039 MB / 350.1 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.1366, allocations: 126 kB / 474.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.1367, allocations: 11.91 kB / 474.3 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.371e-05/0.1367, allocations: 20.64 kB / 474.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1367, allocations: 0 / 474.4 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1367, allocations: 4 kB / 474.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1367, allocations: 7.938 kB / 474.4 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.1372, allocations: 383.3 kB / 474.7 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1372, allocations: 4 kB / 474.7 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.1372, allocations: 12 kB / 474.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1372, allocations: 3.938 kB / 474.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1373, allocations: 3.938 kB / 474.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1373, allocations: 0 / 474.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1373, allocations: 4 kB / 474.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/0.1375, allocations: 208.2 kB / 475 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.1376, allocations: 89 kB / 475.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.1376, allocations: 7.938 kB / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.98e-05/0.1377, allocations: 0 / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.1377, allocations: 7.984 kB / 475.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.1377, allocations: 12 kB / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001076/0.1379, allocations: 131.1 kB / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1379, allocations: 0 / 475.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1381, allocations: 23.98 kB / 475.2 MB, free: 7.891 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.1393, allocations: 466.5 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.1396, allocations: 67.88 kB / 475.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1396, allocations: 0 / 475.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.523e-05/0.1397, allocations: 28 kB / 475.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.1401, allocations: 35.84 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004927/0.1406, allocations: 234.9 kB / 476.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.1409, allocations: 0.7041 MB / 476.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.452e-05/0.141, allocations: 16.88 kB / 476.8 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.141, allocations: 15.44 kB / 476.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.141, allocations: 0 / 476.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of Templates: time 0.004534/0.1456, allocations: 1.678 MB / 478.5 MB, free: 4.801 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches