Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009634/0.0009634, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001618/0.002581, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000792/0.000792, allocations: 169.1 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001692/0.002484, allocations: 455.6 kB / 11.71 MB, free: 2.457 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08442/1.085, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2477/0.2477, allocations: 34.26 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02653/0.2742, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 292.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.567e-05/1.792e-05, allocations: 3.188 kB / 292.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002092/0.00211, allocations: 1.82 MB / 294.5 MB, free: 4.391 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.003576, allocations: 1.018 MB / 295.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.098e-05/0.003657, allocations: 4 kB / 295.6 MB, free: 3.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.003867, allocations: 47.7 kB / 295.6 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.004081, allocations: 99.47 kB / 295.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001665/0.004247, allocations: 79.66 kB / 295.8 MB, free: 3.141 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.004405, allocations: 103.7 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.527e-05/0.0045, allocations: 15.91 kB / 295.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.004638, allocations: 75.89 kB / 296 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.545e-05/0.004724, allocations: 35.83 kB / 296 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.00474, allocations: 4 kB / 296 MB, free: 2.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.004826, allocations: 47.86 kB / 296 MB, free: 2.863 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.004873, allocations: 19.94 kB / 296.1 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/0.004912, allocations: 23.86 kB / 296.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.005097, allocations: 107.6 kB / 296.2 MB, free: 2.715 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.949e-05/0.005117, allocations: 4 kB / 296.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005118, allocations: 0 / 296.2 MB, free: 2.711 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.005135, allocations: 0 / 296.2 MB, free: 2.711 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.0005336/0.005668, allocations: 360.8 kB / 296.6 MB, free: 2.336 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.0057, allocations: 12.03 kB / 296.6 MB, free: 2.324 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.005733, allocations: 16.86 kB / 296.6 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.005895, allocations: 162.4 kB / 296.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.00591, allocations: 384 / 296.7 MB, free: 2.121 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/0.005928, allocations: 4.375 kB / 296.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.006032, allocations: 65.75 kB / 296.8 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.006043, allocations: 3.938 kB / 296.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.00605, allocations: 0 / 296.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.006055, allocations: 0 / 296.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.765e-05/0.006083, allocations: 8 kB / 296.8 MB, free: 2.031 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/0.006301, allocations: 173.9 kB / 297 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.556e-05/0.006396, allocations: 89.36 kB / 297.1 MB, free: 1.746 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.006418, allocations: 12.86 kB / 297.1 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.00643, allocations: 4 kB / 297.1 MB, free: 1.727 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/0.006534, allocations: 66.12 kB / 297.2 MB, free: 1.648 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.006535, allocations: 4 kB / 297.2 MB, free: 1.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002936/0.006829, allocations: 113.5 kB / 297.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.00686, allocations: 51.41 kB / 297.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.006992, allocations: 209.3 kB / 297.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.00701, allocations: 37.64 kB / 297.6 MB, free: 1.203 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.007047, allocations: 100.1 kB / 297.7 MB, free: 1.102 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.533e-05/0.007073, allocations: 19.84 kB / 297.7 MB, free: 1.082 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.007106, allocations: 25.7 kB / 297.7 MB, free: 1.051 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.007188, allocations: 330.8 kB / 298 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.007204, allocations: 10.83 kB / 298 MB, free: 0.707 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.007228, allocations: 25.7 kB / 298.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.214e-05/0.00727, allocations: 40.52 kB / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.007271, allocations: 3.938 kB / 298.1 MB, free: 0.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.407e-05/0.007345, allocations: 80.44 kB / 298.2 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.007356, allocations: 4 kB / 298.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.00736, allocations: 0 / 298.2 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.007371, allocations: 4 kB / 298.2 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.266e-05/0.007444, allocations: 19.92 kB / 298.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.007449, allocations: 4 kB / 298.2 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.019e-05/0.007479, allocations: 4 kB / 298.2 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.007486, allocations: 4 kB / 298.2 MB, free: 0.5 MB / 282.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.542e-05/0.007561, allocations: 112.6 kB / 298.3 MB, free: 388 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.007577, allocations: 19.92 kB / 298.4 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.007688, allocations: 83.09 kB / 298.4 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.00769, allocations: 0 / 298.4 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.007695, allocations: 3.984 kB / 298.4 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.007699, allocations: 0 / 298.4 MB, free: 276 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.007975, allocations: 311.3 kB / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.007977, allocations: 0 / 298.7 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.008009, allocations: 8 kB / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.586e-05/0.008024, allocations: 15.91 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008027, allocations: 0 / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.008036, allocations: 4.359 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.008037, allocations: 4.031 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.00804, allocations: 4 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.008172, allocations: 223 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.00819, allocations: 4 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.081e-05/0.008231, allocations: 7.984 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.00826, allocations: 4 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.008274, allocations: 7.984 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.613e-05/0.00834, allocations: 71.75 kB / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00834, allocations: 0 / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.008509, allocations: 24 kB / 299.1 MB, free: 15.54 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.001545/0.01005, allocations: 0.636 MB / 299.8 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.01018, allocations: 44.72 kB / 299.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.01019, allocations: 8.062 kB / 299.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.01023, allocations: 32.97 kB / 299.8 MB, free: 15.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.01044, allocations: 45 kB / 299.9 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.01097, allocations: 268.2 kB / 300.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.746e-05/0.01102, allocations: 71.33 kB / 300.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.808e-05/0.01106, allocations: 12.97 kB / 300.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.01112, allocations: 75.42 kB / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01112, allocations: 0 / 300.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of Templates: time 0.003803/0.01493, allocations: 2.062 MB / 302.4 MB, free: 12.63 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8077456057071686]