Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.0007994/0.0007994, 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.003866/0.003866, 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.8843/0.8843, allocations: 177 MB / 204.9 MB, free: 5.758 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.2483/0.2483, allocations: 34.24 MB / 295.6 MB, free: 0.6875 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.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 443.5 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.481e-05/2.633e-05, allocations: 5.094 kB / 443.5 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.1798/0.1798, allocations: 1.871 MB / 445.4 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.181, allocations: 1.084 MB / 446.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.436e-05/0.1811, allocations: 0 / 446.5 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.1814, allocations: 258.5 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.1818, allocations: 241.5 kB / 447 MB, free: 42.89 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.1819, allocations: 110.2 kB / 447.1 MB, free: 42.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000223/0.1822, allocations: 279 kB / 447.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1823, allocations: 22.75 kB / 447.4 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.1824, allocations: 156.3 kB / 447.5 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.1825, allocations: 192.6 kB / 447.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.1825, allocations: 11.22 kB / 447.7 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.351e-05/0.1826, allocations: 70.08 kB / 447.8 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.504e-05/0.1827, allocations: 68.09 kB / 447.9 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.53e-05/0.1827, allocations: 47.03 kB / 447.9 MB, free: 42.56 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.183, allocations: 256 kB / 448.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.183, allocations: 0.5312 kB / 448.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.183, allocations: 3.562 kB / 448.2 MB, free: 42.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.183, allocations: 0 / 448.2 MB, free: 42.46 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004481/0.1834, allocations: 0.5114 MB / 448.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.1834, allocations: 11.5 kB / 448.7 MB, free: 42.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.1835, allocations: 35.2 kB / 448.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.1837, allocations: 233.8 kB / 448.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.1837, allocations: 7.125 kB / 448.9 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.1838, allocations: 13.8 kB / 449 MB, free: 41.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.1839, allocations: 108.7 kB / 449.1 MB, free: 41.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.1839, allocations: 5.438 kB / 449.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1839, allocations: 5.969 kB / 449.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1839, allocations: 3.938 kB / 449.1 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.06e-05/0.184, allocations: 59.67 kB / 449.1 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.1843, allocations: 410.3 kB / 449.5 MB, free: 41.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.1846, allocations: 125.9 kB / 449.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.889e-05/0.1846, allocations: 45.97 kB / 449.7 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.1847, allocations: 0 / 449.7 MB, free: 41.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.1848, allocations: 128.5 kB / 449.8 MB, free: 41.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 9.52e-07/0.1848, allocations: 0 / 449.8 MB, free: 41.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007502/0.1855, allocations: 0.5251 MB / 450.4 MB, free: 40.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.1856, allocations: 79.89 kB / 450.4 MB, free: 40.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.1858, allocations: 0.4974 MB / 450.9 MB, free: 40.65 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.1858, allocations: 35.91 kB / 451 MB, free: 40.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.1859, allocations: 167.1 kB / 451.1 MB, free: 40.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.049e-05/0.1859, allocations: 82.03 kB / 451.2 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.186, allocations: 42.09 kB / 451.3 MB, free: 40.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.186, allocations: 352 kB / 451.6 MB, free: 40.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.903e-05/0.1861, allocations: 65.23 kB / 451.7 MB, free: 40.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.197e-05/0.1862, allocations: 93.58 kB / 451.7 MB, free: 39.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.1863, allocations: 163.5 kB / 451.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1863, allocations: 0 / 451.9 MB, free: 39.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002175/0.1865, allocations: 247 kB / 452.2 MB, free: 39.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1865, allocations: 5.719 kB / 452.2 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1865, allocations: 4.062 kB / 452.2 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1866, allocations: 2.688 kB / 452.2 MB, free: 39.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.1866, allocations: 44.88 kB / 452.2 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1866, allocations: 4.469 kB / 452.2 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.1867, allocations: 10.72 kB / 452.2 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.1867, allocations: 8.375 kB / 452.2 MB, free: 39.75 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.214e-05/0.1868, allocations: 178.2 kB / 452.4 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.1868, allocations: 36.58 kB / 452.4 MB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.1871, allocations: 285 kB / 452.7 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1871, allocations: 2.812 kB / 452.7 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1871, allocations: 0 / 452.7 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1871, allocations: 0 / 452.7 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.1876, allocations: 0.6844 MB / 453.4 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1876, allocations: 0 / 453.4 MB, free: 39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.948e-05/0.1876, allocations: 41.52 kB / 453.4 MB, free: 38.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1876, allocations: 3 kB / 453.4 MB, free: 38.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1876, allocations: 11.03 kB / 453.5 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1876, allocations: 6.219 kB / 453.5 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1876, allocations: 2.719 kB / 453.5 MB, free: 38.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1879, allocations: 448.6 kB / 453.9 MB, free: 38.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.1879, allocations: 31.42 kB / 453.9 MB, free: 38.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.1879, allocations: 6.781 kB / 453.9 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.188, allocations: 13.06 kB / 454 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.188, allocations: 19.3 kB / 454 MB, free: 38.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.1881, allocations: 11.86 kB / 454 MB, free: 38.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.1882, allocations: 383.2 kB / 454.4 MB, free: 38.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1882, allocations: 0 / 454.4 MB, free: 38.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.1885, allocations: 51.31 kB / 454.4 MB, free: 38.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008199/0.1893, allocations: 0.541 MB / 455 MB, free: 38.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1895, allocations: 167.1 kB / 455.1 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1895, allocations: 0 / 455.1 MB, free: 38.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.343e-05/0.1896, allocations: 84.2 kB / 455.2 MB, free: 38.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.1899, allocations: 55.62 kB / 455.3 MB, free: 38.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.1905, allocations: 0.6454 MB / 455.9 MB, free: 37.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.341e-05/0.1906, allocations: 187.8 kB / 456.1 MB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.242e-05/0.1906, allocations: 29.09 kB / 456.1 MB, free: 37.68 MB / 410.7 MB Notification: Performance of SimCode: time 6.32e-07/0.1906, allocations: 0 / 456.1 MB, free: 37.68 MB / 410.7 MB Notification: Performance of Templates: time 0.003477/0.1941, allocations: 4.014 MB / 460.1 MB, free: 37.15 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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: 5.241769956424832]