Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 105.8 kB / 16.64 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 190.5 kB / 17.56 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2332/0.2332, allocations: 43.52 MB / 314.3 MB, free: 0.6875 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 71.94 kB / 382.9 MB, free: 56.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.107, allocations: 57.79 MB / 440.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002884/0.1099, allocations: 1.663 MB / 442.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005902/0.1105, allocations: 355.5 kB / 442.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.1106, allocations: 0 / 442.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.1109, allocations: 47.86 kB / 442.7 MB, free: 5.281 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.1112, allocations: 43.89 kB / 442.8 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.1116, allocations: 139.6 kB / 442.9 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.1117, allocations: 75.75 kB / 443 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.1118, allocations: 27.92 kB / 443 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.568e-05/0.1119, allocations: 27.91 kB / 443 MB, free: 4.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.112, allocations: 39.84 kB / 443.1 MB, free: 4.938 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.625e-05/0.112, allocations: 4 kB / 443.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-05/0.1121, allocations: 31.98 kB / 443.1 MB, free: 4.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.1122, allocations: 31.84 kB / 443.1 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.1122, allocations: 27.81 kB / 443.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.1123, allocations: 63.91 kB / 443.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1123, allocations: 0 / 443.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1123, allocations: 0 / 443.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1124, allocations: 0 / 443.2 MB, free: 4.781 MB / 318.1 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.0004333/0.1128, allocations: 395 kB / 443.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.055e-05/0.1128, allocations: 15.89 kB / 443.6 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.1129, allocations: 12.83 kB / 443.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.113, allocations: 193.3 kB / 443.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.113, allocations: 4.375 kB / 443.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.113, allocations: 384 / 443.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.1132, allocations: 69.73 kB / 443.9 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1132, allocations: 0 / 443.9 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1132, allocations: 3.984 kB / 443.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1132, allocations: 0 / 443.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.1134, allocations: 43.97 kB / 443.9 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.1137, allocations: 296.8 kB / 444.2 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1138, allocations: 50.5 kB / 444.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.1138, allocations: 28.94 kB / 444.3 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.1139, allocations: 3.984 kB / 444.3 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.424e-05/0.1139, allocations: 34.56 kB / 444.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1139, allocations: 0 / 444.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006439/0.1145, allocations: 237.1 kB / 444.6 MB, free: 3.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/0.1146, allocations: 51.41 kB / 444.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001042/0.1147, allocations: 170.7 kB / 444.8 MB, free: 3.016 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.1147, allocations: 25.7 kB / 444.8 MB, free: 2.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.1147, allocations: 92.14 kB / 444.9 MB, free: 2.891 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.1148, allocations: 27.64 kB / 444.9 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.1148, allocations: 21.66 kB / 445 MB, free: 2.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.933e-05/0.1148, allocations: 326.8 kB / 445.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1149, allocations: 35.97 kB / 445.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.918e-05/0.115, allocations: 39.97 kB / 445.4 MB, free: 2.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.1152, allocations: 88.72 kB / 445.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1152, allocations: 4 kB / 445.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002278/0.1155, allocations: 125.5 kB / 445.6 MB, free: 2.211 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1155, allocations: 4 kB / 445.6 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1155, allocations: 0 / 445.6 MB, free: 2.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1155, allocations: 3.938 kB / 445.6 MB, free: 2.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1156, allocations: 19.98 kB / 445.6 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.1157, allocations: 3.938 kB / 445.6 MB, free: 2.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.1157, allocations: 19.89 kB / 445.6 MB, free: 2.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.1157, allocations: 288 / 445.6 MB, free: 2.16 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/0.1158, allocations: 133.7 kB / 445.7 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.1158, allocations: 11.91 kB / 445.8 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002805/0.1161, allocations: 142.6 kB / 445.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1161, allocations: 4 kB / 445.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1161, allocations: 3.938 kB / 445.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1161, allocations: 0 / 445.9 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000405/0.1166, allocations: 410.5 kB / 446.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1166, allocations: 0 / 446.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.1166, allocations: 19.98 kB / 446.3 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.1167, allocations: 7.938 kB / 446.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1167, allocations: 0 / 446.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1167, allocations: 0 / 446.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1167, allocations: 0 / 446.3 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.1169, allocations: 219.3 kB / 446.5 MB, free: 1.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.934e-05/0.1169, allocations: 88.95 kB / 446.6 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.117, allocations: 7.984 kB / 446.6 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.923e-05/0.117, allocations: 8 kB / 446.6 MB, free: 1.016 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.1171, allocations: 7.984 kB / 446.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1171, allocations: 8 kB / 446.7 MB, free: 1 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.964e-05/0.1172, allocations: 131.9 kB / 446.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1172, allocations: 0 / 446.8 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000231/0.1174, allocations: 20 kB / 446.8 MB, free: 0.8516 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008143/0.1182, allocations: 408.1 kB / 447.2 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.1185, allocations: 95.86 kB / 447.3 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1185, allocations: 0 / 447.3 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.1186, allocations: 43.97 kB / 447.3 MB, free: 392 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.119, allocations: 23.92 kB / 447.4 MB, free: 368 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004696/0.1195, allocations: 271.7 kB / 447.6 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.1199, allocations: 0.7012 MB / 448.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.1199, allocations: 23.42 kB / 448.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of SimCode: time 2.284e-06/0.1199, allocations: 0 / 448.4 MB, free: 15.31 MB / 334.1 MB Notification: Performance of Templates: time 0.003768/0.1237, allocations: 1.659 MB / 450 MB, free: 13.66 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches