Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.001081/0.001081, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001483/0.002564, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002376, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.017/1.017, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08261/1.099, allocations: 53.86 MB / 243.8 MB, free: 14.91 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.2427/0.2427, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02345/0.2661, allocations: 13.23 MB / 292.6 MB, free: 6.469 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 294 MB, free: 5.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.476e-05, allocations: 6.234 kB / 294 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002684/0.002708, allocations: 1.809 MB / 295.8 MB, free: 3.277 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.003881, allocations: 1.017 MB / 296.8 MB, free: 2.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.003961, allocations: 4 kB / 296.8 MB, free: 2.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.004189, allocations: 51.64 kB / 296.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.004428, allocations: 99.52 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.004592, allocations: 71.67 kB / 297 MB, free: 2.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.004736, allocations: 111.6 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.718e-05/0.004813, allocations: 7.984 kB / 297.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.004928, allocations: 83.81 kB / 297.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.004996, allocations: 27.84 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.005009, allocations: 8 kB / 297.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.274e-05/0.005092, allocations: 47.91 kB / 297.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.005135, allocations: 19.94 kB / 297.3 MB, free: 1.73 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.371e-05/0.005199, allocations: 19.88 kB / 297.3 MB, free: 1.711 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.00537, allocations: 111.5 kB / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.546e-05/0.005385, allocations: 0 / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.005387, allocations: 0 / 297.4 MB, free: 1.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.005402, allocations: 4 kB / 297.4 MB, free: 1.598 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.0004319/0.005834, allocations: 360.9 kB / 297.8 MB, free: 1.223 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.005865, allocations: 16.86 kB / 297.8 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.922e-05/0.005895, allocations: 8.922 kB / 297.8 MB, free: 1.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.006045, allocations: 166.4 kB / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.00606, allocations: 384 / 298 MB, free: 1.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.006077, allocations: 4.375 kB / 298 MB, free: 1.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.006177, allocations: 61.77 kB / 298 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.006185, allocations: 192 / 298 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.006192, allocations: 384 / 298 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.006198, allocations: 11.92 kB / 298.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.521e-05/0.006224, allocations: 8 kB / 298.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.006407, allocations: 173.9 kB / 298.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.286e-05/0.00649, allocations: 89.28 kB / 298.3 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.006509, allocations: 12.92 kB / 298.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.00652, allocations: 4 kB / 298.3 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.093e-05/0.006611, allocations: 62.2 kB / 298.4 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 8.12e-07/0.006612, allocations: 0 / 298.4 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002821/0.006894, allocations: 121.4 kB / 298.5 MB, free: 420 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.343e-05/0.006927, allocations: 51.41 kB / 298.6 MB, free: 356 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.007051, allocations: 223.9 kB / 298.8 MB, free: 116 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.007072, allocations: 29.7 kB / 298.8 MB, free: 80 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.007122, allocations: 104.1 kB / 298.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.007144, allocations: 19.84 kB / 298.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.007176, allocations: 25.7 kB / 299 MB, free: 15.92 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.289e-05/0.007259, allocations: 326.8 kB / 299.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.728e-05/0.007277, allocations: 14.81 kB / 299.3 MB, free: 15.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.211e-05/0.007299, allocations: 18.66 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.042e-05/0.007339, allocations: 48.58 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.00734, allocations: 3.938 kB / 299.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.988e-05/0.00741, allocations: 68.48 kB / 299.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.007422, allocations: 11.97 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.007426, allocations: 0 / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.395e-06/0.007435, allocations: 4 kB / 299.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.007499, allocations: 19.92 kB / 299.5 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.007503, allocations: 4 kB / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.381e-05/0.007527, allocations: 0 / 299.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.007534, allocations: 8 kB / 299.5 MB, free: 15.38 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 6.273e-05/0.007596, allocations: 112.6 kB / 299.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.00761, allocations: 19.92 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.568e-05/0.007706, allocations: 79.62 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.007708, allocations: 4 kB / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.007709, allocations: 0 / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.007712, allocations: 0 / 299.7 MB, free: 15.15 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001927/0.007905, allocations: 299.4 kB / 300 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.007908, allocations: 8.297 kB / 300 MB, free: 14.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.405e-05/0.007932, allocations: 8 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.466e-05/0.007946, allocations: 19.89 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.007949, allocations: 0 / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.007955, allocations: 4 kB / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.007956, allocations: 0 / 300 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007957, allocations: 8.031 kB / 300 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.008069, allocations: 222.6 kB / 300.2 MB, free: 14.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.008084, allocations: 4 kB / 300.2 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002075/0.01016, allocations: 4 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.0102, allocations: 7.984 kB / 300.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.01022, allocations: 7.938 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000107/0.01033, allocations: 71.61 kB / 300.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01033, allocations: 0 / 300.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000237/0.01057, allocations: 24 kB / 300.4 MB, free: 14.43 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.001569/0.01214, allocations: 0.6169 MB / 301 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.01226, allocations: 44.77 kB / 301 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/0.01227, allocations: 64 / 301 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.048e-05/0.01231, allocations: 36.78 kB / 301.1 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.01252, allocations: 39.91 kB / 301.1 MB, free: 14.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.01303, allocations: 268.5 kB / 301.4 MB, free: 13.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.01307, allocations: 75.19 kB / 301.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.505e-05/0.01311, allocations: 12.97 kB / 301.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.548e-05/0.01317, allocations: 71.36 kB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01317, allocations: 4.062 kB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Templates: time 0.003502/0.01667, allocations: 2.068 MB / 303.6 MB, free: 11.5 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.9388533364981413]