Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009529/0.0009529, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 184 kB / 16.92 MB, free: 6.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.165/2.165, allocations: 205.4 MB / 223.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4676/0.4676, allocations: 43.57 MB / 315 MB, free: 9.027 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.0006084/0.0006088, allocations: 24 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1444, allocations: 58.86 MB / 443.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002144/0.1466, allocations: 1.271 MB / 444.7 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006551/0.1473, allocations: 303.6 kB / 445 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.1473, allocations: 4 kB / 445 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.1475, allocations: 15.92 kB / 445 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.1477, allocations: 31.91 kB / 445.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.1479, allocations: 63.86 kB / 445.1 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.1481, allocations: 51.89 kB / 445.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1482, allocations: 11.98 kB / 445.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.576e-05/0.1483, allocations: 27.8 kB / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.182e-05/0.1483, allocations: 7.938 kB / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1483, allocations: 0 / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.836e-05/0.1484, allocations: 35.97 kB / 445.3 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.1485, allocations: 15.94 kB / 445.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.1485, allocations: 41.56 kB / 445.3 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.1487, allocations: 72.02 kB / 445.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1487, allocations: 0 / 445.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1487, allocations: 4 kB / 445.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.1487, allocations: 3.938 kB / 445.4 MB, free: 10.96 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.0004423/0.1492, allocations: 371.2 kB / 445.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1492, allocations: 8.031 kB / 445.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.516e-05/0.1493, allocations: 8.844 kB / 445.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.1495, allocations: 192.2 kB / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1495, allocations: 384 / 446 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1495, allocations: 8.375 kB / 446 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.1496, allocations: 53.8 kB / 446 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1497, allocations: 3.906 kB / 446 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1497, allocations: 0 / 446 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1497, allocations: 0 / 446 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.1498, allocations: 31.92 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.1502, allocations: 272.9 kB / 446.3 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.1504, allocations: 38.56 kB / 446.4 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.1504, allocations: 20.86 kB / 446.4 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1505, allocations: 8.078 kB / 446.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.1505, allocations: 34.5 kB / 446.4 MB, free: 9.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1505, allocations: 0 / 446.4 MB, free: 9.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005503/0.151, allocations: 153.4 kB / 446.6 MB, free: 9.613 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.1511, allocations: 59.34 kB / 446.6 MB, free: 9.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.1512, allocations: 142 kB / 446.8 MB, free: 9.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1513, allocations: 25.7 kB / 446.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.029e-05/0.1513, allocations: 96.12 kB / 446.9 MB, free: 9.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.1514, allocations: 15.75 kB / 446.9 MB, free: 9.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.1514, allocations: 17.72 kB / 446.9 MB, free: 9.223 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1515, allocations: 322.8 kB / 447.2 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.96e-05/0.1516, allocations: 23.98 kB / 447.3 MB, free: 8.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.602e-05/0.1517, allocations: 15.98 kB / 447.3 MB, free: 8.859 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1518, allocations: 61.03 kB / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1518, allocations: 0 / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001773/0.152, allocations: 89.5 kB / 447.4 MB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.152, allocations: 8 kB / 447.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.152, allocations: 7.938 kB / 447.4 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.1521, allocations: 0 / 447.4 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.225e-05/0.1521, allocations: 12 kB / 447.4 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1522, allocations: 3.984 kB / 447.5 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.994e-05/0.1522, allocations: 4 kB / 447.5 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1522, allocations: 4 kB / 447.5 MB, free: 8.664 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.909e-05/0.1523, allocations: 121.8 kB / 447.6 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.1523, allocations: 7.906 kB / 447.6 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.1526, allocations: 97.97 kB / 447.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.1526, allocations: 3.984 kB / 447.7 MB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1526, allocations: 7.875 kB / 447.7 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1526, allocations: 0 / 447.7 MB, free: 8.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.153, allocations: 350.5 kB / 448 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.153, allocations: 0 / 448 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-05/0.1531, allocations: 12 kB / 448 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1531, allocations: 0 / 448 MB, free: 8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1531, allocations: 3.984 kB / 448.1 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.1531, allocations: 7.938 kB / 448.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1531, allocations: 192 / 448.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.1533, allocations: 187.4 kB / 448.2 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.1534, allocations: 93 kB / 448.3 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.1534, allocations: 4 kB / 448.3 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.496e-05/0.1535, allocations: 8.219 kB / 448.3 MB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.1535, allocations: 7.984 kB / 448.4 MB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.1536, allocations: 0 / 448.4 MB, free: 7.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.96e-05/0.1536, allocations: 110.5 kB / 448.5 MB, free: 7.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1536, allocations: 0 / 448.5 MB, free: 7.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.1539, allocations: 16 kB / 448.5 MB, free: 7.539 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.0009673/0.1548, allocations: 415.2 kB / 448.9 MB, free: 7.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.1551, allocations: 59.91 kB / 448.9 MB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1551, allocations: 0 / 448.9 MB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.505e-05/0.1552, allocations: 27.98 kB / 449 MB, free: 7.066 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.1556, allocations: 19.98 kB / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.156, allocations: 176.7 kB / 449.2 MB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.1564, allocations: 0.6887 MB / 449.8 MB, free: 6.133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.283e-05/0.1565, allocations: 11.98 kB / 449.9 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.1565, allocations: 15.44 kB / 449.9 MB, free: 6.109 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1565, allocations: 0 / 449.9 MB, free: 6.109 MB / 382.1 MB Notification: Performance of Templates: time 0.00436/0.1609, allocations: 1.011 MB / 450.9 MB, free: 5.098 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches