Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001282/0.001282, allocations: 193.3 kB / 18.91 MB, free: 4.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 242.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1971/0.1971, allocations: 44.18 MB / 336.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 69.39 kB / 408.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1031, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002971/0.1061, allocations: 1.689 MB / 471.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006534/0.1067, allocations: 423.1 kB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.069e-05/0.1068, allocations: 0 / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.107, allocations: 43.88 kB / 471.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001616/0.1072, allocations: 51.83 kB / 471.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.1075, allocations: 118.5 kB / 471.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.1076, allocations: 67.84 kB / 471.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.1077, allocations: 19.98 kB / 471.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.02e-05/0.1078, allocations: 35.84 kB / 471.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.1079, allocations: 39.83 kB / 471.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.1079, allocations: 4 kB / 471.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.595e-05/0.108, allocations: 51.97 kB / 471.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.1081, allocations: 23.92 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.1081, allocations: 27.75 kB / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.1082, allocations: 75.89 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1082, allocations: 0 / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1082, allocations: 0 / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.1082, allocations: 3.938 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004309/0.1087, allocations: 407.3 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1087, allocations: 8.031 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.1088, allocations: 12.84 kB / 472.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.1089, allocations: 200.1 kB / 472.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.774e-06/0.109, allocations: 384 / 472.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.109, allocations: 4.375 kB / 472.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.1091, allocations: 65.73 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1092, allocations: 4 kB / 472.7 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1092, allocations: 8 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1092, allocations: 0 / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001299/0.1093, allocations: 31.97 kB / 472.8 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.1097, allocations: 308.6 kB / 473.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.1099, allocations: 54.56 kB / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.068e-05/0.11, allocations: 28.95 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.11, allocations: 0 / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.11, allocations: 34.56 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.11, allocations: 3.938 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001338/0.1114, allocations: 380.9 kB / 473.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.1114, allocations: 59.34 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1116, allocations: 164.2 kB / 473.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.1116, allocations: 29.7 kB / 473.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.315e-05/0.1117, allocations: 96.12 kB / 473.9 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.1117, allocations: 31.47 kB / 473.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.1117, allocations: 33.7 kB / 474 MB, free: 9.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1119, allocations: 322.8 kB / 474.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.112, allocations: 39.97 kB / 474.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1121, allocations: 43.97 kB / 474.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.1123, allocations: 100.8 kB / 474.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1123, allocations: 0 / 474.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000287/0.1126, allocations: 145.7 kB / 474.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.1127, allocations: 4 kB / 474.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1127, allocations: 4.562 kB / 474.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.1127, allocations: 0 / 474.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1128, allocations: 27.92 kB / 474.6 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.1128, allocations: 4 kB / 474.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.026e-05/0.1129, allocations: 19.86 kB / 474.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1129, allocations: 8 kB / 474.7 MB, free: 9.207 MB / 350.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 (11): * Single equations (assignments): 11 * 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 8.811e-05/0.113, allocations: 118.4 kB / 474.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.389e-05/0.113, allocations: 11.81 kB / 474.8 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003665/0.1134, allocations: 170.2 kB / 475 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1134, allocations: 3.938 kB / 475 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1134, allocations: 0 / 475 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1134, allocations: 7.984 kB / 475 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006048/0.1141, allocations: 468 kB / 475.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1141, allocations: 0 / 475.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.1142, allocations: 27.97 kB / 475.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1142, allocations: 0 / 475.5 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.1142, allocations: 4 kB / 475.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1142, allocations: 0 / 475.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1142, allocations: 0 / 475.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003344/0.1146, allocations: 264.9 kB / 475.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.1146, allocations: 81.02 kB / 475.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.1146, allocations: 4 kB / 475.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.969e-05/0.1147, allocations: 11.98 kB / 475.8 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.1148, allocations: 15.98 kB / 475.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.1148, allocations: 0 / 475.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.656e-05/0.1149, allocations: 129.8 kB / 476 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1149, allocations: 0 / 476 MB, free: 7.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1152, allocations: 24 kB / 476 MB, free: 7.777 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001006/0.1162, allocations: 465.8 kB / 476.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003088/0.1165, allocations: 111.9 kB / 476.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1165, allocations: 0 / 476.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.1166, allocations: 64.03 kB / 476.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.117, allocations: 26.55 kB / 476.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.1175, allocations: 309.7 kB / 476.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.1178, allocations: 0.7079 MB / 477.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/0.1178, allocations: 19.44 kB / 477.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1179, allocations: 0 / 477.7 MB, free: 6.211 MB / 350.1 MB Notification: Performance of Templates: time 0.003265/0.1211, allocations: 1.832 MB / 479.5 MB, free: 4.383 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches