Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28") translateModel(ModelicaTest.Tables.CombiTable2D.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008338/0.0008338, allocations: 174.2 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.24/1.24, 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.0006827/0.0006829, allocations: 86.34 kB / 271.2 MB, free: 8.246 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.3346/0.3346, allocations: 43.56 MB / 363.1 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003756, allocations: 19.98 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1106, allocations: 58.84 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test28): time 0.001804/0.1124, allocations: 1.317 MB / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004729/0.1129, allocations: 299.8 kB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.113, allocations: 7.938 kB / 492.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.1132, allocations: 43.94 kB / 492.5 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.1134, allocations: 47.81 kB / 492.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.1136, allocations: 103.8 kB / 492.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.1138, allocations: 59.83 kB / 492.7 MB, free: 8.777 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.217e-05/0.1139, allocations: 16.17 kB / 492.7 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.763e-05/0.1139, allocations: 27.92 kB / 492.7 MB, free: 8.734 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.698e-05/0.114, allocations: 35.83 kB / 492.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.114, allocations: 0 / 492.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.607e-05/0.1141, allocations: 27.98 kB / 492.8 MB, free: 8.672 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.333e-05/0.1142, allocations: 23.92 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.1142, allocations: 49.5 kB / 492.9 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001049/0.1143, allocations: 55.91 kB / 492.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1143, allocations: 3.938 kB / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1143, allocations: 0 / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1143, allocations: 4 kB / 492.9 MB, free: 8.531 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.000412/0.1148, allocations: 395.4 kB / 493.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1148, allocations: 12.03 kB / 493.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.219e-05/0.1148, allocations: 8.844 kB / 493.3 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.115, allocations: 196.6 kB / 493.5 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.115, allocations: 4.125 kB / 493.5 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.115, allocations: 4 kB / 493.5 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1152, allocations: 65.67 kB / 493.6 MB, free: 7.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.1152, allocations: 3.984 kB / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.475e-06/0.1152, allocations: 0 / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1152, allocations: 0 / 493.6 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1154, allocations: 43.97 kB / 493.6 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.1157, allocations: 292.7 kB / 493.9 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1158, allocations: 46.55 kB / 494 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.576e-05/0.1159, allocations: 32.94 kB / 494 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1159, allocations: 0 / 494 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.116, allocations: 30.56 kB / 494 MB, free: 7.258 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.116, allocations: 3.938 kB / 494 MB, free: 7.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007192/0.1167, allocations: 249.2 kB / 494.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.1167, allocations: 55.34 kB / 494.3 MB, free: 6.938 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.1169, allocations: 182.3 kB / 494.5 MB, free: 6.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.1169, allocations: 29.7 kB / 494.5 MB, free: 6.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.542e-05/0.117, allocations: 96.12 kB / 494.6 MB, free: 6.617 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.117, allocations: 31.7 kB / 494.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.117, allocations: 0 / 494.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1171, allocations: 326.8 kB / 495 MB, free: 6.258 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.1172, allocations: 39.91 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.1174, allocations: 43.97 kB / 495.1 MB, free: 6.176 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.1176, allocations: 88.75 kB / 495.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1176, allocations: 0 / 495.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002545/0.1178, allocations: 129.9 kB / 495.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1179, allocations: 7.594 kB / 495.3 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1179, allocations: 4 kB / 495.3 MB, free: 5.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1179, allocations: 3.984 kB / 495.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.118, allocations: 35.84 kB / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.118, allocations: 0 / 495.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.1181, allocations: 16 kB / 495.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.1181, allocations: 3.984 kB / 495.4 MB, free: 5.887 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 (7): * Single equations (assignments): 7 * 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 7.917e-05/0.1182, allocations: 125.8 kB / 495.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.1182, allocations: 11.81 kB / 495.5 MB, free: 5.742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.1185, allocations: 146.3 kB / 495.6 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1186, allocations: 3.938 kB / 495.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1186, allocations: 0 / 495.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1186, allocations: 0 / 495.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004776/0.1191, allocations: 402.5 kB / 496 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1191, allocations: 4 kB / 496 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/0.1192, allocations: 27.91 kB / 496.1 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1192, allocations: 4 kB / 496.1 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1192, allocations: 4 kB / 496.1 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.1192, allocations: 4 kB / 496.1 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1192, allocations: 0 / 496.1 MB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002822/0.1195, allocations: 231.3 kB / 496.3 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.022e-05/0.1195, allocations: 88.95 kB / 496.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.1195, allocations: 0 / 496.4 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.1196, allocations: 11.98 kB / 496.4 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.1197, allocations: 11.98 kB / 496.4 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.1197, allocations: 4 kB / 496.4 MB, free: 4.727 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.099e-05/0.1198, allocations: 140 kB / 496.5 MB, free: 4.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1198, allocations: 0 / 496.5 MB, free: 4.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.12, allocations: 23.94 kB / 496.6 MB, free: 4.566 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 (7): * Single equations (assignments): 7 * 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.0007663/0.1208, allocations: 397.6 kB / 497 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.1211, allocations: 95.88 kB / 497.1 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1211, allocations: 4 kB / 497.1 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.1212, allocations: 51.95 kB / 497.1 MB, free: 4.066 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1215, allocations: 15.94 kB / 497.1 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.1219, allocations: 271.1 kB / 497.4 MB, free: 3.754 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.1221, allocations: 0.7004 MB / 498.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.677e-05/0.1222, allocations: 19.42 kB / 498.1 MB, free: 3.008 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.1222, allocations: 3.938 kB / 498.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of Templates: time 0.002726/0.1249, allocations: 1.579 MB / 499.7 MB, free: 1.43 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test28/Test28.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches