Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 105.7 kB / 16.93 MB, free: 5.773 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.001247/0.001247, allocations: 187.3 kB / 17.86 MB, free: 5.16 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.422/1.422, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2314/0.2314, allocations: 43.51 MB / 314.6 MB, free: 0.5273 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.001711/0.001711, allocations: 70.25 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09753/0.09925, allocations: 57.78 MB / 441.2 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.00285/0.1022, allocations: 1.603 MB / 442.8 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005831/0.1028, allocations: 355.4 kB / 443.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.154e-05/0.1029, allocations: 0 / 443.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.1031, allocations: 59.78 kB / 443.2 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.1033, allocations: 59.75 kB / 443.3 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.1037, allocations: 151.3 kB / 443.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.1039, allocations: 75.75 kB / 443.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.104, allocations: 27.94 kB / 443.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.196e-05/0.1041, allocations: 31.89 kB / 443.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.1042, allocations: 39.84 kB / 443.6 MB, free: 4.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1042, allocations: 4 kB / 443.6 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.887e-05/0.1043, allocations: 31.98 kB / 443.6 MB, free: 4.465 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.909e-05/0.1044, allocations: 31.91 kB / 443.6 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.1044, allocations: 23.81 kB / 443.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.1046, allocations: 83.66 kB / 443.7 MB, free: 4.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1046, allocations: 4 kB / 443.7 MB, free: 4.324 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1046, allocations: 4 kB / 443.7 MB, free: 4.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1046, allocations: 0 / 443.7 MB, free: 4.32 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.0004012/0.105, allocations: 399.1 kB / 444.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.105, allocations: 11.89 kB / 444.2 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.1051, allocations: 8.844 kB / 444.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1052, allocations: 200.7 kB / 444.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.1052, allocations: 4.312 kB / 444.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.965e-05/0.1053, allocations: 7.938 kB / 444.4 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1054, allocations: 65.61 kB / 444.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1055, allocations: 0 / 444.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1055, allocations: 0 / 444.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.1055, allocations: 0 / 444.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.1056, allocations: 39.97 kB / 444.5 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.106, allocations: 312.7 kB / 444.8 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1061, allocations: 50.48 kB / 444.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.638e-05/0.1062, allocations: 24.94 kB / 444.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1062, allocations: 0 / 444.8 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.1062, allocations: 38.56 kB / 444.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1062, allocations: 0 / 444.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007324/0.107, allocations: 225.3 kB / 445.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.107, allocations: 59.28 kB / 445.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.1072, allocations: 184.5 kB / 445.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.1072, allocations: 29.7 kB / 445.4 MB, free: 2.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.1072, allocations: 100.1 kB / 445.5 MB, free: 2.398 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.1072, allocations: 23.64 kB / 445.5 MB, free: 2.375 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.1073, allocations: 17.72 kB / 445.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.047e-05/0.1073, allocations: 326.8 kB / 445.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1075, allocations: 31.97 kB / 445.9 MB, free: 1.992 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1076, allocations: 43.95 kB / 445.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002018/0.1078, allocations: 88.8 kB / 446 MB, free: 1.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1078, allocations: 0 / 446 MB, free: 1.859 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002721/0.1081, allocations: 129.5 kB / 446.1 MB, free: 1.727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1081, allocations: 4 kB / 446.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1081, allocations: 0 / 446.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1081, allocations: 4 kB / 446.1 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1082, allocations: 23.97 kB / 446.1 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1083, allocations: 3.938 kB / 446.2 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/0.1083, allocations: 8 kB / 446.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.1083, allocations: 4 kB / 446.2 MB, free: 1.68 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 6.512e-05/0.1084, allocations: 129.8 kB / 446.3 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.1084, allocations: 15.81 kB / 446.3 MB, free: 1.527 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.1088, allocations: 142.3 kB / 446.4 MB, free: 1.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1088, allocations: 3.938 kB / 446.5 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1088, allocations: 3.938 kB / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1088, allocations: 0 / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.1092, allocations: 414.8 kB / 446.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1092, allocations: 0 / 446.9 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.872e-05/0.1093, allocations: 19.97 kB / 446.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1093, allocations: 3.938 kB / 446.9 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.1094, allocations: 4 kB / 446.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1094, allocations: 0 / 446.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1094, allocations: 0 / 446.9 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.1096, allocations: 223.5 kB / 447.1 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.1097, allocations: 88.95 kB / 447.2 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1097, allocations: 4 kB / 447.2 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.1098, allocations: 7.984 kB / 447.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.1098, allocations: 7.938 kB / 447.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.1099, allocations: 0 / 447.2 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.398e-05/0.1099, allocations: 147.9 kB / 447.4 MB, free: 388 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1099, allocations: 4 kB / 447.4 MB, free: 384 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1102, allocations: 20 kB / 447.4 MB, free: 364 kB / 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.000904/0.1111, allocations: 412.2 kB / 447.8 MB, free: 32 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003397/0.1115, allocations: 92 kB / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1115, allocations: 0 / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.1116, allocations: 51.91 kB / 447.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.112, allocations: 23.92 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.1125, allocations: 260.1 kB / 448.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1128, allocations: 0.708 MB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.628e-05/0.1129, allocations: 11.44 kB / 448.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1129, allocations: 0 / 448.9 MB, free: 14.83 MB / 334.1 MB Notification: Performance of Templates: time 0.003845/0.1167, allocations: 1.684 MB / 450.6 MB, free: 13.15 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches