Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test21,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.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_3.2.3_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.001134/0.001134, allocations: 97.41 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.001287/0.001287, allocations: 186.2 kB / 16.92 MB, free: 6.891 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.092/2.092, allocations: 205.4 MB / 223.1 MB, free: 5.523 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.5118/0.5118, allocations: 43.57 MB / 315 MB, free: 9.078 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.0005763/0.0005764, allocations: 12 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.152, allocations: 58.87 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002248/0.1543, allocations: 1.275 MB / 444.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1557, allocations: 0.9064 MB / 445.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.1558, allocations: 4 kB / 445.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.1561, allocations: 27.91 kB / 445.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.1562, allocations: 31.91 kB / 445.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.1565, allocations: 63.86 kB / 445.7 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.1566, allocations: 51.84 kB / 445.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.1567, allocations: 11.98 kB / 445.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.075e-05/0.1568, allocations: 27.84 kB / 445.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1569, allocations: 23.92 kB / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.157, allocations: 0 / 445.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1571, allocations: 51.91 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.424e-05/0.1571, allocations: 3.984 kB / 445.9 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.591e-05/0.1572, allocations: 45.52 kB / 446 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.1574, allocations: 91.98 kB / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1574, allocations: 0 / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1574, allocations: 0 / 446.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5e-06/0.1574, allocations: 0 / 446.1 MB, free: 10.29 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.0004937/0.1579, allocations: 379.3 kB / 446.4 MB, free: 9.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1579, allocations: 8.031 kB / 446.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.158, allocations: 8.844 kB / 446.4 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.1582, allocations: 184.2 kB / 446.6 MB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1582, allocations: 4.375 kB / 446.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.1583, allocations: 384 / 446.6 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.1584, allocations: 71.47 kB / 446.7 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1585, allocations: 0 / 446.7 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1585, allocations: 4 kB / 446.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1585, allocations: 0 / 446.7 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1586, allocations: 27.97 kB / 446.7 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.159, allocations: 268.9 kB / 447 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.1592, allocations: 50.48 kB / 447 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.1593, allocations: 16.86 kB / 447.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1593, allocations: 4 kB / 447.1 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1593, allocations: 30.56 kB / 447.1 MB, free: 9.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.515e-06/0.1594, allocations: 3.984 kB / 447.1 MB, free: 9.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005851/0.1599, allocations: 153.4 kB / 447.2 MB, free: 8.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.001e-05/0.16, allocations: 81.11 kB / 447.3 MB, free: 8.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.1602, allocations: 137.8 kB / 447.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.1602, allocations: 25.7 kB / 447.5 MB, free: 8.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.08e-05/0.1603, allocations: 100.1 kB / 447.6 MB, free: 8.547 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.1603, allocations: 11.8 kB / 447.6 MB, free: 8.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.1603, allocations: 17.72 kB / 447.6 MB, free: 8.512 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1605, allocations: 318.8 kB / 447.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/0.1605, allocations: 23.98 kB / 447.9 MB, free: 8.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.1606, allocations: 37.7 kB / 448 MB, free: 8.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.1608, allocations: 56.77 kB / 448 MB, free: 8.066 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1608, allocations: 4 kB / 448 MB, free: 8.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001836/0.161, allocations: 85.61 kB / 448.1 MB, free: 7.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.161, allocations: 4 kB / 448.1 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.161, allocations: 3.938 kB / 448.1 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.161, allocations: 4 kB / 448.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.307e-05/0.1611, allocations: 12.23 kB / 448.1 MB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1611, allocations: 4 kB / 448.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.1612, allocations: 12 kB / 448.2 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1612, allocations: 0 / 448.2 MB, free: 7.934 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 0.000108/0.1613, allocations: 125.8 kB / 448.3 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.1613, allocations: 7.906 kB / 448.3 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.1616, allocations: 101.6 kB / 448.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1616, allocations: 4 kB / 448.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1616, allocations: 0 / 448.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1616, allocations: 0 / 448.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.1621, allocations: 346.5 kB / 448.7 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1621, allocations: 7.984 kB / 448.7 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.054e-05/0.1621, allocations: 12 kB / 448.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1622, allocations: 0 / 448.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.297e-05/0.1622, allocations: 8 kB / 448.8 MB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1622, allocations: 3.938 kB / 448.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1622, allocations: 0 / 448.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.1624, allocations: 187.4 kB / 448.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.09e-05/0.1625, allocations: 81.02 kB / 449 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.1625, allocations: 3.984 kB / 449 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.1626, allocations: 11.94 kB / 449 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.253e-05/0.1627, allocations: 7.938 kB / 449 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.1627, allocations: 4.188 kB / 449.1 MB, free: 6.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.633e-05/0.1628, allocations: 107.2 kB / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1628, allocations: 0 / 449.2 MB, free: 6.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.163, allocations: 20 kB / 449.2 MB, free: 6.809 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.001098/0.1641, allocations: 454 kB / 449.6 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002181/0.1644, allocations: 59.97 kB / 449.7 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1644, allocations: 0 / 449.7 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.427e-05/0.1645, allocations: 31.92 kB / 449.7 MB, free: 6.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.1648, allocations: 19.97 kB / 449.7 MB, free: 6.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.1653, allocations: 172.7 kB / 449.9 MB, free: 6.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1656, allocations: 0.6887 MB / 450.6 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.22e-05/0.1657, allocations: 8 kB / 450.6 MB, free: 5.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.1657, allocations: 19.42 kB / 450.6 MB, free: 5.344 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1657, allocations: 0 / 450.6 MB, free: 5.344 MB / 382.1 MB Notification: Performance of Templates: time 0.003958/0.1697, allocations: 1.276 MB / 451.9 MB, free: 4.066 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches