Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,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.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008875/0.000888, allocations: 99.02 kB / 18.01 MB, free: 5.734 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.001064/0.001064, allocations: 180.8 kB / 18.91 MB, free: 4.871 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.405/1.405, allocations: 223.3 MB / 242.9 MB, free: 108 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.2049/0.2049, allocations: 44.25 MB / 338.3 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004568/0.0004569, allocations: 12 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1306, allocations: 61.92 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002054/0.1327, allocations: 1.417 MB / 474.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1347, allocations: 1.432 MB / 475.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.881e-05/0.1348, allocations: 4 kB / 475.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.1351, allocations: 35.89 kB / 475.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001951/0.1353, allocations: 43.84 kB / 475.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.1356, allocations: 91.77 kB / 475.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1358, allocations: 99.69 kB / 476 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.1359, allocations: 12.22 kB / 476.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.786e-05/0.136, allocations: 35.8 kB / 476.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.1361, allocations: 35.78 kB / 476.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.1362, allocations: 4 kB / 476.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.1363, allocations: 55.97 kB / 476.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.1364, allocations: 19.91 kB / 476.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.1364, allocations: 49.52 kB / 476.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.1366, allocations: 92.08 kB / 476.3 MB, free: 9.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1366, allocations: 7.938 kB / 476.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1367, allocations: 0 / 476.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1367, allocations: 0 / 476.3 MB, free: 9.898 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.0004979/0.1372, allocations: 389.7 kB / 476.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1372, allocations: 11.97 kB / 476.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.1373, allocations: 12.75 kB / 476.7 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.1375, allocations: 204.2 kB / 476.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.1375, allocations: 384 / 476.9 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.1376, allocations: 12.12 kB / 477 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.1377, allocations: 71.36 kB / 477 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1377, allocations: 0 / 477 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.1378, allocations: 0 / 477 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.1378, allocations: 4 kB / 477 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.39e-05/0.1378, allocations: 23.92 kB / 477.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.1382, allocations: 284.8 kB / 477.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.1384, allocations: 58.69 kB / 477.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.1384, allocations: 20.84 kB / 477.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1385, allocations: 0 / 477.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.1386, allocations: 75.33 kB / 477.5 MB, free: 8.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1387, allocations: 4 kB / 477.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005436/0.1392, allocations: 173.2 kB / 477.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.1393, allocations: 81.11 kB / 477.7 MB, free: 8.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.1394, allocations: 152.4 kB / 477.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.1394, allocations: 25.7 kB / 477.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.212e-05/0.1395, allocations: 92.14 kB / 478 MB, free: 8.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.1395, allocations: 27.64 kB / 478 MB, free: 8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.1396, allocations: 17.72 kB / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1397, allocations: 326.8 kB / 478.4 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.537e-05/0.1398, allocations: 20 kB / 478.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.783e-05/0.1398, allocations: 46.55 kB / 478.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001094/0.14, allocations: 57.64 kB / 478.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.14, allocations: 0 / 478.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.1402, allocations: 101.6 kB / 478.6 MB, free: 7.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1402, allocations: 8 kB / 478.6 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.1402, allocations: 3.938 kB / 478.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1402, allocations: 0 / 478.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.496e-05/0.1403, allocations: 12.19 kB / 478.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.1403, allocations: 7.984 kB / 478.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.1404, allocations: 11.81 kB / 478.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.1404, allocations: 8 kB / 478.6 MB, free: 7.355 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.0001123/0.1405, allocations: 120.7 kB / 478.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.1405, allocations: 11.94 kB / 478.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.028e-05/0.1406, allocations: 16.7 kB / 478.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1406, allocations: 0 / 478.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1406, allocations: 0 / 478.8 MB, free: 7.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1406, allocations: 3.938 kB / 478.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.1411, allocations: 391.2 kB / 479.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1411, allocations: 0 / 479.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.1411, allocations: 15.92 kB / 479.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1411, allocations: 8.031 kB / 479.2 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1411, allocations: 3.938 kB / 479.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1411, allocations: 0 / 479.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1411, allocations: 0 / 479.2 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.1414, allocations: 196.5 kB / 479.4 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.1414, allocations: 89 kB / 479.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.1415, allocations: 15.94 kB / 479.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.1415, allocations: 0 / 479.5 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.1416, allocations: 7.984 kB / 479.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.1416, allocations: 4.375 kB / 479.5 MB, free: 6.383 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.883e-05/0.1417, allocations: 115.2 kB / 479.6 MB, free: 6.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.1417, allocations: 3.938 kB / 479.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.142, allocations: 31.94 kB / 479.7 MB, free: 6.234 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.001114/0.1431, allocations: 0.5057 MB / 480.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.1433, allocations: 51.98 kB / 480.2 MB, free: 5.875 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1433, allocations: 3.938 kB / 480.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.064e-05/0.1434, allocations: 31.98 kB / 480.2 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.1438, allocations: 23.98 kB / 480.3 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.1442, allocations: 243.7 kB / 480.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.1445, allocations: 0.7004 MB / 481.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.1445, allocations: 19.42 kB / 481.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1445, allocations: 0 / 481.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of Templates: time 0.003884/0.1484, allocations: 2.043 MB / 483.3 MB, free: 2.762 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches