Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.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_3.2.3_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_3.2.3_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.001133/0.001133, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001192/0.001192, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.383/1.383, allocations: 205.1 MB / 223.7 MB, free: 12.29 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.2133/0.2133, allocations: 43.53 MB / 314.6 MB, free: 0.5273 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.001488/0.001489, allocations: 73.73 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1234, allocations: 57.79 MB / 441.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003224/0.1267, allocations: 1.598 MB / 442.8 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005351/0.1272, allocations: 347.5 kB / 443.1 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.655e-05/0.1273, allocations: 7.938 kB / 443.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004583/0.1278, allocations: 447.2 kB / 443.6 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.1281, allocations: 259.5 kB / 443.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.1284, allocations: 151.5 kB / 444 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1286, allocations: 159.7 kB / 444.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1287, allocations: 24.11 kB / 444.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.216e-05/0.1288, allocations: 103.8 kB / 444.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.129, allocations: 215.6 kB / 444.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.343e-05/0.129, allocations: 4 kB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.522e-05/0.1291, allocations: 31.98 kB / 444.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.096e-05/0.1292, allocations: 83.67 kB / 444.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.791e-05/0.1292, allocations: 99 kB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.1295, allocations: 255 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1295, allocations: 0 / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1295, allocations: 4 kB / 444.9 MB, free: 3.148 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1295, allocations: 0 / 444.9 MB, free: 3.148 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.000557/0.1301, allocations: 0.6336 MB / 445.6 MB, free: 2.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1301, allocations: 11.89 kB / 445.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.358e-05/0.1302, allocations: 40.38 kB / 445.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.1304, allocations: 292.2 kB / 445.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1304, allocations: 384 / 445.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.1304, allocations: 4.375 kB / 445.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1306, allocations: 65.59 kB / 446 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1306, allocations: 0 / 446 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.1306, allocations: 4 kB / 446 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1306, allocations: 0 / 446 MB, free: 2.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.924e-05/0.1307, allocations: 31.92 kB / 446 MB, free: 1.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.1311, allocations: 392.6 kB / 446.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.1313, allocations: 42.56 kB / 446.4 MB, free: 1.496 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.1314, allocations: 28.81 kB / 446.5 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.1314, allocations: 0 / 446.5 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.1314, allocations: 38.55 kB / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1314, allocations: 0 / 446.5 MB, free: 1.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005564/0.132, allocations: 239.9 kB / 446.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/0.132, allocations: 51.41 kB / 446.8 MB, free: 1.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.1326, allocations: 0.8613 MB / 447.6 MB, free: 248 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.1326, allocations: 29.69 kB / 447.7 MB, free: 212 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1327, allocations: 224.2 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.1328, allocations: 19.66 kB / 447.9 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.1328, allocations: 17.72 kB / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.133, allocations: 366.8 kB / 448.3 MB, free: 15.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.535e-05/0.1331, allocations: 19.98 kB / 448.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.1331, allocations: 23.98 kB / 448.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.1333, allocations: 52.83 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1333, allocations: 0 / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002256/0.1335, allocations: 117.1 kB / 448.5 MB, free: 15.35 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.1336, allocations: 8 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.1336, allocations: 0 / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.1336, allocations: 4 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.1337, allocations: 15.98 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.1337, allocations: 0 / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.337e-05/0.1337, allocations: 7.938 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1338, allocations: 0 / 448.5 MB, free: 15.32 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.0001961/0.134, allocations: 217.7 kB / 448.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.134, allocations: 43.44 kB / 448.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/0.1343, allocations: 145 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1343, allocations: 4 kB / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1343, allocations: 0 / 448.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.1343, allocations: 3.938 kB / 448.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006403/0.135, allocations: 466.7 kB / 449.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.135, allocations: 4 kB / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.373e-05/0.1351, allocations: 8 kB / 449.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1351, allocations: 3.938 kB / 449.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1351, allocations: 7.938 kB / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1351, allocations: 3.984 kB / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1351, allocations: 0 / 449.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.1354, allocations: 211 kB / 449.6 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.676e-05/0.1354, allocations: 116.6 kB / 449.7 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.1355, allocations: 3.938 kB / 449.7 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.213e-05/0.1356, allocations: 4 kB / 449.7 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.1356, allocations: 7.984 kB / 449.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.1356, allocations: 7.938 kB / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007007/0.1363, allocations: 0.6511 MB / 450.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1363, allocations: 0 / 450.4 MB, free: 13.33 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000264/0.1366, allocations: 16 kB / 450.4 MB, free: 13.32 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.0009884/0.1376, allocations: 408.9 kB / 450.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002296/0.1378, allocations: 55.89 kB / 450.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1379, allocations: 0 / 450.9 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.58e-05/0.138, allocations: 31.98 kB / 450.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004226/0.1384, allocations: 17.95 kB / 450.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.1396, allocations: 0.8397 MB / 451.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.1402, allocations: 0.8298 MB / 452.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.1402, allocations: 11.44 kB / 452.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1402, allocations: 0 / 452.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of Templates: time 0.007542/0.1478, allocations: 3.717 MB / 456.3 MB, free: 7.434 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches