Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.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.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, 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.192/1.192, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.000709/0.000709, allocations: 90.41 kB / 271.2 MB, free: 8.242 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.2844/0.2844, allocations: 43.56 MB / 363.1 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003587, allocations: 12 kB / 432 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.08966, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.00154/0.09124, allocations: 1.259 MB / 492.1 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004914/0.09175, allocations: 299.8 kB / 492.4 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.0918, allocations: 4 kB / 492.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.09197, allocations: 19.91 kB / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.09214, allocations: 27.86 kB / 492.4 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.09239, allocations: 79.89 kB / 492.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.0925, allocations: 51.84 kB / 492.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.09259, allocations: 11.97 kB / 492.6 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.177e-05/0.09264, allocations: 23.86 kB / 492.6 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.677e-05/0.09269, allocations: 19.92 kB / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.09271, allocations: 0 / 492.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.928e-05/0.09278, allocations: 24 kB / 492.6 MB, free: 8.832 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.09282, allocations: 11.92 kB / 492.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.09287, allocations: 45.56 kB / 492.7 MB, free: 8.77 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.507e-05/0.09297, allocations: 51.92 kB / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.09298, allocations: 0 / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09299, allocations: 0 / 492.7 MB, free: 8.719 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.093, allocations: 0 / 492.7 MB, free: 8.719 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003613/0.09336, allocations: 375.6 kB / 493.1 MB, free: 8.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.0934, allocations: 15.97 kB / 493.1 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.09344, allocations: 8.781 kB / 493.1 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.0936, allocations: 184 kB / 493.3 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.09362, allocations: 12.36 kB / 493.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.09365, allocations: 384 / 493.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.09377, allocations: 49.81 kB / 493.4 MB, free: 8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.09379, allocations: 3.906 kB / 493.4 MB, free: 7.996 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.0938, allocations: 3.938 kB / 493.4 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-06/0.09382, allocations: 8 kB / 493.4 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.595e-05/0.09391, allocations: 23.98 kB / 493.4 MB, free: 7.961 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.09424, allocations: 284.8 kB / 493.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.09443, allocations: 50.56 kB / 493.7 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.974e-05/0.09449, allocations: 16.94 kB / 493.8 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.09451, allocations: 0 / 493.8 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.09454, allocations: 38.56 kB / 493.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.09455, allocations: 0 / 493.8 MB, free: 7.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005082/0.09506, allocations: 157.3 kB / 493.9 MB, free: 7.348 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.711e-05/0.0951, allocations: 51.41 kB / 494 MB, free: 7.285 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.09522, allocations: 150 kB / 494.1 MB, free: 7.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.09525, allocations: 33.7 kB / 494.2 MB, free: 7.086 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.09529, allocations: 84.14 kB / 494.3 MB, free: 7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.09531, allocations: 23.78 kB / 494.3 MB, free: 6.977 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.09532, allocations: 3.938 kB / 494.3 MB, free: 6.973 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.652e-05/0.09541, allocations: 322.8 kB / 494.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/0.09549, allocations: 23.98 kB / 494.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.118e-05/0.09556, allocations: 31.97 kB / 494.7 MB, free: 6.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.0957, allocations: 61.02 kB / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.09571, allocations: 0 / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001694/0.09589, allocations: 93.58 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.09591, allocations: 4 kB / 494.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.09592, allocations: 0 / 494.8 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.09593, allocations: 7.984 kB / 494.8 MB, free: 6.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/0.096, allocations: 11.94 kB / 494.8 MB, free: 6.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.09602, allocations: 4 kB / 494.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.09608, allocations: 11.92 kB / 494.8 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.0961, allocations: 4 kB / 494.8 MB, free: 6.391 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 7.949e-05/0.09618, allocations: 121.8 kB / 495 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.09622, allocations: 7.906 kB / 495 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.09646, allocations: 109.9 kB / 495.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.09647, allocations: 4 kB / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.09648, allocations: 0 / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.09649, allocations: 0 / 495.1 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.09688, allocations: 358.7 kB / 495.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.09689, allocations: 3.984 kB / 495.4 MB, free: 5.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.09696, allocations: 16 kB / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.09697, allocations: 0 / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.09698, allocations: 0 / 495.5 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.09698, allocations: 3.938 kB / 495.5 MB, free: 5.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.09699, allocations: 3.984 kB / 495.5 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.0972, allocations: 203.5 kB / 495.7 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.09725, allocations: 89 kB / 495.7 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.09727, allocations: 0 / 495.7 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.09734, allocations: 11.94 kB / 495.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.09737, allocations: 3.984 kB / 495.8 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.09738, allocations: 4 kB / 495.8 MB, free: 5.363 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.436e-05/0.09745, allocations: 103.3 kB / 495.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09746, allocations: 0 / 495.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002246/0.09769, allocations: 23.98 kB / 495.9 MB, free: 5.238 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.0007321/0.09843, allocations: 391.6 kB / 496.3 MB, free: 4.895 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000177/0.09862, allocations: 67.89 kB / 496.3 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.09863, allocations: 4 kB / 496.3 MB, free: 4.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.09871, allocations: 31.92 kB / 496.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.09898, allocations: 15.98 kB / 496.4 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.09929, allocations: 210.2 kB / 496.6 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.0995, allocations: 0.6926 MB / 497.3 MB, free: 3.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.185e-05/0.09954, allocations: 19.42 kB / 497.3 MB, free: 3.801 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.09955, allocations: 0 / 497.3 MB, free: 3.801 MB / 378.7 MB Notification: Performance of Templates: time 0.002357/0.1019, allocations: 1.372 MB / 498.7 MB, free: 2.43 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches