Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.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.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008671/0.0008671, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.176/1.176, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006905/0.0006905, allocations: 88.2 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.2687/0.2687, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003299, allocations: 12 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09386/0.0942, allocations: 58.84 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.001702/0.09594, allocations: 1.313 MB / 492.1 MB, free: 9.328 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.09706, allocations: 0.9144 MB / 493.1 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.09712, allocations: 0 / 493.1 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001789/0.09732, allocations: 23.91 kB / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.09746, allocations: 39.84 kB / 493.1 MB, free: 8.344 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.09779, allocations: 135.8 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.09793, allocations: 67.69 kB / 493.3 MB, free: 8.145 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.24e-05/0.09803, allocations: 23.84 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.091e-05/0.09807, allocations: 19.92 kB / 493.4 MB, free: 8.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.0982, allocations: 27.84 kB / 493.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.09822, allocations: 4 kB / 493.4 MB, free: 8.07 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-05/0.09832, allocations: 39.98 kB / 493.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.09837, allocations: 15.92 kB / 493.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.858e-05/0.09842, allocations: 49.56 kB / 493.5 MB, free: 7.961 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.09855, allocations: 72.11 kB / 493.6 MB, free: 7.891 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.09856, allocations: 0 / 493.6 MB, free: 7.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09856, allocations: 0 / 493.6 MB, free: 7.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.09857, allocations: 0 / 493.6 MB, free: 7.891 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.0004082/0.09899, allocations: 375.3 kB / 493.9 MB, free: 7.477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.09903, allocations: 15.97 kB / 493.9 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.247e-05/0.09907, allocations: 12.83 kB / 494 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.09924, allocations: 188.2 kB / 494.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.09926, allocations: 4.375 kB / 494.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.09929, allocations: 4.375 kB / 494.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.09947, allocations: 83.48 kB / 494.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.09949, allocations: 0 / 494.2 MB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.0995, allocations: 4 kB / 494.2 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.09951, allocations: 4 kB / 494.2 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.09965, allocations: 47.91 kB / 494.3 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.1, allocations: 312.7 kB / 494.6 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.1002, allocations: 50.66 kB / 494.6 MB, free: 6.656 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/0.1003, allocations: 32.83 kB / 494.7 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.1003, allocations: 0 / 494.7 MB, free: 6.621 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.1003, allocations: 38.5 kB / 494.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.1003, allocations: 0 / 494.7 MB, free: 6.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007539/0.1011, allocations: 257.1 kB / 495 MB, free: 6.316 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.1011, allocations: 81.11 kB / 495 MB, free: 6.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1013, allocations: 137.6 kB / 495.2 MB, free: 6.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.1013, allocations: 25.7 kB / 495.2 MB, free: 6.047 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.1013, allocations: 92.22 kB / 495.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1014, allocations: 31.62 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.06e-06/0.1014, allocations: 0 / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.1015, allocations: 318.8 kB / 495.6 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.1016, allocations: 51.95 kB / 495.7 MB, free: 5.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.1017, allocations: 57.69 kB / 495.7 MB, free: 5.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.102, allocations: 100.8 kB / 495.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.102, allocations: 0 / 495.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000279/0.1023, allocations: 149.7 kB / 496 MB, free: 5.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1023, allocations: 7.938 kB / 496 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1023, allocations: 0 / 496 MB, free: 5.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.1023, allocations: 4 kB / 496 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1024, allocations: 24.27 kB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1024, allocations: 4.062 kB / 496 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.144e-05/0.1025, allocations: 15.92 kB / 496 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.1025, allocations: 4 kB / 496 MB, free: 5.176 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 8.089e-05/0.1026, allocations: 121.8 kB / 496.2 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.1026, allocations: 11.89 kB / 496.2 MB, free: 5.035 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.103, allocations: 161.9 kB / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.103, allocations: 0 / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.103, allocations: 0 / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.103, allocations: 7.922 kB / 496.3 MB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.1035, allocations: 418.5 kB / 496.7 MB, free: 4.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.1035, allocations: 4 kB / 496.7 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.339e-05/0.1036, allocations: 27.92 kB / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.1036, allocations: 3.938 kB / 496.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1036, allocations: 7.938 kB / 496.8 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1036, allocations: 0 / 496.8 MB, free: 4.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1036, allocations: 4 kB / 496.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.104, allocations: 235.4 kB / 497 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.051e-05/0.104, allocations: 89 kB / 497.1 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.104, allocations: 3.938 kB / 497.1 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.27e-05/0.1041, allocations: 8 kB / 497.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.1042, allocations: 11.98 kB / 497.1 MB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.1042, allocations: 0 / 497.1 MB, free: 3.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.753e-05/0.1043, allocations: 107.2 kB / 497.2 MB, free: 3.875 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1043, allocations: 4 kB / 497.2 MB, free: 3.871 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002461/0.1045, allocations: 28 kB / 497.3 MB, free: 3.844 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.0008225/0.1053, allocations: 434.5 kB / 497.7 MB, free: 3.453 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.1056, allocations: 107.9 kB / 497.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1057, allocations: 0 / 497.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.1058, allocations: 59.91 kB / 497.9 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.1061, allocations: 20.17 kB / 497.9 MB, free: 3.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.1065, allocations: 238.9 kB / 498.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1067, allocations: 0.6965 MB / 498.8 MB, free: 2.281 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.503e-05/0.1068, allocations: 19.42 kB / 498.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1068, allocations: 0 / 498.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of Templates: time 0.003/0.1098, allocations: 1.781 MB / 0.4889 GB, free: 492 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches