Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 96.14 kB / 15.87 MB, free: 16 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.00128/0.001281, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.549/1.549, allocations: 205.1 MB / 222.6 MB, free: 4.992 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.3651/0.3651, allocations: 43.49 MB / 313.5 MB, free: 8.676 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.002044/0.002044, allocations: 71.88 kB / 382 MB, free: 9.039 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.154, allocations: 57.79 MB / 439.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.004027/0.1581, allocations: 1.622 MB / 441.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006973/0.1588, allocations: 311.5 kB / 441.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.638e-05/0.1589, allocations: 4 kB / 441.7 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.1593, allocations: 107.8 kB / 441.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002168/0.1595, allocations: 71.84 kB / 441.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002968/0.1599, allocations: 51.88 kB / 442 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.1601, allocations: 71.86 kB / 442 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.1602, allocations: 15.98 kB / 442.1 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.1603, allocations: 43.83 kB / 442.1 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001318/0.1605, allocations: 59.83 kB / 442.2 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1605, allocations: 4 kB / 442.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1606, allocations: 31.97 kB / 442.2 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.773e-05/0.1607, allocations: 23.92 kB / 442.2 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.1607, allocations: 31.62 kB / 442.2 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.161, allocations: 99.92 kB / 442.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.161, allocations: 0 / 442.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.161, allocations: 0 / 442.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.161, allocations: 0 / 442.3 MB, free: 12.61 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.0006719/0.1617, allocations: 406.9 kB / 442.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/0.1617, allocations: 16.03 kB / 442.8 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.1618, allocations: 12.83 kB / 442.8 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.162, allocations: 204 kB / 443 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1621, allocations: 384 / 443 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.1621, allocations: 8.375 kB / 443 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1622, allocations: 53.78 kB / 443 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1623, allocations: 0 / 443 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1623, allocations: 3.938 kB / 443 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1623, allocations: 4 kB / 443 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.97e-05/0.1624, allocations: 23.98 kB / 443.1 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003679/0.1628, allocations: 288.8 kB / 443.3 MB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.163, allocations: 42.55 kB / 443.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.1631, allocations: 16.86 kB / 443.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.1631, allocations: 4 kB / 443.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.1631, allocations: 30.56 kB / 443.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1631, allocations: 0 / 443.4 MB, free: 11.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005285/0.1637, allocations: 141.3 kB / 443.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.1637, allocations: 55.41 kB / 443.6 MB, free: 11.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.1639, allocations: 242.6 kB / 443.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.164, allocations: 29.7 kB / 443.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.164, allocations: 112.1 kB / 444 MB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.1641, allocations: 15.81 kB / 444 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.1641, allocations: 17.72 kB / 444 MB, free: 10.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1642, allocations: 330.7 kB / 444.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.1643, allocations: 15.98 kB / 444.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.568e-05/0.1644, allocations: 15.98 kB / 444.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1645, allocations: 52.83 kB / 444.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1645, allocations: 0 / 444.4 MB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000184/0.1647, allocations: 81.77 kB / 444.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.1647, allocations: 4 kB / 444.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1647, allocations: 0 / 444.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1647, allocations: 0 / 444.5 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.522e-05/0.1648, allocations: 19.92 kB / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1648, allocations: 4 kB / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.849e-05/0.1649, allocations: 7.984 kB / 444.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.1649, allocations: 4 kB / 444.6 MB, free: 10.17 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 9.877e-05/0.165, allocations: 133.7 kB / 444.7 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.165, allocations: 19.8 kB / 444.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.1653, allocations: 90.66 kB / 444.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1653, allocations: 0 / 444.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1653, allocations: 4 kB / 444.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1653, allocations: 4 kB / 444.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.1657, allocations: 358.4 kB / 445.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1658, allocations: 0 / 445.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-05/0.1658, allocations: 12 kB / 445.2 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1658, allocations: 3.984 kB / 445.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.1658, allocations: 0 / 445.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.1659, allocations: 3.938 kB / 445.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1659, allocations: 4 kB / 445.2 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.1661, allocations: 183.5 kB / 445.4 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.1661, allocations: 81.02 kB / 445.4 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.1662, allocations: 12.06 kB / 445.4 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.38e-05/0.1663, allocations: 7.922 kB / 445.5 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.1663, allocations: 4 kB / 445.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1663, allocations: 4 kB / 445.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002067/0.1665, allocations: 188.3 kB / 445.6 MB, free: 8.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1666, allocations: 0 / 445.6 MB, free: 8.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003576/0.1669, allocations: 12 kB / 445.7 MB, free: 8.949 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.001191/0.1681, allocations: 405.7 kB / 446.1 MB, free: 8.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.1684, allocations: 47.91 kB / 446.1 MB, free: 8.539 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1684, allocations: 7.938 kB / 446.1 MB, free: 8.531 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.208e-05/0.1685, allocations: 28.09 kB / 446.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.169, allocations: 19.94 kB / 446.2 MB, free: 8.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.1696, allocations: 272.2 kB / 446.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.1701, allocations: 0.7082 MB / 447.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.09e-05/0.1701, allocations: 8 kB / 447.1 MB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.1702, allocations: 11.44 kB / 447.2 MB, free: 7.441 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1702, allocations: 0 / 447.2 MB, free: 7.441 MB / 382.1 MB Notification: Performance of Templates: time 0.004011/0.1742, allocations: 1.077 MB / 448.2 MB, free: 6.363 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches