Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.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.CombiTable2D.Test29,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_ModelicaTest.Tables.CombiTable2D.Test29") translateModel(ModelicaTest.Tables.CombiTable2D.Test29,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_ModelicaTest.Tables.CombiTable2D.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001356, allocations: 103.9 kB / 16.41 MB, free: 6.457 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.00156/0.00156, allocations: 185.5 kB / 17.34 MB, free: 5.719 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.714/1.714, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2596/0.2596, allocations: 43.52 MB / 314.1 MB, free: 444 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.001345/0.001345, allocations: 65.62 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1292, allocations: 57.8 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test29): time 0.003753/0.1331, allocations: 1.608 MB / 0.4895 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007301/0.1338, allocations: 315.5 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.1339, allocations: 4 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.1343, allocations: 79.77 kB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002828/0.1346, allocations: 55.75 kB / 0.4899 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003796/0.135, allocations: 115.7 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.1352, allocations: 71.83 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.1354, allocations: 12.19 kB / 0.4901 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.139e-05/0.1355, allocations: 39.83 kB / 0.4901 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1356, allocations: 47.83 kB / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1356, allocations: 0 / 0.4902 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.231e-05/0.1357, allocations: 43.97 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.83e-05/0.1358, allocations: 19.92 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.904e-05/0.1358, allocations: 27.75 kB / 0.4903 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.1361, allocations: 95.58 kB / 0.4904 GB, free: 9.238 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.969e-05/0.1361, allocations: 4 kB / 0.4904 GB, free: 9.234 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1361, allocations: 3.938 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.1362, allocations: 0 / 0.4904 GB, free: 9.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005276/0.1367, allocations: 406.8 kB / 0.4908 GB, free: 8.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1367, allocations: 11.89 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.94e-05/0.1368, allocations: 12.84 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.137, allocations: 196.2 kB / 0.491 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.137, allocations: 4.375 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.137, allocations: 8.375 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1373, allocations: 57.59 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.1373, allocations: 8 kB / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1373, allocations: 0 / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1373, allocations: 3.938 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.1375, allocations: 35.95 kB / 0.4911 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004062/0.1379, allocations: 296.7 kB / 0.4914 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.138, allocations: 42.56 kB / 0.4914 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.999e-05/0.1381, allocations: 28.88 kB / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.1381, allocations: 0 / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1382, allocations: 34.56 kB / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1382, allocations: 0 / 0.4915 GB, free: 7.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007272/0.1389, allocations: 217.4 kB / 0.4917 GB, free: 7.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.1389, allocations: 51.41 kB / 0.4917 GB, free: 7.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.1392, allocations: 202.2 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1392, allocations: 25.7 kB / 0.4919 GB, free: 7.426 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.769e-05/0.1393, allocations: 108.1 kB / 0.492 GB, free: 7.316 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/0.1393, allocations: 31.81 kB / 0.4921 GB, free: 7.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.1394, allocations: 17.7 kB / 0.4921 GB, free: 7.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.1395, allocations: 326.8 kB / 0.4924 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.1396, allocations: 27.97 kB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.933e-05/0.1397, allocations: 27.98 kB / 0.4924 GB, free: 6.879 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.1399, allocations: 84.8 kB / 0.4925 GB, free: 6.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.14, allocations: 3.938 kB / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002513/0.1402, allocations: 109.5 kB / 0.4926 GB, free: 6.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.1402, allocations: 8 kB / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1402, allocations: 0 / 0.4926 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1403, allocations: 4 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.1405, allocations: 23.98 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1405, allocations: 0 / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.1405, allocations: 11.92 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.1405, allocations: 4 kB / 0.4927 GB, free: 6.625 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 (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 9.508e-05/0.1406, allocations: 121.8 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.1407, allocations: 19.89 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003194/0.141, allocations: 130.3 kB / 0.4929 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.141, allocations: 4 kB / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.141, allocations: 0 / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.141, allocations: 3.938 kB / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.1416, allocations: 386.5 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.1416, allocations: 7.938 kB / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.675e-05/0.1417, allocations: 23.92 kB / 0.4934 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1417, allocations: 0 / 0.4934 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.1417, allocations: 3.938 kB / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1417, allocations: 0 / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1417, allocations: 480 / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.142, allocations: 219.4 kB / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.1421, allocations: 89.05 kB / 0.4937 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.1421, allocations: 3.938 kB / 0.4937 GB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.1422, allocations: 11.98 kB / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.1422, allocations: 4 kB / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1422, allocations: 0 / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1424, allocations: 167.9 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1424, allocations: 0 / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1426, allocations: 23.94 kB / 0.4939 GB, free: 5.32 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 (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.0009068/0.1435, allocations: 403.6 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002737/0.1438, allocations: 75.94 kB / 0.4943 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1438, allocations: 3.938 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.144, allocations: 47.91 kB / 0.4944 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.1443, allocations: 19.84 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/0.1447, allocations: 246.1 kB / 0.4946 GB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.145, allocations: 0.7002 MB / 0.4953 GB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.893e-05/0.1451, allocations: 15.98 kB / 0.4953 GB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.101e-05/0.1451, allocations: 11.44 kB / 0.4953 GB, free: 3.797 MB / 382.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1451, allocations: 0 / 0.4953 GB, free: 3.797 MB / 382.1 MB Notification: Performance of Templates: time 0.003685/0.1488, allocations: 1.268 MB / 0.4966 GB, free: 2.527 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches