Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001269/0.00127, 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.264/1.264, allocations: 226.5 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.0009241/0.0009241, allocations: 94.3 kB / 295.1 MB, free: 4.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1837/0.1837, allocations: 44.84 MB / 392 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002322/0.0002322, allocations: 8 kB / 464.7 MB, free: 68.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09196/0.09221, allocations: 62.96 MB / 0.5153 GB, free: 5.113 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.001657/0.09389, allocations: 1.655 MB / 0.5169 GB, free: 3.438 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.09527, allocations: 1.131 MB / 0.518 GB, free: 2.301 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.09541, allocations: 4 kB / 0.5181 GB, free: 2.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.09559, allocations: 31.78 kB / 0.5181 GB, free: 2.266 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003599/0.09596, allocations: 175.4 kB / 0.5182 GB, free: 2.094 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008045/0.09677, allocations: 399 kB / 0.5186 GB, free: 1.715 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002558/0.09704, allocations: 243.2 kB / 0.5189 GB, free: 1.477 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.09716, allocations: 48.89 kB / 0.5189 GB, free: 1.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.09737, allocations: 111.5 kB / 0.519 GB, free: 1.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.09758, allocations: 167.3 kB / 0.5192 GB, free: 1.156 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.09761, allocations: 8 kB / 0.5192 GB, free: 1.148 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.09774, allocations: 47.92 kB / 0.5192 GB, free: 1.102 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.09785, allocations: 131.6 kB / 0.5194 GB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.0979, allocations: 81.39 kB / 0.5194 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.09813, allocations: 271.8 kB / 0.5197 GB, free: 0.6211 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.09814, allocations: 0 / 0.5197 GB, free: 0.6211 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09815, allocations: 4 kB / 0.5197 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.09817, allocations: 4 kB / 0.5197 GB, free: 0.6133 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007189/0.09889, allocations: 0.7037 MB / 0.5204 GB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.09893, allocations: 12.02 kB / 0.5204 GB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002774/0.09922, allocations: 71.33 kB / 0.5205 GB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/0.09972, allocations: 427 kB / 0.5209 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.09974, allocations: 11.94 kB / 0.5209 GB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.09977, allocations: 15.98 kB / 0.5209 GB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000244/0.1, allocations: 132.6 kB / 0.521 GB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1, allocations: 4 kB / 0.521 GB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.1001, allocations: 4 kB / 0.521 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1001, allocations: 4 kB / 0.521 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002116/0.1003, allocations: 79.95 kB / 0.5211 GB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008379/0.1011, allocations: 0.6799 MB / 0.5218 GB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1013, allocations: 109.2 kB / 0.5219 GB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1015, allocations: 53.77 kB / 0.5219 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1015, allocations: 3.953 kB / 0.5219 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.1015, allocations: 42.55 kB / 0.522 GB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.1015, allocations: 0 / 0.522 GB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001288/0.1028, allocations: 0.5339 MB / 0.5225 GB, free: 13.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.1029, allocations: 81.11 kB / 0.5226 GB, free: 13.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008767/0.1038, allocations: 0.878 MB / 0.5234 GB, free: 12.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1038, allocations: 29.7 kB / 0.5235 GB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.104, allocations: 252.2 kB / 0.5237 GB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.104, allocations: 59.19 kB / 0.5238 GB, free: 12.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/0.104, allocations: 0 / 0.5238 GB, free: 12.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1042, allocations: 374.8 kB / 0.5241 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.1043, allocations: 59.97 kB / 0.5242 GB, free: 11.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001557/0.1045, allocations: 84.48 kB / 0.5243 GB, free: 11.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.1047, allocations: 71.92 kB / 0.5243 GB, free: 11.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1047, allocations: 3.938 kB / 0.5243 GB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004227/0.1051, allocations: 241.1 kB / 0.5246 GB, free: 11.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.1051, allocations: 4 kB / 0.5246 GB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1052, allocations: 8 kB / 0.5246 GB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1052, allocations: 0 / 0.5246 GB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.1054, allocations: 51.84 kB / 0.5246 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1054, allocations: 4 kB / 0.5246 GB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.1056, allocations: 15.97 kB / 0.5246 GB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.1056, allocations: 4 kB / 0.5246 GB, free: 11.29 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.0001923/0.1058, allocations: 213.7 kB / 0.5248 GB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.507e-05/0.1059, allocations: 51.34 kB / 0.5249 GB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005473/0.1064, allocations: 282.1 kB / 0.5252 GB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1064, allocations: 0 / 0.5252 GB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1065, allocations: 4 kB / 0.5252 GB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1065, allocations: 0 / 0.5252 GB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009537/0.1074, allocations: 0.7984 MB / 0.5259 GB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1074, allocations: 7.938 kB / 0.526 GB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.1076, allocations: 43.97 kB / 0.526 GB, free: 9.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1076, allocations: 4 kB / 0.526 GB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.1076, allocations: 0 / 0.526 GB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1076, allocations: 4 kB / 0.526 GB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1076, allocations: 0 / 0.526 GB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004685/0.1081, allocations: 414 kB / 0.5264 GB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.1082, allocations: 148.4 kB / 0.5265 GB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.1083, allocations: 4 kB / 0.5265 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.1085, allocations: 23.98 kB / 0.5266 GB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.1085, allocations: 7.984 kB / 0.5266 GB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1086, allocations: 11.98 kB / 0.5266 GB, free: 9.191 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006204/0.1092, allocations: 0.6432 MB / 0.5272 GB, free: 8.551 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1092, allocations: 0 / 0.5272 GB, free: 8.551 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003146/0.1095, allocations: 48 kB / 0.5273 GB, free: 8.504 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.0007881/0.1103, allocations: 403.9 kB / 0.5276 GB, free: 8.242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003934/0.1107, allocations: 155.8 kB / 0.5278 GB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1107, allocations: 0 / 0.5278 GB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001751/0.1109, allocations: 91.83 kB / 0.5279 GB, free: 8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005326/0.1114, allocations: 78.75 kB / 0.528 GB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.1127, allocations: 0.978 MB / 0.5289 GB, free: 6.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.113, allocations: 0.8488 MB / 0.5297 GB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1131, allocations: 43.42 kB / 0.5298 GB, free: 6 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1132, allocations: 7.938 kB / 0.5298 GB, free: 5.992 MB / 362.7 MB Notification: Performance of Templates: time 0.007104/0.1203, allocations: 5.476 MB / 0.5351 GB, free: 0.5273 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches