Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 107.4 kB / 17.21 MB, free: 6.293 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.001435/0.001435, 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.541/1.541, allocations: 222.9 MB / 241.8 MB, free: 15.49 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.227/0.227, allocations: 44.18 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 62.38 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1531, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003381/0.1566, allocations: 1.633 MB / 470.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008325/0.1574, allocations: 407.3 kB / 470.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.1575, allocations: 0 / 470.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.1578, allocations: 71.84 kB / 470.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001644/0.158, allocations: 55.86 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.1582, allocations: 87.72 kB / 470.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.1584, allocations: 63.89 kB / 470.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1585, allocations: 12.19 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.1586, allocations: 39.83 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1587, allocations: 51.88 kB / 470.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.1587, allocations: 4 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1588, allocations: 39.92 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.213e-05/0.1589, allocations: 19.92 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.159, allocations: 31.75 kB / 471 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.1591, allocations: 95.98 kB / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1592, allocations: 0 / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1592, allocations: 0 / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1592, allocations: 0 / 471.1 MB, free: 12.24 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.0005343/0.1597, allocations: 403.1 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1598, allocations: 15.97 kB / 471.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.1598, allocations: 8.844 kB / 471.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.16, allocations: 200 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.16, allocations: 4.375 kB / 471.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1601, allocations: 4.375 kB / 471.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.1602, allocations: 53.61 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.1602, allocations: 0 / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/0.1603, allocations: 4 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1603, allocations: 4 kB / 471.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.626e-05/0.1604, allocations: 27.97 kB / 471.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.1608, allocations: 296.7 kB / 472.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.1609, allocations: 42.56 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.161, allocations: 12.86 kB / 472.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.161, allocations: 7.938 kB / 472.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.1611, allocations: 30.56 kB / 472.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1611, allocations: 0 / 472.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008874/0.162, allocations: 229.2 kB / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.162, allocations: 59.34 kB / 472.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.1622, allocations: 214.1 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.1623, allocations: 25.7 kB / 472.7 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.1623, allocations: 104 kB / 472.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.1624, allocations: 27.64 kB / 472.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.1624, allocations: 21.72 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1626, allocations: 322.8 kB / 473.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-05/0.1626, allocations: 27.98 kB / 473.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.1627, allocations: 19.98 kB / 473.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.1629, allocations: 60.83 kB / 473.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1629, allocations: 0 / 473.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002194/0.1631, allocations: 113.4 kB / 473.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1631, allocations: 4 kB / 473.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1632, allocations: 0 / 473.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1632, allocations: 7.938 kB / 473.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1633, allocations: 19.98 kB / 473.4 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.1633, allocations: 3.938 kB / 473.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.1633, allocations: 4 kB / 473.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1634, allocations: 4 kB / 473.4 MB, free: 9.68 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.1635, allocations: 126.4 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.1635, allocations: 7.906 kB / 473.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.1638, allocations: 122.3 kB / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1638, allocations: 0 / 473.7 MB, free: 9.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1638, allocations: 11.94 kB / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1638, allocations: 0 / 473.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005316/0.1644, allocations: 399.2 kB / 474.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1644, allocations: 4.031 kB / 474.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.046e-05/0.1645, allocations: 23.92 kB / 474.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1645, allocations: 0 / 474.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.1645, allocations: 0 / 474.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1645, allocations: 4 kB / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1645, allocations: 0 / 474.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.1648, allocations: 208.7 kB / 474.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.1648, allocations: 88.95 kB / 474.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.1648, allocations: 4 kB / 474.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.1649, allocations: 4 kB / 474.4 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.165, allocations: 3.984 kB / 474.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.165, allocations: 4 kB / 474.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.1651, allocations: 159.2 kB / 474.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1651, allocations: 0 / 474.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002513/0.1654, allocations: 24 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: 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 (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.001058/0.1664, allocations: 453.8 kB / 475.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.1667, allocations: 75.89 kB / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1667, allocations: 0 / 475.1 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.1668, allocations: 31.92 kB / 475.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.1672, allocations: 27.86 kB / 475.2 MB, free: 8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005223/0.1677, allocations: 269 kB / 475.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.1681, allocations: 0.7082 MB / 476.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.334e-05/0.1681, allocations: 16.91 kB / 476.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.1682, allocations: 19.42 kB / 476.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1682, allocations: 4 kB / 476.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of Templates: time 0.003955/0.1721, allocations: 1.265 MB / 477.5 MB, free: 5.668 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches