Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009398/0.0009398, allocations: 199.8 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 226.5 MB / 243.1 MB, free: 12.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007195/0.0007193, allocations: 94.14 kB / 295.1 MB, free: 4.441 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1897/0.1897, allocations: 44.85 MB / 392 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002374/0.0002375, allocations: 11.98 kB / 464.7 MB, free: 68.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08911/0.08936, allocations: 62.96 MB / 0.5153 GB, free: 5.152 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.001606/0.091, allocations: 1.666 MB / 0.517 GB, free: 3.469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.09232, allocations: 1.232 MB / 0.5182 GB, free: 2.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.877e-05/0.09242, allocations: 4 kB / 0.5182 GB, free: 2.227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.09261, allocations: 39.7 kB / 0.5182 GB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.09291, allocations: 175.4 kB / 0.5184 GB, free: 2.016 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008961/0.09381, allocations: 0.5486 MB / 0.5189 GB, free: 1.484 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.09404, allocations: 271.1 kB / 0.5192 GB, free: 1.219 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.09419, allocations: 68.88 kB / 0.5192 GB, free: 1.152 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.09435, allocations: 111.5 kB / 0.5193 GB, free: 1.043 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.09451, allocations: 167.3 kB / 0.5195 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.09455, allocations: 4 kB / 0.5195 GB, free: 0.875 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.09465, allocations: 47.98 kB / 0.5195 GB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.694e-05/0.09476, allocations: 143.5 kB / 0.5197 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.114e-05/0.09481, allocations: 77.45 kB / 0.5198 GB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.09502, allocations: 291.7 kB / 0.52 GB, free: 328 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.09503, allocations: 3.938 kB / 0.52 GB, free: 324 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.09504, allocations: 0 / 0.52 GB, free: 324 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.09506, allocations: 0 / 0.52 GB, free: 324 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007675/0.09583, allocations: 0.7077 MB / 0.5207 GB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.09587, allocations: 8.031 kB / 0.5207 GB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002343/0.09611, allocations: 75.23 kB / 0.5208 GB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.09659, allocations: 435 kB / 0.5212 GB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.09661, allocations: 8 kB / 0.5212 GB, free: 15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.09665, allocations: 19.91 kB / 0.5212 GB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.09691, allocations: 152.5 kB / 0.5214 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.09693, allocations: 3.984 kB / 0.5214 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.09695, allocations: 4 kB / 0.5214 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.09697, allocations: 4 kB / 0.5214 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002098/0.09718, allocations: 103.9 kB / 0.5215 GB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008091/0.098, allocations: 0.6878 MB / 0.5222 GB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.0982, allocations: 117.2 kB / 0.5223 GB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.391e-05/0.09831, allocations: 45.83 kB / 0.5223 GB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.09834, allocations: 11.95 kB / 0.5223 GB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.09837, allocations: 38.48 kB / 0.5224 GB, free: 13.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.09838, allocations: 0 / 0.5224 GB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001341/0.09972, allocations: 0.576 MB / 0.5229 GB, free: 13.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.09977, allocations: 85.05 kB / 0.523 GB, free: 13.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008375/0.1006, allocations: 0.8907 MB / 0.5239 GB, free: 12.14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1006, allocations: 29.7 kB / 0.5239 GB, free: 12.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.1008, allocations: 260.2 kB / 0.5242 GB, free: 11.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.1009, allocations: 59.19 kB / 0.5242 GB, free: 11.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.477e-06/0.1009, allocations: 4 kB / 0.5242 GB, free: 11.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.101, allocations: 370.8 kB / 0.5246 GB, free: 11.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.1012, allocations: 72.11 kB / 0.5246 GB, free: 11.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001735/0.1014, allocations: 100.3 kB / 0.5247 GB, free: 11.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.1016, allocations: 79.86 kB / 0.5248 GB, free: 11.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1016, allocations: 0 / 0.5248 GB, free: 11.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004407/0.102, allocations: 260.9 kB / 0.5251 GB, free: 10.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.102, allocations: 8 kB / 0.5251 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1021, allocations: 0 / 0.5251 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.1021, allocations: 0 / 0.5251 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001911/0.1023, allocations: 43.97 kB / 0.5251 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1023, allocations: 0 / 0.5251 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.1024, allocations: 20.64 kB / 0.5251 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.1024, allocations: 8 kB / 0.5251 GB, free: 10.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001877/0.1026, allocations: 221.7 kB / 0.5254 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.004e-05/0.1027, allocations: 55.34 kB / 0.5254 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005663/0.1033, allocations: 318.5 kB / 0.5257 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1033, allocations: 0 / 0.5257 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1033, allocations: 0 / 0.5257 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1033, allocations: 4 kB / 0.5257 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.1043, allocations: 0.8137 MB / 0.5265 GB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1043, allocations: 0 / 0.5265 GB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.1045, allocations: 51.91 kB / 0.5266 GB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1045, allocations: 0 / 0.5266 GB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.1045, allocations: 4 kB / 0.5266 GB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1045, allocations: 0 / 0.5266 GB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1045, allocations: 0 / 0.5266 GB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004845/0.105, allocations: 433.9 kB / 0.527 GB, free: 8.848 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.1052, allocations: 148.4 kB / 0.5271 GB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.1052, allocations: 11.92 kB / 0.5271 GB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.1054, allocations: 16 kB / 0.5271 GB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.1055, allocations: 11.97 kB / 0.5272 GB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.1055, allocations: 8 kB / 0.5272 GB, free: 8.637 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006141/0.1061, allocations: 0.6591 MB / 0.5278 GB, free: 7.984 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1061, allocations: 0 / 0.5278 GB, free: 7.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003126/0.1064, allocations: 55.91 kB / 0.5279 GB, free: 7.93 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 (16): * Single equations (assignments): 16 * 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.000784/0.1072, allocations: 400.8 kB / 0.5282 GB, free: 7.672 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004199/0.1076, allocations: 183.8 kB / 0.5284 GB, free: 7.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1077, allocations: 3.938 kB / 0.5284 GB, free: 7.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.1079, allocations: 96.36 kB / 0.5285 GB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005692/0.1084, allocations: 82.89 kB / 0.5286 GB, free: 7.316 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1097, allocations: 1.021 MB / 0.5296 GB, free: 6.258 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.1101, allocations: 0.8686 MB / 0.5304 GB, free: 5.367 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.1102, allocations: 39.42 kB / 0.5305 GB, free: 5.328 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1102, allocations: 0 / 0.5305 GB, free: 5.328 MB / 362.7 MB Notification: Performance of Templates: time 0.008238/0.1184, allocations: 5.7 MB / 0.536 GB, free: 15.63 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches