Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.0008543/0.0008543, allocations: 100.3 kB / 21.44 MB, free: 3.098 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.0008042/0.0008042, allocations: 151.8 kB / 24.7 MB, free: 9.445 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.8646/0.8646, allocations: 177 MB / 204.9 MB, free: 5.719 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.2451/0.2451, allocations: 34.24 MB / 295.6 MB, free: 0.6484 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.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 443.4 MB, free: 1.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.914e-05/3.105e-05, allocations: 6.281 kB / 443.4 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.1796/0.1796, allocations: 1.626 MB / 445.1 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006923/0.1803, allocations: 0.5492 MB / 445.6 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.1804, allocations: 4.281 kB / 445.6 MB, free: 43.58 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.1806, allocations: 100.1 kB / 445.7 MB, free: 43.56 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002415/0.1809, allocations: 116.6 kB / 445.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.1811, allocations: 117.4 kB / 446 MB, free: 43.46 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1812, allocations: 103.3 kB / 446.1 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1813, allocations: 20.16 kB / 446.1 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.314e-05/0.1814, allocations: 58 kB / 446.1 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1815, allocations: 61.12 kB / 446.2 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.1815, allocations: 5.25 kB / 446.2 MB, free: 43.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.959e-05/0.1816, allocations: 52.73 kB / 446.2 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.1817, allocations: 32.16 kB / 446.3 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.1817, allocations: 19.69 kB / 446.3 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.1819, allocations: 128.9 kB / 446.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1819, allocations: 0.8438 kB / 446.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1819, allocations: 0 / 446.4 MB, free: 43.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1819, allocations: 0.5 kB / 446.4 MB, free: 43.3 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004047/0.1823, allocations: 369.1 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1823, allocations: 8.844 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.1824, allocations: 17.44 kB / 446.8 MB, free: 42.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.1825, allocations: 153.5 kB / 447 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.1825, allocations: 3.156 kB / 447 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.1826, allocations: 3 kB / 447 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.1827, allocations: 86.27 kB / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1827, allocations: 192 / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1827, allocations: 384 / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.1827, allocations: 2.906 kB / 447.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.485e-05/0.1828, allocations: 48.8 kB / 447.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.1831, allocations: 281.2 kB / 447.4 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.1832, allocations: 72.17 kB / 447.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/0.1832, allocations: 31.44 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.1833, allocations: 3.938 kB / 447.5 MB, free: 42.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.1833, allocations: 37.22 kB / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1833, allocations: 0 / 447.5 MB, free: 42.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.000672/0.1839, allocations: 326.1 kB / 447.8 MB, free: 42.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.184, allocations: 51.41 kB / 447.9 MB, free: 42.22 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1841, allocations: 236.8 kB / 448.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.193e-06/0.1841, allocations: 28.7 kB / 448.1 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.149e-05/0.1841, allocations: 109.2 kB / 448.3 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.1842, allocations: 52.64 kB / 448.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.1842, allocations: 29.88 kB / 448.3 MB, free: 41.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.379e-05/0.1842, allocations: 331.3 kB / 448.7 MB, free: 41.56 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.551e-05/0.1843, allocations: 45.89 kB / 448.7 MB, free: 41.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.161e-05/0.1843, allocations: 46.73 kB / 448.7 MB, free: 41.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.1844, allocations: 117.5 kB / 448.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1844, allocations: 0 / 448.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001436/0.1846, allocations: 147.2 kB / 449 MB, free: 41.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1846, allocations: 5.688 kB / 449 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1846, allocations: 3.469 kB / 449 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1846, allocations: 0 / 449 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.197e-05/0.1847, allocations: 27.69 kB / 449 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1847, allocations: 7.938 kB / 449 MB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.343e-05/0.1847, allocations: 12.42 kB / 449.1 MB, free: 41.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.1847, allocations: 2.875 kB / 449.1 MB, free: 41.4 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 (13): * Single equations (assignments): 13 * 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 5.64e-05/0.1848, allocations: 135.5 kB / 449.2 MB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.1848, allocations: 16.62 kB / 449.2 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.185, allocations: 191.5 kB / 449.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.185, allocations: 0 / 449.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.185, allocations: 0 / 449.4 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.185, allocations: 7.938 kB / 449.4 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003581/0.1854, allocations: 439.6 kB / 449.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1854, allocations: 3.375 kB / 449.8 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.1855, allocations: 22.94 kB / 449.9 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.1855, allocations: 3.062 kB / 449.9 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.1855, allocations: 9.875 kB / 449.9 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1855, allocations: 3.938 kB / 449.9 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1855, allocations: 3.25 kB / 449.9 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.1856, allocations: 259.2 kB / 450.1 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.061e-05/0.1856, allocations: 10.69 kB / 450.1 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1857, allocations: 6.812 kB / 450.2 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.1857, allocations: 10.19 kB / 450.2 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.1857, allocations: 13.05 kB / 450.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-06/0.1857, allocations: 2.656 kB / 450.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.852e-05/0.1858, allocations: 186.6 kB / 450.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1858, allocations: 0 / 450.4 MB, free: 40.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001732/0.186, allocations: 28.09 kB / 450.4 MB, free: 40.54 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 (13): * Single equations (assignments): 13 * 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.0007258/0.1867, allocations: 477.4 kB / 450.9 MB, free: 40.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001721/0.1869, allocations: 116.6 kB / 451 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1869, allocations: 0 / 451 MB, free: 40.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.707e-05/0.1869, allocations: 59.45 kB / 451 MB, free: 40.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.1872, allocations: 23.97 kB / 451 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.1876, allocations: 359.7 kB / 451.4 MB, free: 40.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.309e-05/0.1877, allocations: 106.8 kB / 451.5 MB, free: 39.99 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.1877, allocations: 27.19 kB / 451.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1877, allocations: 3.938 kB / 451.5 MB, free: 39.98 MB / 410.7 MB Notification: Performance of Templates: time 0.002601/0.1903, allocations: 2.236 MB / 453.8 MB, free: 39.71 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.630148485302925]