Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.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.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001406/0.001406, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2394/0.2394, allocations: 43.52 MB / 314.1 MB, free: 444 kB / 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.002778/0.002778, allocations: 69.45 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1522, allocations: 57.8 MB / 499.6 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.00299/0.1552, allocations: 1.562 MB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006664/0.1559, allocations: 343.3 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.156, allocations: 0 / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.1562, allocations: 31.86 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.1565, allocations: 35.83 kB / 0.4898 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.1567, allocations: 71.8 kB / 0.4899 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1569, allocations: 67.81 kB / 0.4899 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.157, allocations: 12.17 kB / 0.49 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.36e-05/0.157, allocations: 27.86 kB / 0.49 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.1571, allocations: 27.84 kB / 0.49 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.1572, allocations: 4 kB / 0.49 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.1573, allocations: 55.97 kB / 0.4901 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.137e-05/0.1574, allocations: 8 kB / 0.4901 GB, free: 9.512 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.1574, allocations: 27.78 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1576, allocations: 95.72 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1576, allocations: 0 / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1576, allocations: 0 / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1576, allocations: 0 / 0.4902 GB, free: 9.391 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000599/0.1583, allocations: 391.1 kB / 0.4906 GB, free: 8.961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1583, allocations: 12.03 kB / 0.4906 GB, free: 8.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.449e-05/0.1584, allocations: 8.844 kB / 0.4906 GB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.1586, allocations: 192.2 kB / 0.4908 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.1586, allocations: 384 / 0.4908 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.1586, allocations: 8.375 kB / 0.4908 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.1589, allocations: 79.25 kB / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.1589, allocations: 0 / 0.4909 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1589, allocations: 4 kB / 0.4909 GB, free: 8.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1589, allocations: 4 kB / 0.4909 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.159, allocations: 35.97 kB / 0.4909 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.1595, allocations: 292.8 kB / 0.4912 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1596, allocations: 62.48 kB / 0.4912 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.443e-05/0.1597, allocations: 20.97 kB / 0.4913 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.1597, allocations: 4.078 kB / 0.4913 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1598, allocations: 34.56 kB / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1598, allocations: 0 / 0.4913 GB, free: 8.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006423/0.1604, allocations: 173.2 kB / 0.4915 GB, free: 7.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.1605, allocations: 77.11 kB / 0.4915 GB, free: 7.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1606, allocations: 133.8 kB / 0.4917 GB, free: 7.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.1606, allocations: 37.7 kB / 0.4917 GB, free: 7.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.1607, allocations: 84.14 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.1607, allocations: 31.55 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.1608, allocations: 17.72 kB / 0.4918 GB, free: 7.504 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1609, allocations: 326.8 kB / 0.4921 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.829e-05/0.161, allocations: 23.92 kB / 0.4922 GB, free: 7.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.671e-05/0.1611, allocations: 41.64 kB / 0.4922 GB, free: 7.105 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.1613, allocations: 64.77 kB / 0.4923 GB, free: 7.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1613, allocations: 3.984 kB / 0.4923 GB, free: 7.035 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002007/0.1615, allocations: 90.03 kB / 0.4923 GB, free: 6.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1615, allocations: 4 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1615, allocations: 0 / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1615, allocations: 0 / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1617, allocations: 24.02 kB / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.1617, allocations: 0 / 0.4924 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.147e-05/0.1617, allocations: 7.984 kB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.1617, allocations: 11.94 kB / 0.4924 GB, free: 6.895 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 (7): * Single equations (assignments): 7 * 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.637e-05/0.1618, allocations: 117.8 kB / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.1619, allocations: 11.84 kB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002755/0.1622, allocations: 106.2 kB / 0.4926 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1622, allocations: 4 kB / 0.4926 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1622, allocations: 0 / 0.4926 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1622, allocations: 4 kB / 0.4926 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.1626, allocations: 378.5 kB / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1627, allocations: 0 / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.034e-05/0.1627, allocations: 15.98 kB / 0.493 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1627, allocations: 4 kB / 0.493 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1627, allocations: 0 / 0.493 GB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1628, allocations: 7.938 kB / 0.493 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1628, allocations: 0 / 0.493 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.163, allocations: 187.4 kB / 0.4932 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.1631, allocations: 81.11 kB / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1631, allocations: 0 / 0.4933 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.556e-05/0.1632, allocations: 15.86 kB / 0.4933 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.1632, allocations: 8 kB / 0.4933 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.1632, allocations: 4 kB / 0.4933 GB, free: 5.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.453e-05/0.1633, allocations: 111.2 kB / 0.4934 GB, free: 5.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.1633, allocations: 0 / 0.4934 GB, free: 5.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1636, allocations: 31.94 kB / 0.4934 GB, free: 5.719 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 (7): * Single equations (assignments): 7 * 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.001032/0.1646, allocations: 445.3 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002111/0.1648, allocations: 59.95 kB / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1648, allocations: 0 / 0.4939 GB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.1649, allocations: 39.92 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1653, allocations: 23.28 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005264/0.1658, allocations: 186 kB / 0.4942 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.1662, allocations: 0.6885 MB / 0.4948 GB, free: 4.281 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.979e-05/0.1663, allocations: 20.28 kB / 0.4948 GB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.1663, allocations: 19.44 kB / 0.4949 GB, free: 4.242 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1663, allocations: 0 / 0.4949 GB, free: 4.242 MB / 382.1 MB Notification: Performance of Templates: time 0.004835/0.1711, allocations: 1.482 MB / 0.4963 GB, free: 2.758 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches