Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001152, allocations: 96.33 kB / 16.98 MB, free: 6.398 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.001314/0.001314, allocations: 183.8 kB / 17.87 MB, free: 5.957 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.405/1.405, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2401/0.2401, allocations: 44.22 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003337/0.0003338, allocations: 8 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.002229/0.1531, allocations: 1.275 MB / 472.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1547, allocations: 0.9452 MB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.1548, allocations: 4 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.155, allocations: 23.91 kB / 473.7 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.1552, allocations: 35.84 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.1555, allocations: 74.72 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.1557, allocations: 39.89 kB / 473.8 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1558, allocations: 12.12 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.17e-05/0.1559, allocations: 23.91 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.156, allocations: 23.86 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1561, allocations: 4 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1562, allocations: 27.98 kB / 473.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.1562, allocations: 11.98 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.842e-05/0.1563, allocations: 37.64 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1564, allocations: 71.83 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1565, allocations: 0 / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1565, allocations: 0 / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1565, allocations: 0 / 474.1 MB, free: 11.11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005866/0.1571, allocations: 379.4 kB / 474.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.1571, allocations: 8.562 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5e-05/0.1572, allocations: 7.906 kB / 474.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1574, allocations: 190.9 kB / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.1575, allocations: 4 kB / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.1575, allocations: 0 / 474.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/0.1577, allocations: 79.34 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.1577, allocations: 4 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1577, allocations: 4 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1578, allocations: 4 kB / 474.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1579, allocations: 31.97 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.1583, allocations: 296.7 kB / 475 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.1585, allocations: 54.56 kB / 475.1 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.1585, allocations: 3.984 kB / 475.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.1585, allocations: 30.56 kB / 475.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.086e-06/0.1585, allocations: 0 / 475.1 MB, free: 9.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006699/0.1592, allocations: 201.3 kB / 475.3 MB, free: 9.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1593, allocations: 81.05 kB / 475.4 MB, free: 9.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1594, allocations: 137.8 kB / 475.5 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1594, allocations: 33.69 kB / 475.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.1595, allocations: 92.14 kB / 475.7 MB, free: 9.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.313e-05/0.1595, allocations: 31.55 kB / 475.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1596, allocations: 0 / 475.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1597, allocations: 322.8 kB / 476 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.908e-05/0.1598, allocations: 27.98 kB / 476 MB, free: 8.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.262e-05/0.1599, allocations: 49.62 kB / 476.1 MB, free: 8.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.588e-05/0.1599, allocations: 31.98 kB / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.16, allocations: 0 / 476.1 MB, free: 8.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002115/0.1602, allocations: 105.6 kB / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1602, allocations: 8.031 kB / 476.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1602, allocations: 0 / 476.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1602, allocations: 0 / 476.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1604, allocations: 27.91 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1604, allocations: 320 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.1604, allocations: 11.98 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.1604, allocations: 0 / 476.3 MB, free: 8.664 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 8.928e-05/0.1605, allocations: 121.8 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.1606, allocations: 11.91 kB / 476.4 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.1609, allocations: 125.9 kB / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.1609, allocations: 0 / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1609, allocations: 0 / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1609, allocations: 0 / 476.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.1614, allocations: 394.5 kB / 476.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1614, allocations: 0 / 476.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.135e-05/0.1615, allocations: 19.94 kB / 476.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1615, allocations: 0 / 476.9 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.1615, allocations: 7.984 kB / 476.9 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1615, allocations: 4 kB / 476.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1615, allocations: 0 / 476.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.1618, allocations: 203.4 kB / 477.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.1618, allocations: 89.39 kB / 477.2 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1619, allocations: 3.938 kB / 477.2 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.162, allocations: 15.98 kB / 477.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.162, allocations: 4 kB / 477.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.162, allocations: 4 kB / 477.2 MB, free: 7.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.1621, allocations: 113.7 kB / 477.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1621, allocations: 0 / 477.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.1624, allocations: 24 kB / 477.4 MB, free: 7.441 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 (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.001056/0.1635, allocations: 460.3 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.1637, allocations: 75.95 kB / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1637, allocations: 0 / 477.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.852e-05/0.1638, allocations: 35.92 kB / 477.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.1641, allocations: 19.94 kB / 478 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004193/0.1645, allocations: 205 kB / 478.2 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1648, allocations: 0.6965 MB / 478.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.084e-05/0.1649, allocations: 16.95 kB / 478.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.165, allocations: 11.44 kB / 478.9 MB, free: 6.051 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.165, allocations: 4 kB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of Templates: time 0.004983/0.17, allocations: 1.35 MB / 480.2 MB, free: 4.707 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches