Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 108.4 kB / 16.64 MB, free: 6.812 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.00253/0.00253, allocations: 186 kB / 17.56 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.253/0.253, allocations: 43.51 MB / 314.3 MB, free: 0.7227 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 69.81 kB / 382.9 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1146, allocations: 57.79 MB / 440.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.003936/0.1186, allocations: 1.662 MB / 442.3 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007221/0.1193, allocations: 323.5 kB / 442.6 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.263e-05/0.1194, allocations: 4 kB / 442.6 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005189/0.12, allocations: 439.2 kB / 443.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.1204, allocations: 251.6 kB / 443.3 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.1207, allocations: 115.2 kB / 443.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.1209, allocations: 155.7 kB / 443.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.121, allocations: 20.39 kB / 443.6 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.1212, allocations: 107.7 kB / 443.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.1214, allocations: 215.6 kB / 443.9 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.1214, allocations: 4 kB / 443.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.878e-05/0.1215, allocations: 31.98 kB / 443.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001168/0.1216, allocations: 91.61 kB / 444 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.1217, allocations: 95.06 kB / 444.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.1219, allocations: 179.8 kB / 444.3 MB, free: 3.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1219, allocations: 7.938 kB / 444.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1219, allocations: 0 / 444.3 MB, free: 3.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.122, allocations: 0 / 444.3 MB, free: 3.711 MB / 318.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.0006023/0.1226, allocations: 0.6336 MB / 444.9 MB, free: 3.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1226, allocations: 11.89 kB / 445 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.248e-05/0.1227, allocations: 40.47 kB / 445 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1229, allocations: 296.1 kB / 445.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.1229, allocations: 384 / 445.3 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.123, allocations: 8.375 kB / 445.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.1231, allocations: 49.62 kB / 445.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1231, allocations: 0 / 445.3 MB, free: 2.586 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.1232, allocations: 4 kB / 445.3 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1232, allocations: 4 kB / 445.4 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.862e-05/0.1233, allocations: 23.98 kB / 445.4 MB, free: 2.555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004246/0.1237, allocations: 388.6 kB / 445.8 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.1239, allocations: 42.56 kB / 445.8 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.124, allocations: 16.94 kB / 445.8 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.124, allocations: 4 kB / 445.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.56e-05/0.124, allocations: 34.56 kB / 445.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.233e-06/0.124, allocations: 0 / 445.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005528/0.1246, allocations: 219.9 kB / 446.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.1246, allocations: 51.41 kB / 446.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/0.1252, allocations: 0.8652 MB / 447 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.667e-06/0.1252, allocations: 25.7 kB / 447 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.972e-05/0.1253, allocations: 220.1 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.1254, allocations: 19.73 kB / 447.2 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/0.1254, allocations: 21.66 kB / 447.3 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.114e-05/0.1255, allocations: 354.8 kB / 447.6 MB, free: 200 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.174e-05/0.1256, allocations: 19.98 kB / 447.6 MB, free: 180 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.997e-05/0.1256, allocations: 23.92 kB / 447.6 MB, free: 156 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.1257, allocations: 53.02 kB / 447.7 MB, free: 100 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1257, allocations: 0 / 447.7 MB, free: 100 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002202/0.126, allocations: 117 kB / 447.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.126, allocations: 4 kB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.126, allocations: 0 / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.126, allocations: 288 / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.1261, allocations: 19.92 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1261, allocations: 4 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.321e-05/0.1262, allocations: 7.938 kB / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1262, allocations: 3.984 kB / 447.9 MB, free: 15.94 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001908/0.1264, allocations: 217.7 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.1265, allocations: 47.42 kB / 448.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.1267, allocations: 133 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.1268, allocations: 4 kB / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1268, allocations: 0 / 448.2 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1268, allocations: 3.938 kB / 448.3 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.1273, allocations: 450.4 kB / 448.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1273, allocations: 0 / 448.7 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.331e-05/0.1274, allocations: 16 kB / 448.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1274, allocations: 0 / 448.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1274, allocations: 3.938 kB / 448.7 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.1274, allocations: 7.984 kB / 448.7 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1274, allocations: 192 / 448.7 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.1277, allocations: 211 kB / 448.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.1278, allocations: 108.5 kB / 449 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.1278, allocations: 7.938 kB / 449 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.616e-05/0.1279, allocations: 3.984 kB / 449 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.005e-05/0.1279, allocations: 12 kB / 449.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.1279, allocations: 0 / 449.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006433/0.1286, allocations: 0.6472 MB / 449.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1286, allocations: 0 / 449.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002554/0.1288, allocations: 20 kB / 449.7 MB, free: 13.96 MB / 334.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 (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.0009545/0.1298, allocations: 401 kB / 450.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.13, allocations: 59.91 kB / 450.2 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.13, allocations: 4 kB / 450.2 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.972e-05/0.1301, allocations: 19.98 kB / 450.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.1306, allocations: 33.23 kB / 450.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1317, allocations: 0.8829 MB / 451.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.1321, allocations: 0.8221 MB / 451.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.1321, allocations: 15.42 kB / 451.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1321, allocations: 0 / 451.9 MB, free: 11.75 MB / 334.1 MB Notification: Performance of Templates: time 0.007497/0.1396, allocations: 3.653 MB / 455.6 MB, free: 8.094 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches