Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00945/0.00945, allocations: 100.8 kB / 15.87 MB, free: 6.316 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.001543/0.001543, allocations: 192.8 kB / 16.79 MB, free: 6.242 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.853/1.853, allocations: 205.1 MB / 222.6 MB, free: 4.977 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.4907/0.4907, allocations: 43.49 MB / 313.5 MB, free: 8.438 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.002133/0.002133, allocations: 74.56 kB / 382 MB, free: 8.797 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1697, allocations: 57.8 MB / 439.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003516/0.1733, allocations: 1.626 MB / 441.5 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007876/0.1741, allocations: 319.6 kB / 441.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.1741, allocations: 0 / 441.8 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003288/0.1745, allocations: 87.81 kB / 441.9 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.1747, allocations: 59.86 kB / 441.9 MB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002272/0.1749, allocations: 67.86 kB / 442 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1751, allocations: 75.81 kB / 442.1 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1752, allocations: 20.39 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.707e-05/0.1753, allocations: 35.89 kB / 442.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.1754, allocations: 59.75 kB / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1754, allocations: 0 / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.207e-05/0.1755, allocations: 39.98 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.281e-05/0.1756, allocations: 23.92 kB / 442.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/0.1756, allocations: 27.75 kB / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.1758, allocations: 107.6 kB / 442.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1758, allocations: 0 / 442.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1758, allocations: 0 / 442.4 MB, free: 12.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.1759, allocations: 0 / 442.4 MB, free: 12.35 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005878/0.1764, allocations: 403 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1765, allocations: 12.03 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.1765, allocations: 16.75 kB / 442.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.1768, allocations: 204.8 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1768, allocations: 8.375 kB / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.1768, allocations: 384 / 443 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.177, allocations: 61.61 kB / 443 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.177, allocations: 0 / 443 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.177, allocations: 0 / 443 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.177, allocations: 0 / 443 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.1771, allocations: 31.97 kB / 443.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.1776, allocations: 320.7 kB / 443.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.1777, allocations: 50.5 kB / 443.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.41e-05/0.1778, allocations: 20.97 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1778, allocations: 0 / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.1779, allocations: 34.56 kB / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 3.476e-06/0.1779, allocations: 0 / 443.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006303/0.1785, allocations: 189.1 kB / 443.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.1786, allocations: 55.34 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.1788, allocations: 238.3 kB / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1788, allocations: 25.7 kB / 444 MB, free: 10.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.748e-05/0.1789, allocations: 108.1 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.1789, allocations: 27.64 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.179, allocations: 21.72 kB / 444.1 MB, free: 10.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1791, allocations: 322.8 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.1792, allocations: 23.98 kB / 444.5 MB, free: 10 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.892e-05/0.1792, allocations: 32.03 kB / 444.5 MB, free: 9.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.1794, allocations: 56.84 kB / 444.6 MB, free: 9.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1794, allocations: 0 / 444.6 MB, free: 9.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002123/0.1796, allocations: 105.5 kB / 444.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1796, allocations: 7.938 kB / 444.7 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1796, allocations: 3.938 kB / 444.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1797, allocations: 4 kB / 444.7 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1798, allocations: 15.98 kB / 444.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1798, allocations: 0 / 444.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.499e-05/0.1798, allocations: 15.94 kB / 444.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1799, allocations: 7.984 kB / 444.7 MB, free: 9.75 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 (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.0002142/0.1801, allocations: 129.8 kB / 444.9 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.1801, allocations: 15.81 kB / 444.9 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.1804, allocations: 119 kB / 445 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1804, allocations: 0 / 445 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.1804, allocations: 0 / 445 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.1805, allocations: 11.92 kB / 445 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004625/0.1809, allocations: 386.5 kB / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1809, allocations: 384 / 445.4 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.315e-05/0.181, allocations: 19.92 kB / 445.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.181, allocations: 7.938 kB / 445.4 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.181, allocations: 7.938 kB / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.181, allocations: 0 / 445.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.181, allocations: 4 kB / 445.4 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.1813, allocations: 195.7 kB / 445.6 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1814, allocations: 85.02 kB / 445.7 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1814, allocations: 7.938 kB / 445.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.559e-05/0.1815, allocations: 7.984 kB / 445.7 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.1816, allocations: 4 kB / 445.7 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1816, allocations: 7.984 kB / 445.7 MB, free: 8.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.1817, allocations: 172.2 kB / 445.9 MB, free: 8.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1817, allocations: 0 / 445.9 MB, free: 8.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000242/0.182, allocations: 20 kB / 445.9 MB, free: 8.469 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 (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.0009304/0.1829, allocations: 410.4 kB / 446.3 MB, free: 8.098 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1831, allocations: 59.95 kB / 446.4 MB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1832, allocations: 8 kB / 446.4 MB, free: 8.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.132e-05/0.1832, allocations: 35.92 kB / 446.4 MB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.1836, allocations: 15.98 kB / 446.4 MB, free: 7.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005555/0.1842, allocations: 291.8 kB / 446.7 MB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.1846, allocations: 0.7121 MB / 447.4 MB, free: 6.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.81e-05/0.1846, allocations: 4.672 kB / 447.4 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.1847, allocations: 15.44 kB / 447.4 MB, free: 6.906 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1847, allocations: 0 / 447.4 MB, free: 6.906 MB / 382.1 MB Notification: Performance of Templates: time 0.00446/0.1891, allocations: 1.155 MB / 448.6 MB, free: 5.75 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches