Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1D.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 99.89 kB / 15.98 MB, free: 6.336 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.001755/0.001755, allocations: 192.2 kB / 16.9 MB, free: 6.184 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.784/1.784, allocations: 205.1 MB / 222.8 MB, free: 12.44 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.2458/0.2458, allocations: 43.51 MB / 313.6 MB, free: 0.7109 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.001502/0.001502, allocations: 67.27 kB / 382.2 MB, free: 56.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.137, allocations: 57.79 MB / 440 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test27): time 0.003234/0.1403, allocations: 1.603 MB / 441.6 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000545/0.1409, allocations: 320.2 kB / 441.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.141, allocations: 4 kB / 441.9 MB, free: 5.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.1413, allocations: 123.7 kB / 442.1 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001876/0.1415, allocations: 75.78 kB / 442.1 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.1418, allocations: 91.27 kB / 442.2 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.1419, allocations: 83.8 kB / 442.3 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.142, allocations: 15.94 kB / 442.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.1421, allocations: 51.81 kB / 442.4 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.1422, allocations: 79.8 kB / 442.4 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1422, allocations: 0 / 442.4 MB, free: 4.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.25e-05/0.1423, allocations: 31.98 kB / 442.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.044e-05/0.1423, allocations: 23.92 kB / 442.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.1424, allocations: 35.67 kB / 442.5 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.1425, allocations: 103.6 kB / 442.6 MB, free: 4.723 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1425, allocations: 7.938 kB / 442.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1425, allocations: 4 kB / 442.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1425, allocations: 0 / 442.6 MB, free: 4.711 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004103/0.1429, allocations: 410.9 kB / 443 MB, free: 4.262 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.143, allocations: 15.89 kB / 443.1 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.143, allocations: 12.75 kB / 443.1 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1432, allocations: 204 kB / 443.3 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1432, allocations: 4.375 kB / 443.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.1433, allocations: 384 / 443.3 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.1434, allocations: 61.8 kB / 443.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1434, allocations: 3.984 kB / 443.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1434, allocations: 0 / 443.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1434, allocations: 0 / 443.3 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.053e-05/0.1435, allocations: 27.92 kB / 443.4 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.1439, allocations: 292.8 kB / 443.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.1441, allocations: 54.55 kB / 443.7 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.1441, allocations: 20.8 kB / 443.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1442, allocations: 0 / 443.7 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.1442, allocations: 30.66 kB / 443.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.1442, allocations: 0 / 443.8 MB, free: 3.434 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005448/0.1447, allocations: 173 kB / 443.9 MB, free: 3.258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.1448, allocations: 51.41 kB / 444 MB, free: 3.195 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.145, allocations: 266.3 kB / 444.2 MB, free: 2.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.145, allocations: 25.7 kB / 444.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.145, allocations: 112.1 kB / 444.4 MB, free: 2.777 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.145, allocations: 23.64 kB / 444.4 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/0.1451, allocations: 13.72 kB / 444.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.497e-05/0.1451, allocations: 334.8 kB / 444.7 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.1452, allocations: 19.98 kB / 444.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.096e-05/0.1453, allocations: 19.98 kB / 444.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001092/0.1454, allocations: 53.02 kB / 444.8 MB, free: 2.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1454, allocations: 4 kB / 444.8 MB, free: 2.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001512/0.1455, allocations: 97.5 kB / 444.9 MB, free: 2.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1456, allocations: 4 kB / 444.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1456, allocations: 0 / 444.9 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1456, allocations: 3.938 kB / 444.9 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.1457, allocations: 15.98 kB / 444.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.1457, allocations: 0 / 444.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.522e-05/0.1457, allocations: 4 kB / 445 MB, free: 2.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.1457, allocations: 0 / 445 MB, free: 2.172 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 (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 7.211e-05/0.1458, allocations: 145.7 kB / 445.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.069e-05/0.1458, allocations: 23.8 kB / 445.1 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.146, allocations: 98.59 kB / 445.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.146, allocations: 0 / 445.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.1461, allocations: 0 / 445.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1461, allocations: 4 kB / 445.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.1464, allocations: 366.5 kB / 445.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1464, allocations: 4 kB / 445.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.667e-05/0.1465, allocations: 11.98 kB / 445.6 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1465, allocations: 7.938 kB / 445.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1465, allocations: 0 / 445.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1465, allocations: 3.938 kB / 445.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1465, allocations: 0 / 445.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.1467, allocations: 195.5 kB / 445.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.385e-05/0.1467, allocations: 85.02 kB / 445.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.1467, allocations: 3.938 kB / 445.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.316e-05/0.1468, allocations: 7.938 kB / 445.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.1468, allocations: 7.984 kB / 445.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1468, allocations: 0 / 445.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.147, allocations: 199.2 kB / 446.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.147, allocations: 0 / 446.1 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1472, allocations: 19.98 kB / 446.1 MB, free: 0.9102 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 (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.0009048/0.1481, allocations: 395.3 kB / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.1483, allocations: 63.89 kB / 446.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1484, allocations: 0 / 446.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.505e-05/0.1484, allocations: 23.98 kB / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1488, allocations: 15.98 kB / 446.6 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004395/0.1493, allocations: 310.5 kB / 446.9 MB, free: 172 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1496, allocations: 0.7197 MB / 447.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.487e-05/0.1497, allocations: 11.98 kB / 447.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.1497, allocations: 11.44 kB / 447.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1497, allocations: 0 / 447.6 MB, free: 15.4 MB / 334.1 MB Notification: Performance of Templates: time 0.003757/0.1535, allocations: 1.128 MB / 448.8 MB, free: 14.28 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches