Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008604/0.0008604, allocations: 175.6 kB / 16.72 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007187/0.0007185, allocations: 99.89 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2935/0.2936, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003575, allocations: 16 kB / 432 MB, free: 5.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.108, allocations: 58.84 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.001862/0.11, allocations: 1.309 MB / 492.1 MB, free: 9.336 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005342/0.1105, allocations: 307.8 kB / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.1106, allocations: 0 / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005297/0.1111, allocations: 443.2 kB / 492.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002847/0.1114, allocations: 235.5 kB / 493.1 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.1117, allocations: 103.9 kB / 493.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.1119, allocations: 127.7 kB / 493.3 MB, free: 8.141 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.112, allocations: 16.17 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.647e-05/0.1121, allocations: 99.72 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.1123, allocations: 171.7 kB / 493.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1123, allocations: 0 / 493.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-05/0.1124, allocations: 24 kB / 493.6 MB, free: 7.836 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.177e-05/0.1125, allocations: 79.75 kB / 493.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.166e-05/0.1126, allocations: 120.8 kB / 493.8 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.1128, allocations: 175.8 kB / 494 MB, free: 7.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1128, allocations: 0 / 494 MB, free: 7.461 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.1128, allocations: 4 kB / 494 MB, free: 7.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1128, allocations: 3.938 kB / 494 MB, free: 7.453 MB / 378.7 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.0006145/0.1134, allocations: 0.5875 MB / 494.6 MB, free: 6.816 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1134, allocations: 8.031 kB / 494.6 MB, free: 6.809 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.554e-05/0.1135, allocations: 40.38 kB / 494.6 MB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.1138, allocations: 300.1 kB / 494.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.1138, allocations: 384 / 494.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.1138, allocations: 4.312 kB / 494.9 MB, free: 6.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1139, allocations: 61.62 kB / 495 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.114, allocations: 0 / 495 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.114, allocations: 0 / 495 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.114, allocations: 0 / 495 MB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.87e-05/0.1141, allocations: 27.98 kB / 495 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.1145, allocations: 384.7 kB / 495.4 MB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.1147, allocations: 50.58 kB / 495.4 MB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.7e-05/0.1148, allocations: 20.84 kB / 495.5 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.1148, allocations: 0 / 495.5 MB, free: 5.832 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.1148, allocations: 30.56 kB / 495.5 MB, free: 5.793 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.1148, allocations: 4 kB / 495.5 MB, free: 5.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000588/0.1154, allocations: 232.1 kB / 495.7 MB, free: 5.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.1155, allocations: 59.41 kB / 495.8 MB, free: 5.484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007414/0.1162, allocations: 0.8612 MB / 496.6 MB, free: 4.613 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.1162, allocations: 25.7 kB / 496.7 MB, free: 4.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.1164, allocations: 228 kB / 496.9 MB, free: 4.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.1164, allocations: 7.812 kB / 496.9 MB, free: 4.348 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.1164, allocations: 7.938 kB / 496.9 MB, free: 4.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1165, allocations: 358.8 kB / 497.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.1166, allocations: 23.98 kB / 497.3 MB, free: 3.957 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.787e-05/0.1167, allocations: 27.92 kB / 497.3 MB, free: 3.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001208/0.1168, allocations: 48.83 kB / 497.4 MB, free: 3.879 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1168, allocations: 11.94 kB / 497.4 MB, free: 3.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001908/0.117, allocations: 117.2 kB / 497.5 MB, free: 3.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.1171, allocations: 4 kB / 497.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1171, allocations: 0 / 497.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1171, allocations: 3.984 kB / 497.5 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.117e-05/0.1172, allocations: 12 kB / 497.5 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1172, allocations: 4 kB / 497.5 MB, free: 3.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.424e-05/0.1172, allocations: 19.83 kB / 497.5 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.1173, allocations: 256 / 497.5 MB, free: 3.703 MB / 378.7 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.0001668/0.1174, allocations: 217.7 kB / 497.7 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.1175, allocations: 39.53 kB / 497.8 MB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002595/0.1177, allocations: 145.1 kB / 497.9 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1178, allocations: 0 / 497.9 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1178, allocations: 0 / 497.9 MB, free: 3.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1178, allocations: 3.938 kB / 497.9 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.1182, allocations: 470.4 kB / 498.4 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1183, allocations: 0 / 498.4 MB, free: 2.773 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.26e-05/0.1183, allocations: 15.98 kB / 498.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1183, allocations: 0 / 498.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1183, allocations: 7.938 kB / 498.4 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1183, allocations: 0 / 498.4 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1183, allocations: 0 / 498.4 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.1186, allocations: 222.9 kB / 498.6 MB, free: 2.516 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.1186, allocations: 112.5 kB / 498.7 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1187, allocations: 3.938 kB / 498.7 MB, free: 2.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.603e-05/0.1188, allocations: 8 kB / 498.7 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.1188, allocations: 3.984 kB / 498.7 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.1188, allocations: 12 kB / 498.8 MB, free: 2.359 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005316/0.1193, allocations: 0.6394 MB / 499.4 MB, free: 1.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1194, allocations: 0 / 499.4 MB, free: 1.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002294/0.1196, allocations: 27.98 kB / 499.4 MB, free: 1.695 MB / 378.7 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.0008013/0.1204, allocations: 401.5 kB / 499.8 MB, free: 1.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1206, allocations: 55.95 kB / 499.9 MB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1206, allocations: 0 / 499.9 MB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.1207, allocations: 31.92 kB / 499.9 MB, free: 1.254 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.121, allocations: 25.91 kB / 499.9 MB, free: 1.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009866/0.122, allocations: 0.8546 MB / 0.489 GB, free: 344 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1696/0.2916, allocations: 0.8139 MB / 0.4898 GB, free: 42.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.488e-05/0.2917, allocations: 15.97 kB / 0.4899 GB, free: 42.65 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.2917, allocations: 0 / 0.4899 GB, free: 42.65 MB / 378.7 MB Notification: Performance of Templates: time 0.00802/0.2998, allocations: 3.579 MB / 0.4934 GB, free: 42.05 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/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_cpp_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches