Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.001126/0.001126, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001609/0.002735, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001144/0.001144, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00788/0.009024, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 1.153/1.153, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09762/1.25, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.2732/0.2732, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02704/0.3003, allocations: 13.23 MB / 292.8 MB, free: 6.391 MB / 282.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 294.2 MB, free: 5.008 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.826e-05, allocations: 6.188 kB / 294.2 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002404/0.002432, allocations: 1.819 MB / 296 MB, free: 3.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.003698, allocations: 1.017 MB / 297 MB, free: 2.145 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.272e-05/0.003781, allocations: 3.938 kB / 297 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.003995, allocations: 39.7 kB / 297.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002606/0.004256, allocations: 99.42 kB / 297.2 MB, free: 2.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002183/0.004474, allocations: 87.53 kB / 297.3 MB, free: 1.918 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.004638, allocations: 99.66 kB / 297.4 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.683e-05/0.004725, allocations: 11.97 kB / 297.4 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.004862, allocations: 75.83 kB / 297.4 MB, free: 1.734 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.965e-05/0.004952, allocations: 31.89 kB / 297.5 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.004969, allocations: 4 kB / 297.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.191e-05/0.005061, allocations: 47.86 kB / 297.5 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.196e-05/0.005112, allocations: 19.88 kB / 297.5 MB, free: 1.633 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.005144, allocations: 11.94 kB / 297.5 MB, free: 1.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.005312, allocations: 91.67 kB / 297.6 MB, free: 1.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/0.005325, allocations: 4 kB / 297.6 MB, free: 1.527 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.005326, allocations: 4 kB / 297.6 MB, free: 1.523 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.588e-06/0.005336, allocations: 0 / 297.6 MB, free: 1.523 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004546/0.00579, allocations: 333 kB / 298 MB, free: 1.176 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.005829, allocations: 8.922 kB / 298 MB, free: 1.168 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.005866, allocations: 8.922 kB / 298 MB, free: 1.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.00603, allocations: 149.5 kB / 298.1 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.006048, allocations: 4.375 kB / 298.1 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.006071, allocations: 8.375 kB / 298.1 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.006182, allocations: 57.77 kB / 298.2 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.006193, allocations: 4.188 kB / 298.2 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.0062, allocations: 384 / 298.2 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.006207, allocations: 3.938 kB / 298.2 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.958e-05/0.006237, allocations: 19.92 kB / 298.2 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002252/0.006462, allocations: 165.9 kB / 298.4 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.358e-05/0.006555, allocations: 81.3 kB / 298.5 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.006576, allocations: 12.86 kB / 298.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.006589, allocations: 0 / 298.5 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.006699, allocations: 74.11 kB / 298.6 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.0067, allocations: 0 / 298.6 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003498/0.007049, allocations: 117.5 kB / 298.7 MB, free: 400 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.007085, allocations: 51.41 kB / 298.7 MB, free: 336 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.007204, allocations: 169 kB / 298.9 MB, free: 152 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.007221, allocations: 25.7 kB / 298.9 MB, free: 120 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.007258, allocations: 96.11 kB / 299 MB, free: 20 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.007299, allocations: 31.91 kB / 299 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.007331, allocations: 21.72 kB / 299.1 MB, free: 15.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.007411, allocations: 326.8 kB / 299.4 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/0.007428, allocations: 10.83 kB / 299.4 MB, free: 15.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.602e-05/0.007454, allocations: 25.7 kB / 299.4 MB, free: 15.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.007497, allocations: 40.45 kB / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.007499, allocations: 0 / 299.5 MB, free: 15.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.145e-05/0.00758, allocations: 72.56 kB / 299.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.007594, allocations: 11.75 kB / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.007599, allocations: 0 / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.007611, allocations: 0 / 299.5 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.007683, allocations: 23.92 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.007692, allocations: 4.031 kB / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.898e-05/0.007721, allocations: 384 / 299.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.007726, allocations: 4 kB / 299.6 MB, free: 15.42 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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 7.229e-05/0.007798, allocations: 120.7 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.007812, allocations: 7.938 kB / 299.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001121/0.007924, allocations: 84.22 kB / 299.8 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.007928, allocations: 8 kB / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.007931, allocations: 0 / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.007935, allocations: 0 / 299.8 MB, free: 15.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002363/0.008171, allocations: 291.4 kB / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.008173, allocations: 8.031 kB / 300.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.268e-05/0.008206, allocations: 11.98 kB / 300.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/0.008216, allocations: 7.953 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.008218, allocations: 0 / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.008226, allocations: 4 kB / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.008228, allocations: 0 / 300.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.00823, allocations: 3.984 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.008338, allocations: 223 kB / 300.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.008353, allocations: 4 kB / 300.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.711e-05/0.00839, allocations: 0 / 300.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.008419, allocations: 11.98 kB / 300.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.008432, allocations: 8 kB / 300.3 MB, free: 14.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.78e-05/0.00848, allocations: 53.2 kB / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.00848, allocations: 0 / 300.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001571/0.008637, allocations: 23.94 kB / 300.4 MB, free: 14.5 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001441/0.01008, allocations: 0.6182 MB / 301 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001077/0.01019, allocations: 40.78 kB / 301.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.0102, allocations: 3.984 kB / 301.1 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.478e-05/0.01024, allocations: 41 kB / 301.1 MB, free: 14.13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.01049, allocations: 184.9 kB / 301.3 MB, free: 13.92 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004767/0.01097, allocations: 224.5 kB / 301.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.91e-05/0.01101, allocations: 63.34 kB / 301.6 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.657e-05/0.01104, allocations: 12.97 kB / 301.6 MB, free: 13.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.545e-05/0.01111, allocations: 67.36 kB / 301.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01111, allocations: 0 / 301.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of Templates: time 0.003724/0.01483, allocations: 2.046 MB / 303.7 MB, free: 11.49 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2439248766750097]