Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.0008688/0.0008688, allocations: 84.34 kB / 21.44 MB, free: 3.117 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.004943/0.004943, allocations: 152.9 kB / 24.69 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.8982/0.8982, allocations: 177 MB / 204.9 MB, free: 5.742 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.2717/0.2717, allocations: 34.25 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.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 443.5 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.605e-05, allocations: 2.281 kB / 443.5 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.1761/0.1761, allocations: 1.786 MB / 445.3 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001458/0.1776, allocations: 1.734 MB / 447 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.643e-05/0.1776, allocations: 6.656 kB / 447 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.1779, allocations: 52.86 kB / 447.1 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003247/0.1782, allocations: 142 kB / 447.2 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.1784, allocations: 112.8 kB / 447.3 MB, free: 42.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.1786, allocations: 214.9 kB / 447.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.708e-05/0.1786, allocations: 7.406 kB / 447.5 MB, free: 42.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1787, allocations: 109 kB / 447.6 MB, free: 42.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.1788, allocations: 66.19 kB / 447.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1788, allocations: 10.84 kB / 447.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.179, allocations: 107.6 kB / 447.8 MB, free: 42.27 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.47e-05/0.179, allocations: 42 kB / 447.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.1791, allocations: 36.5 kB / 447.9 MB, free: 42.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1793, allocations: 229.4 kB / 448.1 MB, free: 42.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1793, allocations: 2.906 kB / 448.1 MB, free: 42.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1793, allocations: 0.5625 kB / 448.1 MB, free: 42.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1793, allocations: 2.875 kB / 448.1 MB, free: 42.14 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004537/0.1798, allocations: 433.5 kB / 448.6 MB, free: 41.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1798, allocations: 7.875 kB / 448.6 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.672e-05/0.1798, allocations: 20.95 kB / 448.6 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.1801, allocations: 185.8 kB / 448.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.1801, allocations: 7.219 kB / 448.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.1801, allocations: 6.125 kB / 448.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1803, allocations: 157.9 kB / 448.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.1803, allocations: 192 / 448.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1803, allocations: 384 / 448.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1803, allocations: 3.938 kB / 448.9 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.209e-05/0.1803, allocations: 39.45 kB / 449 MB, free: 41.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.1805, allocations: 158.4 kB / 449.1 MB, free: 41.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.1806, allocations: 106.4 kB / 449.2 MB, free: 41.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.657e-05/0.1807, allocations: 40.55 kB / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.1807, allocations: 6.188 kB / 449.3 MB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.1808, allocations: 124.1 kB / 449.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 7.61e-07/0.1808, allocations: 0 / 449.4 MB, free: 41.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002731/0.1811, allocations: 175.7 kB / 449.6 MB, free: 41.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.359e-05/0.1811, allocations: 138.5 kB / 449.7 MB, free: 40.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.1813, allocations: 243.4 kB / 449.9 MB, free: 40.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/0.1813, allocations: 29.7 kB / 450 MB, free: 40.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.1813, allocations: 119.9 kB / 450.1 MB, free: 40.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.1814, allocations: 25.92 kB / 450.1 MB, free: 40.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.1814, allocations: 32.11 kB / 450.1 MB, free: 40.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.573e-05/0.1814, allocations: 331 kB / 450.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.745e-05/0.1815, allocations: 28.42 kB / 450.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.1815, allocations: 125.6 kB / 450.6 MB, free: 40.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.1816, allocations: 96.03 kB / 450.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1816, allocations: 3.562 kB / 450.7 MB, free: 40.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001488/0.1818, allocations: 145.3 kB / 450.9 MB, free: 39.95 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.1818, allocations: 9.719 kB / 450.9 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1818, allocations: 0 / 450.9 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1818, allocations: 2.906 kB / 450.9 MB, free: 39.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.527e-05/0.1819, allocations: 23.89 kB / 450.9 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1819, allocations: 2.906 kB / 450.9 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.805e-05/0.1819, allocations: 12.98 kB / 450.9 MB, free: 39.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.1819, allocations: 6.875 kB / 450.9 MB, free: 39.93 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.232e-05/0.182, allocations: 132.4 kB / 451 MB, free: 39.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.182, allocations: 20.52 kB / 451.1 MB, free: 39.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001886/0.1822, allocations: 170.9 kB / 451.2 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1822, allocations: 0 / 451.2 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1822, allocations: 6.688 kB / 451.2 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1822, allocations: 0 / 451.2 MB, free: 39.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.783e-05/0.1823, allocations: 165.9 kB / 451.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1823, allocations: 0 / 451.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.1823, allocations: 11.91 kB / 451.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.542e-06/0.1823, allocations: 2.438 kB / 451.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.1824, allocations: 6 kB / 451.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1824, allocations: 0 / 451.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1824, allocations: 0 / 451.4 MB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.1825, allocations: 190.7 kB / 451.6 MB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.942e-05/0.1825, allocations: 21.03 kB / 451.6 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1825, allocations: 5.891 kB / 451.6 MB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.304e-05/0.1826, allocations: 6.812 kB / 451.6 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.1826, allocations: 12.73 kB / 451.7 MB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.1826, allocations: 10.19 kB / 451.7 MB, free: 39.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.053e-05/0.1827, allocations: 186.3 kB / 451.8 MB, free: 39.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1827, allocations: 0 / 451.8 MB, free: 39.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001836/0.1829, allocations: 55.12 kB / 451.9 MB, free: 39.3 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.0007962/0.1837, allocations: 0.5283 MB / 452.4 MB, free: 39.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.1839, allocations: 88.61 kB / 452.5 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1839, allocations: 0 / 452.5 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.477e-05/0.1839, allocations: 38.25 kB / 452.6 MB, free: 39.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.1841, allocations: 63.17 kB / 452.6 MB, free: 39.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.1845, allocations: 323.8 kB / 452.9 MB, free: 38.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.66e-05/0.1846, allocations: 113.9 kB / 453 MB, free: 38.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.1846, allocations: 30 kB / 453.1 MB, free: 38.73 MB / 410.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1846, allocations: 4 kB / 453.1 MB, free: 38.72 MB / 410.7 MB Notification: Performance of Templates: time 0.003302/0.1879, allocations: 3.257 MB / 456.3 MB, free: 38.35 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.16906907223165]