Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.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.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") translateModel(ModelicaTest.Tables.CombiTable1D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 113.6 kB / 17.08 MB, free: 6.02 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.001895/0.001895, allocations: 193.3 kB / 18.01 MB, free: 5.098 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.32/1.32, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2193/0.2193, allocations: 43.53 MB / 314.8 MB, free: 468 kB / 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.001536/0.001536, allocations: 71.91 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1207, allocations: 57.8 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test23): time 0.002925/0.1236, allocations: 1.543 MB / 0.4901 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.1251, allocations: 0.9456 MB / 0.491 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.1251, allocations: 4 kB / 0.491 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002258/0.1254, allocations: 19.84 kB / 0.491 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.1256, allocations: 43.78 kB / 0.4911 GB, free: 9.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.1259, allocations: 95.81 kB / 0.4911 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001464/0.1261, allocations: 55.78 kB / 0.4912 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1262, allocations: 23.95 kB / 0.4912 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.029e-05/0.1263, allocations: 23.92 kB / 0.4912 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.1264, allocations: 23.86 kB / 0.4913 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.1264, allocations: 4 kB / 0.4913 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1266, allocations: 47.97 kB / 0.4913 GB, free: 8.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.899e-05/0.1266, allocations: 11.98 kB / 0.4913 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.1267, allocations: 19.88 kB / 0.4913 GB, free: 8.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002068/0.1269, allocations: 91.7 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1269, allocations: 0 / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1269, allocations: 0 / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1269, allocations: 0 / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000446/0.1274, allocations: 387.1 kB / 0.4918 GB, free: 8.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1274, allocations: 15.89 kB / 0.4918 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.1275, allocations: 4.938 kB / 0.4918 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.1276, allocations: 180.2 kB / 0.492 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1277, allocations: 4.375 kB / 0.492 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1277, allocations: 4.375 kB / 0.492 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1278, allocations: 75.45 kB / 0.4921 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1279, allocations: 3.984 kB / 0.4921 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.1279, allocations: 0 / 0.4921 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1279, allocations: 4 kB / 0.4921 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.744e-05/0.128, allocations: 23.97 kB / 0.4921 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.1284, allocations: 276.9 kB / 0.4924 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.1286, allocations: 50.5 kB / 0.4924 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.492e-05/0.1287, allocations: 24.94 kB / 0.4924 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1287, allocations: 0 / 0.4924 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.1287, allocations: 30.56 kB / 0.4925 GB, free: 7.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.1287, allocations: 0 / 0.4925 GB, free: 7.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000565/0.1293, allocations: 153.3 kB / 0.4926 GB, free: 7.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/0.1294, allocations: 77.11 kB / 0.4927 GB, free: 7.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.1295, allocations: 133.8 kB / 0.4928 GB, free: 7.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.643e-05/0.1296, allocations: 25.7 kB / 0.4928 GB, free: 7.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.1296, allocations: 95.98 kB / 0.4929 GB, free: 7.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.1297, allocations: 11.81 kB / 0.4929 GB, free: 7.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.066e-05/0.1297, allocations: 21.7 kB / 0.493 GB, free: 7.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1298, allocations: 326.7 kB / 0.4933 GB, free: 6.707 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.397e-05/0.1299, allocations: 23.98 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.13, allocations: 33.69 kB / 0.4933 GB, free: 6.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.1301, allocations: 56.77 kB / 0.4934 GB, free: 6.586 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.1302, allocations: 0 / 0.4934 GB, free: 6.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001938/0.1303, allocations: 85.56 kB / 0.4935 GB, free: 6.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1304, allocations: 12.03 kB / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1304, allocations: 0 / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1304, allocations: 0 / 0.4935 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.967e-05/0.1305, allocations: 8 kB / 0.4935 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.1305, allocations: 0 / 0.4935 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.345e-05/0.1306, allocations: 7.984 kB / 0.4935 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1306, allocations: 4 kB / 0.4935 GB, free: 6.465 MB / 382.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 (5): * Single equations (assignments): 5 * 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.231e-05/0.1307, allocations: 129.6 kB / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.1308, allocations: 0 / 0.4936 GB, free: 6.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.1311, allocations: 109.8 kB / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.1312, allocations: 0 / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.1312, allocations: 0 / 0.4937 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.1312, allocations: 4 kB / 0.4937 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006164/0.1318, allocations: 354.4 kB / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1318, allocations: 0 / 0.4941 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.773e-05/0.1319, allocations: 15.98 kB / 0.4941 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1319, allocations: 4 kB / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.132, allocations: 0 / 0.4941 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.132, allocations: 3.938 kB / 0.4941 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.132, allocations: 0 / 0.4941 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.1323, allocations: 179.5 kB / 0.4943 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.337e-05/0.1324, allocations: 81.02 kB / 0.4943 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.1324, allocations: 4 kB / 0.4943 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.896e-05/0.1325, allocations: 11.88 kB / 0.4944 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.1326, allocations: 7.984 kB / 0.4944 GB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.1326, allocations: 0 / 0.4944 GB, free: 5.469 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001069/0.1327, allocations: 107.8 kB / 0.4945 GB, free: 5.363 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1327, allocations: 0 / 0.4945 GB, free: 5.363 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.1332, allocations: 23.98 kB / 0.4945 GB, free: 5.34 MB / 382.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 (5): * Single equations (assignments): 5 * 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.001496/0.1347, allocations: 451.2 kB / 0.4949 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002991/0.135, allocations: 47.97 kB / 0.495 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.135, allocations: 4 kB / 0.495 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.1351, allocations: 27.92 kB / 0.495 GB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.1355, allocations: 23.84 kB / 0.495 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003802/0.1358, allocations: 191.1 kB / 0.4952 GB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.1361, allocations: 0.6924 MB / 0.4959 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/0.1362, allocations: 15.44 kB / 0.4959 GB, free: 3.883 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1362, allocations: 0 / 0.4959 GB, free: 3.883 MB / 382.1 MB Notification: Performance of Templates: time 0.003221/0.1394, allocations: 1.586 MB / 0.4974 GB, free: 2.301 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches