Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 108.3 kB / 18.4 MB, free: 4.699 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.001791/0.001791, allocations: 191 kB / 19.34 MB, free: 3.766 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.362/1.362, allocations: 222.9 MB / 243 MB, free: 15.15 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.1944/0.1944, allocations: 44.17 MB / 337.4 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 65.34 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1235, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003453/0.127, allocations: 1.911 MB / 472.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1285, allocations: 0.9158 MB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.1286, allocations: 3.938 kB / 473.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.129, allocations: 39.7 kB / 473.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002572/0.1293, allocations: 67.69 kB / 473.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.1297, allocations: 119.6 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.1299, allocations: 143.5 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.13, allocations: 29.47 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.492e-05/0.1301, allocations: 51.78 kB / 474 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.246e-05/0.1302, allocations: 47.72 kB / 474 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.1302, allocations: 8 kB / 474 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1304, allocations: 55.91 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.121e-05/0.1304, allocations: 23.86 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.1305, allocations: 47.67 kB / 474.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.1308, allocations: 143.5 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1308, allocations: 0 / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1308, allocations: 0 / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.1308, allocations: 0 / 474.3 MB, free: 10.04 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006904/0.1315, allocations: 488.4 kB / 474.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.1315, allocations: 16.02 kB / 474.8 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.021e-05/0.1316, allocations: 16.75 kB / 474.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.1319, allocations: 223.9 kB / 475 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.132, allocations: 4.375 kB / 475 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.132, allocations: 12.12 kB / 475.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.1322, allocations: 113.7 kB / 475.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.1323, allocations: 0 / 475.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1323, allocations: 8 kB / 475.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.1323, allocations: 0 / 475.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.1324, allocations: 47.91 kB / 475.2 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/0.1331, allocations: 0.5048 MB / 475.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.1334, allocations: 90.59 kB / 475.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.304e-05/0.1335, allocations: 32.84 kB / 475.8 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.1335, allocations: 8 kB / 475.9 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.1337, allocations: 83.31 kB / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.1337, allocations: 0 / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004047/0.1342, allocations: 145.4 kB / 476.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.1342, allocations: 59.33 kB / 476.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1344, allocations: 191.5 kB / 476.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1344, allocations: 25.7 kB / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.148e-05/0.1345, allocations: 116 kB / 476.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.1345, allocations: 31.61 kB / 476.5 MB, free: 7.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.1346, allocations: 25.72 kB / 476.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1347, allocations: 322.8 kB / 476.8 MB, free: 7.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.684e-05/0.1348, allocations: 27.98 kB / 476.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.1349, allocations: 75.27 kB / 476.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.1351, allocations: 108.5 kB / 477 MB, free: 7.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1352, allocations: 4 kB / 477 MB, free: 7.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002653/0.1354, allocations: 137.3 kB / 477.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1354, allocations: 4 kB / 477.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1355, allocations: 0 / 477.2 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.1355, allocations: 4 kB / 477.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1356, allocations: 31.92 kB / 477.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1356, allocations: 0 / 477.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/0.1357, allocations: 12.06 kB / 477.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.1357, allocations: 4 kB / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001058/0.1358, allocations: 133.8 kB / 477.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.1358, allocations: 11.81 kB / 477.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.926e-05/0.1359, allocations: 17.41 kB / 477.4 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1359, allocations: 7.938 kB / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1359, allocations: 0 / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1359, allocations: 3.984 kB / 477.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.1361, allocations: 205.6 kB / 477.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1361, allocations: 4 kB / 477.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.1362, allocations: 12 kB / 477.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1362, allocations: 4 kB / 477.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1362, allocations: 0 / 477.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1363, allocations: 3.938 kB / 477.6 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1363, allocations: 3.984 kB / 477.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.1367, allocations: 176.8 kB / 477.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.1367, allocations: 97.14 kB / 477.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.448e-05/0.1367, allocations: 0 / 477.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.563e-05/0.1368, allocations: 19.86 kB / 477.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.1369, allocations: 7.984 kB / 477.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/0.1369, allocations: 7.938 kB / 477.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.137, allocations: 137.2 kB / 478.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.137, allocations: 0 / 478.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002382/0.1373, allocations: 23.98 kB / 478.1 MB, free: 5.887 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009333/0.1382, allocations: 419.4 kB / 478.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.1385, allocations: 83.83 kB / 478.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1385, allocations: 0 / 478.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1386, allocations: 39.91 kB / 478.6 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1389, allocations: 35.25 kB / 478.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005107/0.1395, allocations: 268.2 kB / 478.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000279/0.1397, allocations: 0.7123 MB / 479.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.424e-05/0.1398, allocations: 21.41 kB / 479.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.1399, allocations: 23.44 kB / 479.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1399, allocations: 0 / 479.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of Templates: time 0.004667/0.1445, allocations: 1.879 MB / 481.5 MB, free: 2.539 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches