Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009204/0.0009204, allocations: 203 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.29/1.29, 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.0007571/0.0007571, allocations: 97.08 kB / 295.1 MB, free: 4.418 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1735/0.1735, allocations: 44.84 MB / 392 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002423/0.0002424, allocations: 8 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08388/0.08414, allocations: 62.96 MB / 0.5153 GB, free: 5.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.001346/0.08552, allocations: 1.288 MB / 0.5166 GB, free: 3.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.08663, allocations: 1.066 MB / 0.5176 GB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.007e-05/0.0867, allocations: 0 / 0.5176 GB, free: 2.738 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.08687, allocations: 23.92 kB / 0.5176 GB, free: 2.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.08708, allocations: 71.75 kB / 0.5177 GB, free: 2.645 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.0873, allocations: 71.84 kB / 0.5178 GB, free: 2.574 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.0874, allocations: 59.83 kB / 0.5178 GB, free: 2.516 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.97e-05/0.08748, allocations: 11.98 kB / 0.5179 GB, free: 2.504 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.799e-05/0.08752, allocations: 19.86 kB / 0.5179 GB, free: 2.484 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.08763, allocations: 31.84 kB / 0.5179 GB, free: 2.453 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.08765, allocations: 0 / 0.5179 GB, free: 2.453 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.08779, allocations: 87.94 kB / 0.518 GB, free: 2.367 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.08782, allocations: 7.938 kB / 0.518 GB, free: 2.359 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.922e-05/0.08784, allocations: 33.64 kB / 0.518 GB, free: 2.32 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.08799, allocations: 99.84 kB / 0.5181 GB, free: 2.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.088, allocations: 0 / 0.5181 GB, free: 2.223 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.088, allocations: 0 / 0.5181 GB, free: 2.223 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.08801, allocations: 0 / 0.5181 GB, free: 2.223 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003348/0.08835, allocations: 387.4 kB / 0.5185 GB, free: 1.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.768e-05/0.08839, allocations: 8.031 kB / 0.5185 GB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.08842, allocations: 11.91 kB / 0.5185 GB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.08856, allocations: 194.9 kB / 0.5187 GB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.08858, allocations: 7.938 kB / 0.5187 GB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.0886, allocations: 0 / 0.5187 GB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.08872, allocations: 75.33 kB / 0.5188 GB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.08874, allocations: 0 / 0.5188 GB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.08875, allocations: 0 / 0.5188 GB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.08876, allocations: 4 kB / 0.5188 GB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.121e-05/0.08885, allocations: 27.97 kB / 0.5188 GB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.08909, allocations: 276.8 kB / 0.5191 GB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.08925, allocations: 46.5 kB / 0.5191 GB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.503e-05/0.08931, allocations: 20.94 kB / 0.5191 GB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.08933, allocations: 4 kB / 0.5191 GB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.165e-05/0.08935, allocations: 30.56 kB / 0.5192 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.08935, allocations: 0 / 0.5192 GB, free: 0.9805 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004605/0.08982, allocations: 153.3 kB / 0.5193 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.08986, allocations: 89.05 kB / 0.5194 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.08996, allocations: 147.5 kB / 0.5195 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.944e-06/0.08998, allocations: 25.7 kB / 0.5196 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.738e-05/0.09001, allocations: 100.1 kB / 0.5197 GB, free: 444 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.345e-05/0.09003, allocations: 11.81 kB / 0.5197 GB, free: 432 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-06/0.09004, allocations: 0 / 0.5197 GB, free: 432 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.684e-05/0.09008, allocations: 322.8 kB / 0.52 GB, free: 100 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.09014, allocations: 19.98 kB / 0.52 GB, free: 80 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.09021, allocations: 37.7 kB / 0.52 GB, free: 36 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.317e-05/0.09028, allocations: 23.98 kB / 0.5201 GB, free: 12 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.09029, allocations: 0 / 0.5201 GB, free: 12 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000199/0.09049, allocations: 93.55 kB / 0.5201 GB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.09052, allocations: 8 kB / 0.5202 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.09052, allocations: 0 / 0.5202 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.09054, allocations: 0 / 0.5202 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.0906, allocations: 15.98 kB / 0.5202 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.09062, allocations: 0 / 0.5202 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.522e-05/0.09067, allocations: 4 kB / 0.5202 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.09068, allocations: 11.94 kB / 0.5202 GB, free: 15.88 MB / 362.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.728e-05/0.09076, allocations: 117.8 kB / 0.5203 GB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/0.0908, allocations: 7.906 kB / 0.5203 GB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.09102, allocations: 102.2 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.09104, allocations: 0 / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.09104, allocations: 0 / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.09105, allocations: 4 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.09143, allocations: 354.5 kB / 0.5207 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.09145, allocations: 3.938 kB / 0.5207 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.473e-05/0.09151, allocations: 15.98 kB / 0.5208 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.09152, allocations: 3.938 kB / 0.5208 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.09154, allocations: 8 kB / 0.5208 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.09154, allocations: 0 / 0.5208 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.09155, allocations: 3.984 kB / 0.5208 GB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.09176, allocations: 187.4 kB / 0.521 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.09181, allocations: 89.02 kB / 0.521 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.09184, allocations: 3.984 kB / 0.521 GB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.09191, allocations: 11.94 kB / 0.5211 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.09195, allocations: 0 / 0.5211 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.09196, allocations: 7.984 kB / 0.5211 GB, free: 14.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.173e-05/0.09205, allocations: 113.1 kB / 0.5212 GB, free: 14.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.392e-06/0.09205, allocations: 0 / 0.5212 GB, free: 14.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002404/0.0923, allocations: 43.92 kB / 0.5212 GB, free: 14.72 MB / 362.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.0008881/0.09319, allocations: 493.8 kB / 0.5217 GB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.09339, allocations: 59.95 kB / 0.5217 GB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.0934, allocations: 0 / 0.5217 GB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.782e-05/0.09348, allocations: 27.98 kB / 0.5218 GB, free: 14.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.09376, allocations: 31.11 kB / 0.5218 GB, free: 14.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.0941, allocations: 202.2 kB / 0.522 GB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002447/0.09435, allocations: 0.6926 MB / 0.5227 GB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.09441, allocations: 19.42 kB / 0.5227 GB, free: 13.31 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.09442, allocations: 0 / 0.5227 GB, free: 13.31 MB / 362.7 MB Notification: Performance of Templates: time 0.003297/0.09772, allocations: 1.907 MB / 0.5245 GB, free: 11.4 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches