Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 95.19 kB / 17 MB, free: 6.402 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.001613/0.001613, allocations: 179.2 kB / 17.89 MB, free: 5.945 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.432/1.432, allocations: 223.3 MB / 241.9 MB, free: 320 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.2197/0.2197, allocations: 44.25 MB / 337.3 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003125, allocations: 8 kB / 409.7 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1297, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002218/0.132, allocations: 1.317 MB / 472.9 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008784/0.1329, allocations: 419.6 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.133, allocations: 0 / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.1336, allocations: 439.2 kB / 473.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.134, allocations: 239.4 kB / 474 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004994/0.1345, allocations: 163.3 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.1348, allocations: 135.7 kB / 474.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1349, allocations: 19.97 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001523/0.1351, allocations: 103.7 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.1353, allocations: 163.7 kB / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.1353, allocations: 4 kB / 474.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1354, allocations: 43.97 kB / 474.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.739e-05/0.1355, allocations: 79.69 kB / 474.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.1356, allocations: 69.52 kB / 474.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.1358, allocations: 200 kB / 475 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.1358, allocations: 0 / 475 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1359, allocations: 0 / 475 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1359, allocations: 0 / 475 MB, free: 10.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007211/0.1366, allocations: 0.597 MB / 475.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.1366, allocations: 12.5 kB / 475.6 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.376e-05/0.1367, allocations: 43.44 kB / 475.6 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.137, allocations: 271.3 kB / 475.9 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.137, allocations: 4 kB / 475.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.1371, allocations: 8 kB / 475.9 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.1372, allocations: 65.62 kB / 475.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1373, allocations: 0 / 475.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1373, allocations: 0 / 475.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1373, allocations: 0 / 475.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.1374, allocations: 43.91 kB / 476 MB, free: 9.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.138, allocations: 416.6 kB / 476.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.1381, allocations: 50.58 kB / 476.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.994e-05/0.1382, allocations: 24.94 kB / 476.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.322e-05/0.1382, allocations: 0 / 476.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.1382, allocations: 34.56 kB / 476.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1382, allocations: 0 / 476.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009645/0.1392, allocations: 347.8 kB / 476.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.1392, allocations: 55.39 kB / 476.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.1401, allocations: 0.8613 MB / 477.8 MB, free: 7.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.1401, allocations: 25.7 kB / 477.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.1403, allocations: 224 kB / 478 MB, free: 7.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.1403, allocations: 31.55 kB / 478 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.1403, allocations: 0 / 478 MB, free: 7.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1405, allocations: 358.8 kB / 478.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.1406, allocations: 35.97 kB / 478.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.993e-05/0.1407, allocations: 39.92 kB / 478.5 MB, free: 6.621 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.1408, allocations: 44.19 kB / 478.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1408, allocations: 0 / 478.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002482/0.1411, allocations: 149.2 kB / 478.6 MB, free: 6.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.1411, allocations: 10.48 kB / 478.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.1411, allocations: 4 kB / 478.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1411, allocations: 0 / 478.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1412, allocations: 16 kB / 478.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1412, allocations: 0 / 478.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.646e-05/0.1413, allocations: 7.984 kB / 478.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.1413, allocations: 23.83 kB / 478.7 MB, free: 6.367 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 (8): * Single equations (assignments): 8 * 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.0001822/0.1415, allocations: 217.7 kB / 478.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.1416, allocations: 43.44 kB / 479 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003364/0.1419, allocations: 177.4 kB / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.142, allocations: 0 / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.142, allocations: 0 / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.142, allocations: 0 / 479.1 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006659/0.1426, allocations: 0.5264 MB / 479.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1427, allocations: 0 / 479.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.088e-05/0.1427, allocations: 23.92 kB / 479.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1427, allocations: 0 / 479.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1428, allocations: 4 kB / 479.7 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1428, allocations: 4 kB / 479.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1428, allocations: 3.953 kB / 479.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.1431, allocations: 251.8 kB / 479.9 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.284e-05/0.1432, allocations: 112.6 kB / 480 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.1432, allocations: 0 / 480 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.74e-05/0.1433, allocations: 16 kB / 480.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.1434, allocations: 11.94 kB / 480.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-06/0.1434, allocations: 4 kB / 480.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006715/0.144, allocations: 0.6549 MB / 480.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1441, allocations: 0 / 480.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.1444, allocations: 35.91 kB / 480.8 MB, free: 4.184 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001182/0.1455, allocations: 458.1 kB / 481.2 MB, free: 3.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.1458, allocations: 87.92 kB / 481.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1458, allocations: 0 / 481.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.1459, allocations: 51.91 kB / 481.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.1463, allocations: 37.3 kB / 481.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.1477, allocations: 0.8622 MB / 482.3 MB, free: 2.855 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/0.1481, allocations: 0.8302 MB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.65e-05/0.1482, allocations: 24.39 kB / 483.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.1482, allocations: 19.44 kB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of SimCode: time 2.074e-06/0.1483, allocations: 0 / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of Templates: time 0.005497/0.1538, allocations: 1.586 MB / 484.7 MB, free: 380 kB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches