Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007592/0.0007593, allocations: 94.53 kB / 17.35 MB, free: 6.371 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.0008123/0.0008124, allocations: 172.7 kB / 18.25 MB, free: 5.527 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.357/1.357, allocations: 223.3 MB / 242.3 MB, free: 14.45 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.197/0.197, allocations: 44.25 MB / 337.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 8.938 kB / 410.3 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1276, allocations: 61.93 MB / 472.3 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002202/0.1298, allocations: 1.413 MB / 473.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001368/0.1312, allocations: 0.8499 MB / 474.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.873e-05/0.1313, allocations: 0 / 474.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.1316, allocations: 23.91 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.1318, allocations: 47.83 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.1321, allocations: 95.77 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.1323, allocations: 87.7 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1324, allocations: 16.22 kB / 474.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.1325, allocations: 39.78 kB / 474.8 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.1326, allocations: 31.8 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1326, allocations: 0 / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.481e-05/0.1327, allocations: 43.97 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.1328, allocations: 15.92 kB / 474.9 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.1329, allocations: 57.5 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.133, allocations: 103.9 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1331, allocations: 4 kB / 475.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1331, allocations: 3.938 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1331, allocations: 0 / 475.1 MB, free: 10.44 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.0004743/0.1336, allocations: 377.5 kB / 475.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1336, allocations: 12.03 kB / 475.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.838e-05/0.1336, allocations: 16.77 kB / 475.5 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.1339, allocations: 204.7 kB / 475.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.1339, allocations: 3.938 kB / 475.7 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.1339, allocations: 8 kB / 475.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.134, allocations: 53.67 kB / 475.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.1341, allocations: 0 / 475.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.1341, allocations: 3.984 kB / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1341, allocations: 4 kB / 475.8 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.639e-05/0.1342, allocations: 15.98 kB / 475.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003687/0.1345, allocations: 280.8 kB / 476 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.1347, allocations: 66.61 kB / 476.1 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.33e-05/0.1348, allocations: 20.84 kB / 476.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.1348, allocations: 0 / 476.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.135, allocations: 75.33 kB / 476.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.135, allocations: 0 / 476.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005293/0.1355, allocations: 177.1 kB / 476.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.1356, allocations: 55.34 kB / 476.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.1357, allocations: 164.1 kB / 476.6 MB, free: 8.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1358, allocations: 25.7 kB / 476.6 MB, free: 8.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.1358, allocations: 96.14 kB / 476.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.973e-05/0.1359, allocations: 27.64 kB / 476.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.584e-05/0.1359, allocations: 13.72 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.136, allocations: 322.8 kB / 477.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.1361, allocations: 23.98 kB / 477.1 MB, free: 8.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.958e-05/0.1362, allocations: 33.7 kB / 477.1 MB, free: 8.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1363, allocations: 65.64 kB / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1363, allocations: 0 / 477.2 MB, free: 8.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001665/0.1365, allocations: 93.58 kB / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1365, allocations: 4 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1365, allocations: 8.031 kB / 477.3 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1365, allocations: 3.938 kB / 477.3 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-05/0.1366, allocations: 19.94 kB / 477.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.1366, allocations: 8.312 kB / 477.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.1367, allocations: 4.375 kB / 477.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.1367, allocations: 7.938 kB / 477.3 MB, free: 7.957 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 9.826e-05/0.1368, allocations: 117.8 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.752e-05/0.1368, allocations: 11.91 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.013e-05/0.1369, allocations: 24.64 kB / 477.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.1369, allocations: 4 kB / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1369, allocations: 0 / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1369, allocations: 0 / 477.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000401/0.1373, allocations: 391.2 kB / 477.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1373, allocations: 0 / 477.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.1374, allocations: 8 kB / 477.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1374, allocations: 0 / 477.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.1374, allocations: 7.984 kB / 477.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1374, allocations: 11.91 kB / 477.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1374, allocations: 0 / 477.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.1376, allocations: 200.2 kB / 478.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.765e-05/0.1377, allocations: 89.02 kB / 478.2 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/0.1377, allocations: 3.984 kB / 478.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.897e-05/0.1378, allocations: 7.984 kB / 478.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.1379, allocations: 8 kB / 478.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.1379, allocations: 7.984 kB / 478.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.138, allocations: 125.3 kB / 478.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.138, allocations: 0 / 478.3 MB, free: 6.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000272/0.1383, allocations: 24 kB / 478.4 MB, free: 6.828 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.001177/0.1395, allocations: 465.1 kB / 478.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001923/0.1397, allocations: 67.89 kB / 478.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1397, allocations: 0 / 478.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.198e-05/0.1398, allocations: 27.88 kB / 478.9 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1401, allocations: 34.72 kB / 478.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.1406, allocations: 222.1 kB / 479.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.1409, allocations: 0.7044 MB / 479.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.814e-05/0.141, allocations: 17.17 kB / 479.9 MB, free: 5.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.1411, allocations: 15.44 kB / 479.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1411, allocations: 0 / 479.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of Templates: time 0.004448/0.1455, allocations: 1.607 MB / 481.5 MB, free: 3.82 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches