Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,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.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008636/0.0008637, allocations: 94.94 kB / 17.35 MB, free: 6.344 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.001265/0.001265, allocations: 168.8 kB / 18.25 MB, free: 5.508 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.449/1.449, allocations: 223.3 MB / 242.3 MB, free: 216 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.2198/0.2198, allocations: 44.26 MB / 337.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 16 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1266, allocations: 61.92 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.0025/0.1292, allocations: 1.409 MB / 473.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.1308, allocations: 0.8499 MB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.891e-05/0.1309, allocations: 3.938 kB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.1313, allocations: 47.86 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.1315, allocations: 59.81 kB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.1319, allocations: 103.1 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.1321, allocations: 91.7 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.1322, allocations: 12.2 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.848e-05/0.1323, allocations: 39.8 kB / 474.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/0.1324, allocations: 31.84 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1324, allocations: 4 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1326, allocations: 43.92 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.1326, allocations: 27.91 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8e-05/0.1327, allocations: 65.39 kB / 475 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1329, allocations: 123.8 kB / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1329, allocations: 0 / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.133, allocations: 0 / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.133, allocations: 0 / 475.2 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.0006037/0.1336, allocations: 426.8 kB / 475.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.1336, allocations: 15.97 kB / 475.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.1337, allocations: 12.84 kB / 475.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.1339, allocations: 215.9 kB / 475.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.1339, allocations: 384 / 475.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.134, allocations: 8.125 kB / 475.8 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1341, allocations: 53.67 kB / 475.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1342, allocations: 3.906 kB / 475.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.1342, allocations: 0 / 475.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1342, allocations: 4 kB / 475.9 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.1343, allocations: 27.98 kB / 475.9 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.1347, allocations: 296.8 kB / 476.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1349, allocations: 54.67 kB / 476.3 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.768e-05/0.1349, allocations: 24.84 kB / 476.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.135, allocations: 0 / 476.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.1352, allocations: 75.33 kB / 476.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1352, allocations: 0 / 476.4 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006087/0.1358, allocations: 177.1 kB / 476.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.1359, allocations: 55.34 kB / 476.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.1361, allocations: 266.9 kB / 476.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1362, allocations: 29.7 kB / 476.9 MB, free: 8.523 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.552e-05/0.1362, allocations: 116 kB / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.1363, allocations: 15.81 kB / 477 MB, free: 8.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/0.1363, allocations: 21.7 kB / 477 MB, free: 8.363 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1365, allocations: 326.8 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.1365, allocations: 23.98 kB / 477.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.1366, allocations: 29.72 kB / 477.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.1367, allocations: 69.64 kB / 477.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1367, allocations: 3.938 kB / 477.5 MB, free: 7.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002034/0.1369, allocations: 105.5 kB / 477.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.137, allocations: 4 kB / 477.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.137, allocations: 0 / 477.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.137, allocations: 0 / 477.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.1371, allocations: 19.94 kB / 477.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1371, allocations: 0 / 477.6 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.401e-05/0.1372, allocations: 15.92 kB / 477.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1372, allocations: 4.031 kB / 477.6 MB, free: 7.746 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.0001239/0.1373, allocations: 141.9 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.1374, allocations: 15.81 kB / 477.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.977e-05/0.1374, allocations: 21.34 kB / 477.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1374, allocations: 3.984 kB / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1374, allocations: 0 / 477.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1375, allocations: 3.938 kB / 477.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.1379, allocations: 407.4 kB / 478.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1379, allocations: 0 / 478.2 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.138, allocations: 15.98 kB / 478.2 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.138, allocations: 4 kB / 478.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.138, allocations: 4.312 kB / 478.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.138, allocations: 0 / 478.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.138, allocations: 3.938 kB / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.1383, allocations: 208.3 kB / 478.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.1383, allocations: 92.91 kB / 478.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.521e-05/0.1384, allocations: 3.938 kB / 478.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.1385, allocations: 4 kB / 478.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/0.1385, allocations: 11.98 kB / 478.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.1385, allocations: 4 kB / 478.5 MB, free: 6.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.1387, allocations: 192.2 kB / 478.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1387, allocations: 4 kB / 478.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.139, allocations: 27.98 kB / 478.8 MB, free: 6.496 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.1401, allocations: 469.6 kB / 479.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1403, allocations: 47.98 kB / 479.3 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1403, allocations: 4.062 kB / 479.3 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.551e-05/0.1404, allocations: 35.92 kB / 479.3 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1408, allocations: 35.78 kB / 479.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.1413, allocations: 306.9 kB / 479.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.1416, allocations: 0.716 MB / 480.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.051e-05/0.1417, allocations: 17.17 kB / 480.4 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.1417, allocations: 19.44 kB / 480.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1417, allocations: 3.938 kB / 480.4 MB, free: 4.977 MB / 350.1 MB Notification: Performance of Templates: time 0.004394/0.1461, allocations: 1.643 MB / 482 MB, free: 3.348 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches