Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 202.1 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 226.6 MB / 243.1 MB, free: 12.55 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007618/0.0007616, allocations: 96.23 kB / 295.1 MB, free: 4.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.186/0.186, allocations: 44.85 MB / 392 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002452/0.0002452, allocations: 8 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08665/0.08691, allocations: 62.95 MB / 0.5153 GB, free: 5.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.001497/0.08845, allocations: 1.311 MB / 0.5166 GB, free: 3.793 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006669/0.08914, allocations: 487.3 kB / 0.5171 GB, free: 3.312 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.962e-05/0.08922, allocations: 0 / 0.5171 GB, free: 3.312 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.08949, allocations: 103.8 kB / 0.5172 GB, free: 3.211 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.08972, allocations: 103.8 kB / 0.5173 GB, free: 3.109 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.08996, allocations: 71.84 kB / 0.5173 GB, free: 3.039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.0901, allocations: 79.75 kB / 0.5174 GB, free: 2.961 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.561e-05/0.09019, allocations: 7.984 kB / 0.5174 GB, free: 2.953 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.645e-05/0.09025, allocations: 43.83 kB / 0.5175 GB, free: 2.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.497e-05/0.09035, allocations: 63.8 kB / 0.5175 GB, free: 2.848 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.09037, allocations: 0 / 0.5175 GB, free: 2.848 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.09046, allocations: 35.94 kB / 0.5176 GB, free: 2.812 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.875e-05/0.0905, allocations: 23.92 kB / 0.5176 GB, free: 2.789 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.09053, allocations: 41.62 kB / 0.5176 GB, free: 2.742 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.09065, allocations: 79.88 kB / 0.5177 GB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.09067, allocations: 0 / 0.5177 GB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.09067, allocations: 0 / 0.5177 GB, free: 2.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.09068, allocations: 0 / 0.5177 GB, free: 2.664 MB / 346.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.0003751/0.09106, allocations: 419 kB / 0.5181 GB, free: 2.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.0911, allocations: 8.031 kB / 0.5181 GB, free: 2.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.738e-05/0.09114, allocations: 19.8 kB / 0.5181 GB, free: 2.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.0913, allocations: 203.6 kB / 0.5183 GB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.09131, allocations: 4 kB / 0.5183 GB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.09134, allocations: 4 kB / 0.5183 GB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001224/0.09146, allocations: 53.62 kB / 0.5184 GB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.09148, allocations: 0 / 0.5184 GB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.0915, allocations: 4 kB / 0.5184 GB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.09151, allocations: 4 kB / 0.5184 GB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.879e-05/0.0916, allocations: 31.97 kB / 0.5184 GB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.0919, allocations: 300.7 kB / 0.5187 GB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.555e-05/0.09199, allocations: 46.5 kB / 0.5187 GB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.09204, allocations: 24.94 kB / 0.5188 GB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.09207, allocations: 0 / 0.5188 GB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.09209, allocations: 30.56 kB / 0.5188 GB, free: 1.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.0921, allocations: 0 / 0.5188 GB, free: 1.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007715/0.09287, allocations: 257 kB / 0.519 GB, free: 1.109 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.09291, allocations: 55.36 kB / 0.5191 GB, free: 1.043 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.09308, allocations: 250.3 kB / 0.5193 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.0931, allocations: 29.7 kB / 0.5194 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.09314, allocations: 112 kB / 0.5195 GB, free: 0.6406 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.09317, allocations: 23.66 kB / 0.5195 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/0.09318, allocations: 0 / 0.5195 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.367e-05/0.09323, allocations: 334.8 kB / 0.5198 GB, free: 288 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.041e-05/0.0933, allocations: 27.92 kB / 0.5198 GB, free: 260 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.961e-05/0.09337, allocations: 31.98 kB / 0.5199 GB, free: 228 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.47e-05/0.09345, allocations: 32.06 kB / 0.5199 GB, free: 196 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.09346, allocations: 0 / 0.5199 GB, free: 196 kB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001733/0.09364, allocations: 109.7 kB / 0.52 GB, free: 80 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.09366, allocations: 6.031 kB / 0.52 GB, free: 76 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.09367, allocations: 3.938 kB / 0.52 GB, free: 72 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.09368, allocations: 3.938 kB / 0.52 GB, free: 68 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.877e-05/0.09378, allocations: 23.98 kB / 0.52 GB, free: 44 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.09379, allocations: 8.016 kB / 0.52 GB, free: 36 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.316e-05/0.09384, allocations: 15.98 kB / 0.5201 GB, free: 20 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.09385, allocations: 3.938 kB / 0.5201 GB, free: 16 kB / 346.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 (8): * Single equations (assignments): 8 * 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.0001104/0.09396, allocations: 133.8 kB / 0.5202 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.094, allocations: 11.81 kB / 0.5202 GB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002586/0.09426, allocations: 123 kB / 0.5203 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.09428, allocations: 4 kB / 0.5203 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.09429, allocations: 432 / 0.5203 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.0943, allocations: 7.953 kB / 0.5203 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004685/0.09477, allocations: 415.3 kB / 0.5207 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.09479, allocations: 0 / 0.5207 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.866e-05/0.09486, allocations: 23.92 kB / 0.5208 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.09487, allocations: 4 kB / 0.5208 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.09489, allocations: 11.94 kB / 0.5208 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.09489, allocations: 0 / 0.5208 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.0949, allocations: 32 / 0.5208 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.09514, allocations: 220.2 kB / 0.521 GB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.09519, allocations: 88.92 kB / 0.5211 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.09521, allocations: 7.984 kB / 0.5211 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.09529, allocations: 15.95 kB / 0.5211 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.09533, allocations: 11.92 kB / 0.5211 GB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.09535, allocations: 0 / 0.5211 GB, free: 14.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001415/0.09549, allocations: 192.3 kB / 0.5213 GB, free: 14.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0955, allocations: 0 / 0.5213 GB, free: 14.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.09573, allocations: 20 kB / 0.5213 GB, free: 14.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.000853/0.09659, allocations: 446 kB / 0.5217 GB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.09681, allocations: 79.94 kB / 0.5218 GB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.09682, allocations: 4 kB / 0.5218 GB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.605e-05/0.09691, allocations: 35.92 kB / 0.5218 GB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.09722, allocations: 21.91 kB / 0.5219 GB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.0977, allocations: 332.3 kB / 0.5222 GB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.09795, allocations: 0.716 MB / 0.5229 GB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.508e-05/0.09799, allocations: 19.38 kB / 0.5229 GB, free: 13.11 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.098, allocations: 0 / 0.5229 GB, free: 13.11 MB / 362.7 MB Notification: Performance of Templates: time 0.003189/0.1012, allocations: 1.81 MB / 0.5247 GB, free: 11.29 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches