Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 101.1 kB / 17 MB, free: 6.418 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.0009525/0.0009526, allocations: 191 kB / 17.89 MB, free: 5.945 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.614/1.614, allocations: 223.3 MB / 241.9 MB, free: 228 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2389/0.2389, allocations: 44.25 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004381, allocations: 8 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1496, allocations: 61.92 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.00181/0.1514, allocations: 1.282 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006288/0.1521, allocations: 371.6 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.1521, allocations: 0 / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000196/0.1523, allocations: 75.83 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.1525, allocations: 55.81 kB / 473.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.1527, allocations: 74.78 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.1528, allocations: 63.77 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.496e-05/0.1529, allocations: 12.17 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.765e-05/0.153, allocations: 27.91 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.608e-05/0.1531, allocations: 51.81 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1531, allocations: 0 / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.416e-05/0.1532, allocations: 35.98 kB / 473.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.353e-05/0.1532, allocations: 19.92 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.808e-05/0.1533, allocations: 37.64 kB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.1534, allocations: 67.89 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1534, allocations: 0 / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1534, allocations: 0 / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.1534, allocations: 0 / 473.7 MB, free: 11.53 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000401/0.1538, allocations: 411.1 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.1538, allocations: 8.562 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.1539, allocations: 7.906 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.154, allocations: 186.9 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.1541, allocations: 0 / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.1541, allocations: 4 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1542, allocations: 65.55 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1543, allocations: 3.906 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.1543, allocations: 4 kB / 474.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1543, allocations: 7.984 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.391e-05/0.1544, allocations: 27.97 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.1547, allocations: 292.8 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.906e-05/0.1548, allocations: 46.5 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.1549, allocations: 16.86 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1549, allocations: 4 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.1549, allocations: 30.56 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1549, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007742/0.1557, allocations: 249.2 kB / 475.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.1558, allocations: 51.41 kB / 475.1 MB, free: 9.961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.156, allocations: 210.1 kB / 475.3 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.156, allocations: 29.7 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.156, allocations: 104 kB / 475.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.1561, allocations: 27.7 kB / 475.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.1561, allocations: 8 kB / 475.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1562, allocations: 322.8 kB / 475.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.1563, allocations: 35.92 kB / 475.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.253e-05/0.1564, allocations: 24.06 kB / 475.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.258e-05/0.1565, allocations: 44.06 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1565, allocations: 0 / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001996/0.1567, allocations: 109.5 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1567, allocations: 4 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.1567, allocations: 0 / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.185e-06/0.1567, allocations: 4 kB / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.696e-05/0.1568, allocations: 23.98 kB / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.1568, allocations: 0 / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.1569, allocations: 4 kB / 476.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.1569, allocations: 4 kB / 476.1 MB, free: 8.992 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.719e-05/0.157, allocations: 133.7 kB / 476.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.157, allocations: 7.906 kB / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.1573, allocations: 130.3 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1573, allocations: 0 / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1573, allocations: 4 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1573, allocations: 3.938 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.1578, allocations: 411.2 kB / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.1578, allocations: 3.984 kB / 476.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.1579, allocations: 19.94 kB / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1579, allocations: 0 / 476.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.1579, allocations: 4 kB / 476.8 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1579, allocations: 3.984 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1579, allocations: 4.031 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.1582, allocations: 208.2 kB / 477 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.1583, allocations: 96.91 kB / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.1583, allocations: 4 kB / 477.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.648e-05/0.1584, allocations: 4 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.1584, allocations: 8.406 kB / 477.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.1584, allocations: 11.89 kB / 477.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1585, allocations: 155.2 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1585, allocations: 0 / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002338/0.1588, allocations: 19.98 kB / 477.3 MB, free: 7.672 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001001/0.1598, allocations: 460.4 kB / 477.7 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.16, allocations: 79.95 kB / 477.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.16, allocations: 0 / 477.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.489e-05/0.1601, allocations: 35.92 kB / 477.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.1604, allocations: 23.97 kB / 477.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.1608, allocations: 258.5 kB / 478.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.1611, allocations: 0.7083 MB / 478.8 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.897e-05/0.1612, allocations: 12.61 kB / 478.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.1612, allocations: 23.36 kB / 478.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1612, allocations: 3.938 kB / 478.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of Templates: time 0.003254/0.1645, allocations: 1.225 MB / 480.1 MB, free: 4.98 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches