Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009311/0.0009311, allocations: 200.7 kB / 15.8 MB, free: 6.328 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.243/1.243, allocations: 226.6 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007635/0.0007637, allocations: 103.6 kB / 295.1 MB, free: 4.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1832/0.1832, allocations: 44.84 MB / 392 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002204/0.0002205, allocations: 8 kB / 464.7 MB, free: 68.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08565/0.08588, allocations: 62.96 MB / 0.5153 GB, free: 5.105 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.001413/0.08733, allocations: 1.385 MB / 0.5167 GB, free: 3.703 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006595/0.08801, allocations: 0.5461 MB / 0.5172 GB, free: 3.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.356e-05/0.08806, allocations: 7.938 kB / 0.5172 GB, free: 3.145 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001606/0.08823, allocations: 23.86 kB / 0.5172 GB, free: 3.121 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.08842, allocations: 63.75 kB / 0.5173 GB, free: 3.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.08874, allocations: 155.6 kB / 0.5175 GB, free: 2.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.08886, allocations: 79.77 kB / 0.5175 GB, free: 2.832 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.857e-05/0.08895, allocations: 19.97 kB / 0.5176 GB, free: 2.812 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.483e-05/0.08901, allocations: 31.84 kB / 0.5176 GB, free: 2.781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.08907, allocations: 43.77 kB / 0.5176 GB, free: 2.738 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.0891, allocations: 8 kB / 0.5176 GB, free: 2.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.08922, allocations: 79.95 kB / 0.5177 GB, free: 2.652 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.08927, allocations: 27.91 kB / 0.5177 GB, free: 2.625 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.054e-05/0.0893, allocations: 37.64 kB / 0.5178 GB, free: 2.582 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.08944, allocations: 111.8 kB / 0.5179 GB, free: 2.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.08946, allocations: 0 / 0.5179 GB, free: 2.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.08947, allocations: 4 kB / 0.5179 GB, free: 2.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.496e-06/0.08947, allocations: 0 / 0.5179 GB, free: 2.469 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.0004841/0.08996, allocations: 439.2 kB / 0.5183 GB, free: 1.992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.09, allocations: 8.031 kB / 0.5183 GB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.09004, allocations: 7.906 kB / 0.5183 GB, free: 1.977 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.09022, allocations: 206.1 kB / 0.5185 GB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.09024, allocations: 8 kB / 0.5185 GB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.09027, allocations: 0 / 0.5185 GB, free: 1.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.09054, allocations: 111.3 kB / 0.5186 GB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.09056, allocations: 0 / 0.5186 GB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.09058, allocations: 0 / 0.5186 GB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.09058, allocations: 0 / 0.5186 GB, free: 1.609 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.09089, allocations: 95.91 kB / 0.5187 GB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004883/0.09138, allocations: 356.7 kB / 0.5191 GB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.09162, allocations: 90.52 kB / 0.5191 GB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.09179, allocations: 56.94 kB / 0.5192 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.09182, allocations: 4 kB / 0.5192 GB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.575e-05/0.09184, allocations: 38.5 kB / 0.5192 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.09184, allocations: 0 / 0.5192 GB, free: 0.9102 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.001585/0.09343, allocations: 0.4969 MB / 0.5197 GB, free: 416 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.09347, allocations: 81.06 kB / 0.5198 GB, free: 316 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.09358, allocations: 161.9 kB / 0.52 GB, free: 144 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.0936, allocations: 25.7 kB / 0.52 GB, free: 112 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/0.09364, allocations: 104.2 kB / 0.5201 GB, free: 4 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.09369, allocations: 31.81 kB / 0.5201 GB, free: 15.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.0937, allocations: 3.938 kB / 0.5201 GB, free: 15.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.0938, allocations: 322.8 kB / 0.5204 GB, free: 15.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.09414, allocations: 99.91 kB / 0.5205 GB, free: 15.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.09447, allocations: 129.5 kB / 0.5206 GB, free: 15.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/0.09479, allocations: 99.95 kB / 0.5207 GB, free: 15.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.0948, allocations: 4 kB / 0.5207 GB, free: 15.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006768/0.09549, allocations: 253.3 kB / 0.521 GB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.09551, allocations: 4 kB / 0.521 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.09552, allocations: 0 / 0.521 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.09553, allocations: 4 kB / 0.521 GB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.09576, allocations: 51.95 kB / 0.521 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.09578, allocations: 0 / 0.521 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.09595, allocations: 43.91 kB / 0.5211 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.09597, allocations: 0 / 0.5211 GB, free: 14.96 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 (10): * Single equations (assignments): 10 * 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.0001026/0.09608, allocations: 121.8 kB / 0.5212 GB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.427e-05/0.09611, allocations: 7.906 kB / 0.5212 GB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007184/0.09684, allocations: 266.2 kB / 0.5215 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.09685, allocations: 0 / 0.5215 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.09686, allocations: 4.375 kB / 0.5215 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.09687, allocations: 0 / 0.5215 GB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009644/0.09784, allocations: 0.5645 MB / 0.522 GB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.09785, allocations: 384 / 0.522 GB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.09807, allocations: 55.95 kB / 0.5221 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.09808, allocations: 0 / 0.5221 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.09809, allocations: 4 kB / 0.5221 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.0981, allocations: 3.953 kB / 0.5221 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.0981, allocations: 0 / 0.5221 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006803/0.09879, allocations: 343.2 kB / 0.5224 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.09885, allocations: 93 kB / 0.5225 GB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.09888, allocations: 0 / 0.5225 GB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.09907, allocations: 35.97 kB / 0.5225 GB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.09913, allocations: 11.94 kB / 0.5225 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.09914, allocations: 7.984 kB / 0.5225 GB, free: 13.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.595e-05/0.09924, allocations: 119.3 kB / 0.5227 GB, free: 13.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09924, allocations: 0 / 0.5227 GB, free: 13.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002661/0.09951, allocations: 51.98 kB / 0.5227 GB, free: 13.18 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 (9): * Single equations (assignments): 9 * 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.0009061/0.1004, allocations: 0.4929 MB / 0.5232 GB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006865/0.1011, allocations: 215.8 kB / 0.5234 GB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1011, allocations: 0 / 0.5234 GB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003269/0.1015, allocations: 115.9 kB / 0.5235 GB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1018, allocations: 15.98 kB / 0.5235 GB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.1023, allocations: 283 kB / 0.5238 GB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1025, allocations: 0.7122 MB / 0.5245 GB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.332e-05/0.1026, allocations: 19.42 kB / 0.5245 GB, free: 11.44 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1026, allocations: 0 / 0.5245 GB, free: 11.44 MB / 362.7 MB Notification: Performance of Templates: time 0.004158/0.1068, allocations: 2.599 MB / 0.527 GB, free: 8.844 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches