Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25") translateModel(ModelicaTest.Tables.CombiTable2D.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009182/0.0009181, allocations: 175.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006644/0.0006645, allocations: 88.33 kB / 271.2 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2844/0.2844, allocations: 43.57 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 12 kB / 432 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1049, allocations: 58.85 MB / 490.8 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test25): time 0.001705/0.1066, allocations: 1.317 MB / 492.1 MB, free: 9.59 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004921/0.1071, allocations: 299.8 kB / 492.4 MB, free: 9.293 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.1072, allocations: 4 kB / 492.4 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.1074, allocations: 47.88 kB / 492.5 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001371/0.1076, allocations: 43.88 kB / 492.5 MB, free: 9.199 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.1078, allocations: 95.75 kB / 492.6 MB, free: 9.105 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1079, allocations: 59.83 kB / 492.7 MB, free: 9.047 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.995e-05/0.108, allocations: 16.19 kB / 492.7 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.561e-05/0.1081, allocations: 27.84 kB / 492.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.187e-05/0.1082, allocations: 27.91 kB / 492.8 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1082, allocations: 0 / 492.8 MB, free: 8.977 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.1083, allocations: 35.92 kB / 492.8 MB, free: 8.941 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.884e-05/0.1083, allocations: 15.97 kB / 492.8 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.112e-05/0.1084, allocations: 49.52 kB / 492.9 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.1085, allocations: 55.91 kB / 492.9 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1085, allocations: 3.938 kB / 492.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1085, allocations: 4 kB / 492.9 MB, free: 8.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1085, allocations: 0 / 492.9 MB, free: 8.809 MB / 378.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.0004273/0.109, allocations: 387.5 kB / 493.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.109, allocations: 15.97 kB / 493.3 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.109, allocations: 8.844 kB / 493.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.1092, allocations: 192.1 kB / 493.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.1092, allocations: 4.375 kB / 493.5 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.967e-05/0.1093, allocations: 8.375 kB / 493.5 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1094, allocations: 61.61 kB / 493.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1094, allocations: 0 / 493.6 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.1095, allocations: 4 kB / 493.6 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.1095, allocations: 0 / 493.6 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1096, allocations: 43.97 kB / 493.6 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.1099, allocations: 284.8 kB / 493.9 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.1101, allocations: 46.56 kB / 493.9 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.141e-05/0.1101, allocations: 32.94 kB / 494 MB, free: 7.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.1102, allocations: 3.938 kB / 494 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.1102, allocations: 34.56 kB / 494 MB, free: 7.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1102, allocations: 0 / 494 MB, free: 7.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007061/0.1109, allocations: 245.2 kB / 494.3 MB, free: 7.297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.111, allocations: 51.41 kB / 494.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1111, allocations: 177.5 kB / 494.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.1112, allocations: 25.7 kB / 494.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.698e-05/0.1112, allocations: 100.1 kB / 494.6 MB, free: 6.918 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.1112, allocations: 23.72 kB / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-06/0.1112, allocations: 0 / 494.6 MB, free: 6.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1114, allocations: 322.8 kB / 494.9 MB, free: 6.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.1115, allocations: 39.97 kB / 495 MB, free: 6.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.801e-05/0.1116, allocations: 43.97 kB / 495 MB, free: 6.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002033/0.1118, allocations: 92.75 kB / 495.1 MB, free: 6.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1118, allocations: 0 / 495.1 MB, free: 6.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002545/0.112, allocations: 129.5 kB / 495.2 MB, free: 6.262 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1121, allocations: 4 kB / 495.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1121, allocations: 0 / 495.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.1121, allocations: 7.938 kB / 495.3 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1122, allocations: 19.98 kB / 495.3 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1122, allocations: 0 / 495.3 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.1123, allocations: 23.92 kB / 495.3 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.1123, allocations: 8.281 kB / 495.3 MB, free: 6.199 MB / 378.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 (7): * Single equations (assignments): 7 * 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 9.36e-05/0.1124, allocations: 129.8 kB / 495.4 MB, free: 6.062 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.1124, allocations: 7.906 kB / 495.4 MB, free: 6.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.1127, allocations: 150.6 kB / 495.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1128, allocations: 0 / 495.6 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1128, allocations: 4 kB / 495.6 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1128, allocations: 3.938 kB / 495.6 MB, free: 5.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.1132, allocations: 406.4 kB / 496 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1133, allocations: 0 / 496 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.845e-05/0.1133, allocations: 19.98 kB / 496 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1134, allocations: 4 kB / 496 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.1134, allocations: 7.938 kB / 496 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1134, allocations: 3.938 kB / 496 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1134, allocations: 0 / 496 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.1137, allocations: 219.4 kB / 496.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.1137, allocations: 89 kB / 496.3 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.1137, allocations: 7.938 kB / 496.3 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.197e-05/0.1138, allocations: 11.98 kB / 496.3 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.1139, allocations: 8 kB / 496.4 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.1139, allocations: 4 kB / 496.4 MB, free: 5.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.571e-05/0.114, allocations: 134.6 kB / 496.5 MB, free: 4.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.114, allocations: 0 / 496.5 MB, free: 4.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.1142, allocations: 16 kB / 496.5 MB, free: 4.895 MB / 378.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 (7): * Single equations (assignments): 7 * 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.0007887/0.115, allocations: 394.5 kB / 496.9 MB, free: 4.539 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.1153, allocations: 91.89 kB / 497 MB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1153, allocations: 0 / 497 MB, free: 4.449 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1154, allocations: 55.97 kB / 497 MB, free: 4.395 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.1157, allocations: 19.86 kB / 497.1 MB, free: 4.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.1162, allocations: 246.8 kB / 497.3 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1165, allocations: 0.7004 MB / 498 MB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.1165, allocations: 19.38 kB / 498 MB, free: 3.355 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.1165, allocations: 0 / 498 MB, free: 3.355 MB / 378.7 MB Notification: Performance of Templates: time 0.002893/0.1194, allocations: 1.532 MB / 499.5 MB, free: 1.824 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test25/Test25.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches