Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 107.6 kB / 17.21 MB, free: 6.289 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.00133/0.00133, allocations: 194 kB / 18.12 MB, free: 5.383 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.512/1.512, allocations: 222.9 MB / 241.8 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2238/0.2238, allocations: 44.18 MB / 336.1 MB, free: 2.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 64.94 kB / 407.7 MB, free: 27.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1445, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.003193/0.1478, allocations: 1.61 MB / 470.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1494, allocations: 0.9921 MB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.1495, allocations: 0 / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.1498, allocations: 27.91 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.15, allocations: 31.91 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.1502, allocations: 75.61 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1504, allocations: 59.83 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1505, allocations: 11.97 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.948e-05/0.1505, allocations: 23.81 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.1507, allocations: 27.91 kB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1507, allocations: 0 / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.1508, allocations: 55.91 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.846e-05/0.1509, allocations: 3.938 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.154e-05/0.151, allocations: 27.84 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.1511, allocations: 83.8 kB / 471.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1512, allocations: 3.984 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1512, allocations: 0 / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.1512, allocations: 0 / 471.5 MB, free: 11.8 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005384/0.1517, allocations: 371.6 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1518, allocations: 8.031 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.1518, allocations: 8.844 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002091/0.152, allocations: 196.1 kB / 472.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.1521, allocations: 4.312 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.1521, allocations: 8.375 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.1523, allocations: 67.52 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.1523, allocations: 0 / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1523, allocations: 0 / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.1523, allocations: 0 / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.311e-05/0.1524, allocations: 23.98 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.1528, allocations: 280.8 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.153, allocations: 38.56 kB / 472.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/0.1531, allocations: 16.86 kB / 472.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1531, allocations: 0 / 472.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.1531, allocations: 34.64 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.1532, allocations: 4 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000555/0.1537, allocations: 133.3 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/0.1538, allocations: 85.11 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.1539, allocations: 129.8 kB / 472.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.1539, allocations: 29.7 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.907e-05/0.154, allocations: 88.14 kB / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.154, allocations: 23.75 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.1541, allocations: 17.7 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1542, allocations: 318.8 kB / 473.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.1543, allocations: 23.92 kB / 473.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.175e-05/0.1544, allocations: 29.7 kB / 473.4 MB, free: 9.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.1545, allocations: 52.86 kB / 473.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1545, allocations: 0 / 473.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001758/0.1547, allocations: 73.58 kB / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1547, allocations: 8 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.1547, allocations: 3.984 kB / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1548, allocations: 3.938 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.1548, allocations: 11.94 kB / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.1548, allocations: 0 / 473.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.1549, allocations: 11.98 kB / 473.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.1549, allocations: 4 kB / 473.6 MB, free: 9.496 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 (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 9.911e-05/0.155, allocations: 118.3 kB / 473.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.155, allocations: 3.906 kB / 473.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.1553, allocations: 97.86 kB / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1553, allocations: 0 / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1553, allocations: 0 / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1553, allocations: 4 kB / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004653/0.1558, allocations: 350.4 kB / 474.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1558, allocations: 0 / 474.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.1559, allocations: 11.98 kB / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1559, allocations: 4 kB / 474.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.1559, allocations: 4 kB / 474.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.1559, allocations: 3.938 kB / 474.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1559, allocations: 0 / 474.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002315/0.1561, allocations: 179.7 kB / 474.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.1562, allocations: 77.11 kB / 474.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1562, allocations: 11.97 kB / 474.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.1563, allocations: 3.938 kB / 474.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.1563, allocations: 4 kB / 474.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1564, allocations: 3.984 kB / 474.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.778e-05/0.1565, allocations: 109.8 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1565, allocations: 0 / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1567, allocations: 27.91 kB / 474.6 MB, free: 8.398 MB / 350.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.001001/0.1577, allocations: 439.4 kB / 475 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.1579, allocations: 51.91 kB / 475.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.158, allocations: 0 / 475.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.158, allocations: 27.97 kB / 475.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.1584, allocations: 19.88 kB / 475.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.1588, allocations: 167.3 kB / 475.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.1591, allocations: 0.6887 MB / 476 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.049e-05/0.1591, allocations: 11.97 kB / 476 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.692e-05/0.1592, allocations: 15.44 kB / 476 MB, free: 7.102 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1592, allocations: 4 kB / 476 MB, free: 7.098 MB / 350.1 MB Notification: Performance of Templates: time 0.003625/0.1628, allocations: 1.302 MB / 477.3 MB, free: 5.809 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches