Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,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.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,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.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009085/0.0009086, allocations: 91.7 kB / 17.35 MB, free: 6.375 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.001072/0.001072, allocations: 175.7 kB / 18.25 MB, free: 5.523 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.415/1.415, allocations: 223.3 MB / 242.3 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2059/0.2059, allocations: 44.25 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 16 kB / 410.3 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.127, allocations: 61.92 MB / 472.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.001957/0.129, allocations: 1.413 MB / 473.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.1309, allocations: 1.425 MB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.451e-05/0.131, allocations: 7.938 kB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.1313, allocations: 35.89 kB / 475.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.1315, allocations: 51.83 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.1317, allocations: 94.16 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.1319, allocations: 91.67 kB / 475.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.049e-05/0.132, allocations: 12.23 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.032e-05/0.1321, allocations: 35.8 kB / 475.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.1322, allocations: 39.83 kB / 475.5 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1323, allocations: 4 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1324, allocations: 55.92 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.1324, allocations: 19.91 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.1325, allocations: 53.5 kB / 475.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001904/0.1327, allocations: 116 kB / 475.7 MB, free: 9.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1327, allocations: 3.938 kB / 475.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1327, allocations: 0 / 475.7 MB, free: 9.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1327, allocations: 3.938 kB / 475.7 MB, free: 9.871 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.000492/0.1332, allocations: 383.3 kB / 476.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.1333, allocations: 12.03 kB / 476.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.556e-05/0.1333, allocations: 12.75 kB / 476.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1336, allocations: 210.7 kB / 476.3 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.1336, allocations: 8.375 kB / 476.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1336, allocations: 4.125 kB / 476.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1338, allocations: 67.39 kB / 476.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1338, allocations: 0 / 476.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.1338, allocations: 4 kB / 476.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.1338, allocations: 0 / 476.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.113e-05/0.1339, allocations: 27.92 kB / 476.4 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.1342, allocations: 280.8 kB / 476.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.1344, allocations: 58.67 kB / 476.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.031e-05/0.1345, allocations: 24.84 kB / 476.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1345, allocations: 0 / 476.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.1347, allocations: 67.33 kB / 476.9 MB, free: 8.566 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1347, allocations: 7.938 kB / 476.9 MB, free: 8.559 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005185/0.1352, allocations: 169.2 kB / 477 MB, free: 8.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.1353, allocations: 85.11 kB / 477.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.1354, allocations: 145.8 kB / 477.3 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.1354, allocations: 29.7 kB / 477.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.754e-05/0.1355, allocations: 96.12 kB / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1355, allocations: 23.7 kB / 477.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.1356, allocations: 17.7 kB / 477.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1357, allocations: 326.8 kB / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.338e-05/0.1357, allocations: 20 kB / 477.8 MB, free: 7.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.1358, allocations: 42.56 kB / 477.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.1359, allocations: 61.64 kB / 477.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1359, allocations: 0 / 477.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00017/0.1361, allocations: 93.59 kB / 477.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1361, allocations: 7.984 kB / 478 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1361, allocations: 0 / 478 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1361, allocations: 4 kB / 478 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.191e-05/0.1362, allocations: 16.12 kB / 478 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1362, allocations: 8.203 kB / 478 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.1363, allocations: 15.81 kB / 478 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.1363, allocations: 11.98 kB / 478 MB, free: 7.328 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 8.912e-05/0.1364, allocations: 113.8 kB / 478.1 MB, free: 7.207 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.1364, allocations: 7.906 kB / 478.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.1365, allocations: 12.72 kB / 478.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1365, allocations: 11.97 kB / 478.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1365, allocations: 0 / 478.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1365, allocations: 7.938 kB / 478.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.1369, allocations: 391.6 kB / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1369, allocations: 0 / 478.5 MB, free: 6.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.23e-05/0.137, allocations: 12 kB / 478.6 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.137, allocations: 3.938 kB / 478.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.137, allocations: 11.92 kB / 478.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.137, allocations: 0 / 478.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.137, allocations: 0 / 478.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.1372, allocations: 200.3 kB / 478.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.1373, allocations: 85.02 kB / 478.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.1373, allocations: 15.86 kB / 478.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.1374, allocations: 4 kB / 478.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.1374, allocations: 4 kB / 478.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.1374, allocations: 3.984 kB / 478.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.685e-05/0.1375, allocations: 121.5 kB / 479 MB, free: 6.234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1375, allocations: 0 / 479 MB, free: 6.234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.1378, allocations: 31.98 kB / 479 MB, free: 6.203 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.001131/0.1389, allocations: 499.8 kB / 479.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001701/0.1391, allocations: 59.95 kB / 479.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1391, allocations: 0 / 479.6 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.1392, allocations: 35.86 kB / 479.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1395, allocations: 36.05 kB / 479.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/0.14, allocations: 206 kB / 479.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1402, allocations: 0.6965 MB / 480.5 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.476e-05/0.1403, allocations: 24.8 kB / 480.6 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.1403, allocations: 23.42 kB / 480.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1404, allocations: 0 / 480.6 MB, free: 4.773 MB / 350.1 MB Notification: Performance of Templates: time 0.004435/0.1448, allocations: 1.879 MB / 482.5 MB, free: 2.91 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches