Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.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.CombiTable1D.Test27,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.CombiTable1D.Test27") translateModel(ModelicaTest.Tables.CombiTable1D.Test27,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.CombiTable1D.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 102.9 kB / 16.27 MB, free: 5.977 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.002162/0.002162, allocations: 192.1 kB / 17.2 MB, free: 5.609 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.838/1.838, allocations: 205.1 MB / 223.1 MB, free: 12.19 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.2306/0.2306, allocations: 43.53 MB / 313.9 MB, free: 0.5273 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.002167/0.002167, allocations: 71.78 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1673, allocations: 57.79 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test27): time 0.003027/0.1704, allocations: 1.543 MB / 442.1 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006038/0.1711, allocations: 323.5 kB / 442.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.1711, allocations: 0 / 442.4 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003938/0.1716, allocations: 127.6 kB / 442.5 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.1718, allocations: 95.69 kB / 442.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.1721, allocations: 87.69 kB / 442.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.1723, allocations: 83.8 kB / 442.8 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.1725, allocations: 15.94 kB / 442.8 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.553e-05/0.1725, allocations: 43.88 kB / 442.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.1727, allocations: 83.8 kB / 442.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1727, allocations: 0 / 442.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.104e-05/0.1728, allocations: 27.98 kB / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.463e-05/0.1728, allocations: 23.92 kB / 443 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.1729, allocations: 31.69 kB / 443 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1731, allocations: 107.6 kB / 443.1 MB, free: 4.332 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1731, allocations: 3.984 kB / 443.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1731, allocations: 4 kB / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1731, allocations: 0 / 443.1 MB, free: 4.324 MB / 318.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.0004247/0.1735, allocations: 414.9 kB / 443.5 MB, free: 3.871 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.1736, allocations: 15.89 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.1736, allocations: 12.75 kB / 443.5 MB, free: 3.844 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.1738, allocations: 204 kB / 443.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.1738, allocations: 4.375 kB / 443.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.181e-05/0.1738, allocations: 384 / 443.7 MB, free: 3.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1739, allocations: 53.75 kB / 443.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.174, allocations: 3.984 kB / 443.8 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.174, allocations: 4 kB / 443.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.174, allocations: 4 kB / 443.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.341e-05/0.1741, allocations: 23.98 kB / 443.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003137/0.1744, allocations: 292.8 kB / 444.1 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.1746, allocations: 46.5 kB / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.745e-05/0.1747, allocations: 24.94 kB / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.1747, allocations: 3.984 kB / 444.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.1747, allocations: 30.56 kB / 444.2 MB, free: 3.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1747, allocations: 7.875 kB / 444.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005275/0.1752, allocations: 161.1 kB / 444.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.613e-05/0.1753, allocations: 55.41 kB / 444.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1755, allocations: 266.3 kB / 444.7 MB, free: 2.535 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/0.1755, allocations: 25.7 kB / 444.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.1755, allocations: 112.1 kB / 444.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.1755, allocations: 19.66 kB / 444.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.1756, allocations: 17.7 kB / 444.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.515e-05/0.1756, allocations: 330.8 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.349e-05/0.1757, allocations: 19.98 kB / 445.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.418e-05/0.1758, allocations: 23.98 kB / 445.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.1759, allocations: 57.02 kB / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1759, allocations: 0 / 445.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001529/0.1761, allocations: 89.5 kB / 445.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1761, allocations: 4 kB / 445.4 MB, free: 1.816 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1761, allocations: 3.984 kB / 445.4 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1761, allocations: 4 kB / 445.4 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.628e-05/0.1762, allocations: 15.98 kB / 445.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1762, allocations: 0 / 445.4 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.1762, allocations: 8 kB / 445.4 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.1762, allocations: 0 / 445.4 MB, free: 1.785 MB / 318.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 7.599e-05/0.1763, allocations: 137.7 kB / 445.5 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.1764, allocations: 11.81 kB / 445.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.1766, allocations: 114.6 kB / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1766, allocations: 0 / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1766, allocations: 0 / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1766, allocations: 4 kB / 445.7 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.177, allocations: 370.5 kB / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.177, allocations: 0 / 446 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.774e-05/0.177, allocations: 11.94 kB / 446 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1771, allocations: 11.98 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1771, allocations: 0 / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1771, allocations: 4.125 kB / 446.1 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1771, allocations: 4 kB / 446.1 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.1773, allocations: 187.3 kB / 446.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.1773, allocations: 88.95 kB / 446.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.1773, allocations: 0 / 446.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.48e-05/0.1774, allocations: 11.94 kB / 446.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1775, allocations: 7.984 kB / 446.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1775, allocations: 0 / 446.4 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1776, allocations: 199.2 kB / 446.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1776, allocations: 0 / 446.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002363/0.1778, allocations: 23.94 kB / 446.6 MB, free: 0.5195 MB / 318.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.0008615/0.1787, allocations: 394.1 kB / 447 MB, free: 212 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.1789, allocations: 59.95 kB / 447 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1789, allocations: 0 / 447 MB, free: 152 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.668e-05/0.179, allocations: 31.92 kB / 447 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003686/0.1794, allocations: 15.98 kB / 447.1 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.1798, allocations: 274.5 kB / 447.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.1801, allocations: 0.7119 MB / 448 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.152e-05/0.1802, allocations: 15.98 kB / 448.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.758e-05/0.1802, allocations: 11.44 kB / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of SimCode: time 1.764e-06/0.1802, allocations: 3.938 kB / 448.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Templates: time 0.004051/0.1843, allocations: 1.16 MB / 449.2 MB, free: 13.89 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches