Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 99.27 kB / 17 MB, free: 6.086 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.001219/0.001219, allocations: 183 kB / 17.89 MB, free: 5.668 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.511/1.511, allocations: 223.3 MB / 241.9 MB, free: 332 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.2297/0.2297, allocations: 44.25 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003192, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 61.94 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002071/0.136, allocations: 1.305 MB / 472.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007899/0.1368, allocations: 411.6 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.181e-05/0.1369, allocations: 0 / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005568/0.1375, allocations: 439.2 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.1378, allocations: 247.5 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.1383, allocations: 149.8 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1385, allocations: 127.7 kB / 474.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.748e-05/0.1386, allocations: 24.16 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.1388, allocations: 103.7 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.139, allocations: 163.7 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1391, allocations: 0 / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.399e-05/0.1392, allocations: 35.97 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.742e-05/0.1393, allocations: 75.75 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.526e-05/0.1394, allocations: 77.45 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.1396, allocations: 172 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1396, allocations: 7.938 kB / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1396, allocations: 0 / 474.9 MB, free: 10.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1396, allocations: 0 / 474.9 MB, free: 10.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006606/0.1403, allocations: 0.5871 MB / 475.5 MB, free: 9.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.1404, allocations: 8.562 kB / 475.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.911e-05/0.1405, allocations: 43.44 kB / 475.5 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.1408, allocations: 283.3 kB / 475.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1408, allocations: 0 / 475.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1409, allocations: 0 / 475.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1411, allocations: 61.62 kB / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1411, allocations: 0 / 475.9 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1411, allocations: 4 kB / 475.9 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1411, allocations: 7.938 kB / 475.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1413, allocations: 27.98 kB / 475.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006432/0.1419, allocations: 408.6 kB / 476.3 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.1421, allocations: 46.55 kB / 476.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.66e-05/0.1422, allocations: 24.94 kB / 476.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.1423, allocations: 4 kB / 476.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1423, allocations: 30.56 kB / 476.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.1423, allocations: 0 / 476.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006608/0.1429, allocations: 251.9 kB / 476.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.143, allocations: 55.41 kB / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008151/0.1438, allocations: 0.8574 MB / 477.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1438, allocations: 25.7 kB / 477.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.144, allocations: 220.1 kB / 477.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.144, allocations: 15.8 kB / 477.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.1441, allocations: 4 kB / 477.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1442, allocations: 362.8 kB / 478.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.1443, allocations: 27.92 kB / 478.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.1444, allocations: 27.97 kB / 478.2 MB, free: 6.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.381e-05/0.1445, allocations: 27.98 kB / 478.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1445, allocations: 0 / 478.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002199/0.1447, allocations: 125.1 kB / 478.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.1447, allocations: 4 kB / 478.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.1447, allocations: 4 kB / 478.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.1447, allocations: 0 / 478.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.463e-05/0.1448, allocations: 19.98 kB / 478.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1448, allocations: 0 / 478.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.1449, allocations: 11.98 kB / 478.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.1449, allocations: 0 / 478.4 MB, free: 6.621 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001977/0.1451, allocations: 221.7 kB / 478.6 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.1452, allocations: 39.44 kB / 478.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.1455, allocations: 157 kB / 478.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1455, allocations: 0 / 478.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1455, allocations: 4 kB / 478.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1455, allocations: 0 / 478.8 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000542/0.1461, allocations: 482.7 kB / 479.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1461, allocations: 3.938 kB / 479.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.1461, allocations: 15.98 kB / 479.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1461, allocations: 4 kB / 479.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.1462, allocations: 0 / 479.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.1462, allocations: 0 / 479.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1462, allocations: 0 / 479.3 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.1464, allocations: 234.8 kB / 479.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-05/0.1465, allocations: 108.6 kB / 479.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.1466, allocations: 0 / 479.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.1467, allocations: 15.98 kB / 479.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.1467, allocations: 4 kB / 479.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.1467, allocations: 0 / 479.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006203/0.1473, allocations: 0.6511 MB / 480.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.1473, allocations: 0 / 480.3 MB, free: 4.598 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.1476, allocations: 24 kB / 480.4 MB, free: 4.574 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009854/0.1486, allocations: 413.6 kB / 480.8 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.1488, allocations: 55.97 kB / 480.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.1488, allocations: 0 / 480.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/0.1489, allocations: 39.84 kB / 480.9 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.1493, allocations: 25.92 kB / 480.9 MB, free: 4.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.1506, allocations: 0.8373 MB / 481.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.151, allocations: 0.8262 MB / 482.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.765e-05/0.1511, allocations: 11.98 kB / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.1511, allocations: 11.44 kB / 482.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1511, allocations: 4 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of Templates: time 0.004564/0.1557, allocations: 1.34 MB / 483.9 MB, free: 1.117 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches