Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008107/0.0008107, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003207/0.003207, allocations: 160 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8536/0.8536, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2424/0.2424, allocations: 34.24 MB / 295.6 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 3.938 kB / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.519e-05, allocations: 9.094 kB / 443.5 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.1757/0.1757, allocations: 1.594 MB / 445 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005935/0.1763, allocations: 0.5247 MB / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.1764, allocations: 2.781 kB / 445.6 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.1766, allocations: 86.17 kB / 445.7 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002049/0.1768, allocations: 101.4 kB / 445.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.177, allocations: 95.55 kB / 445.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.1771, allocations: 87.22 kB / 445.9 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.1772, allocations: 15.83 kB / 445.9 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.42e-05/0.1772, allocations: 51.19 kB / 446 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.596e-05/0.1773, allocations: 52.64 kB / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.1773, allocations: 2.656 kB / 446.1 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.61e-05/0.1774, allocations: 49.3 kB / 446.1 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.1774, allocations: 19.88 kB / 446.1 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.1775, allocations: 17.8 kB / 446.1 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.1776, allocations: 104.6 kB / 446.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.1776, allocations: 0 / 446.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1776, allocations: 1.594 kB / 446.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1776, allocations: 0 / 446.2 MB, free: 43.38 MB / 410.7 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.0002988/0.1779, allocations: 336.8 kB / 446.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.1779, allocations: 8.844 kB / 446.6 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.178, allocations: 21.72 kB / 446.6 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.1781, allocations: 138.8 kB / 446.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-06/0.1781, allocations: 384 / 446.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.1781, allocations: 4.156 kB / 446.7 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.898e-05/0.1782, allocations: 59.17 kB / 446.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.1782, allocations: 192 / 446.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1782, allocations: 384 / 446.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1782, allocations: 384 / 446.8 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.286e-05/0.1782, allocations: 31.89 kB / 446.8 MB, free: 42.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.1784, allocations: 242.5 kB / 447.1 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.218e-05/0.1785, allocations: 46.69 kB / 447.1 MB, free: 42.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.42e-05/0.1785, allocations: 13.88 kB / 447.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.1785, allocations: 0 / 447.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.276e-05/0.1786, allocations: 47.89 kB / 447.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1786, allocations: 0 / 447.2 MB, free: 42.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004948/0.1791, allocations: 231.1 kB / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.033e-05/0.1791, allocations: 51.41 kB / 447.4 MB, free: 42.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.1792, allocations: 216.1 kB / 447.7 MB, free: 42.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.1792, allocations: 25.7 kB / 447.7 MB, free: 42.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.1792, allocations: 115.2 kB / 447.8 MB, free: 42.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.1792, allocations: 25.73 kB / 447.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.1793, allocations: 23.34 kB / 447.8 MB, free: 42.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.87e-05/0.1793, allocations: 326.8 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.738e-05/0.1793, allocations: 21.69 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.1794, allocations: 28.08 kB / 448.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.867e-05/0.1794, allocations: 58.08 kB / 448.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.1794, allocations: 0 / 448.3 MB, free: 41.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001019/0.1795, allocations: 110.6 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.1795, allocations: 5.594 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1795, allocations: 0 / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1796, allocations: 0 / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.915e-05/0.1796, allocations: 17.83 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1796, allocations: 1.562 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.1796, allocations: 10.11 kB / 448.4 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.1796, allocations: 2.875 kB / 448.4 MB, free: 41.67 MB / 410.7 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 4.461e-05/0.1797, allocations: 125.1 kB / 448.5 MB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.633e-05/0.1797, allocations: 21.81 kB / 448.6 MB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.1798, allocations: 129.5 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1799, allocations: 0 / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1799, allocations: 2.844 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1799, allocations: 0 / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.1801, allocations: 341.3 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1801, allocations: 0 / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.1801, allocations: 25.7 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1801, allocations: 0 / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.1801, allocations: 4.781 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1801, allocations: 2.812 kB / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1801, allocations: 0 / 449.1 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.852e-05/0.1802, allocations: 206.6 kB / 449.3 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.364e-06/0.1802, allocations: 13.39 kB / 449.3 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.1802, allocations: 3.188 kB / 449.3 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.405e-05/0.1803, allocations: 2.594 kB / 449.3 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.411e-05/0.1803, allocations: 14.47 kB / 449.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.1803, allocations: 2.469 kB / 449.3 MB, free: 40.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.285e-05/0.1804, allocations: 159.6 kB / 449.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1804, allocations: 0 / 449.4 MB, free: 40.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001587/0.1805, allocations: 22.5 kB / 449.5 MB, free: 40.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0006639/0.1812, allocations: 486.3 kB / 449.9 MB, free: 40.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.1813, allocations: 62.91 kB / 450 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.1813, allocations: 0 / 450 MB, free: 40.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.915e-05/0.1814, allocations: 38.86 kB / 450 MB, free: 40.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.1816, allocations: 19.89 kB / 450.1 MB, free: 40.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.1819, allocations: 290.6 kB / 450.3 MB, free: 40.47 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.587e-05/0.1819, allocations: 98.89 kB / 450.4 MB, free: 40.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.182, allocations: 14.38 kB / 450.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of SimCode: time 3.71e-07/0.182, allocations: 0 / 450.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of Templates: time 0.001941/0.1839, allocations: 1.819 MB / 452.3 MB, free: 40.18 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.61119872611016]