Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.0007897/0.0007897, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009906/0.00178, 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.001102/0.001102, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001375/0.002477, 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.072/1.072, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08934/1.161, allocations: 53.87 MB / 243.7 MB, free: 14.9 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.2483/0.2483, allocations: 34.85 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02736/0.2756, allocations: 13.23 MB / 292.6 MB, free: 6.453 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 294 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.637e-05, allocations: 2.312 kB / 294 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003626/0.003652, allocations: 1.807 MB / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.005384, allocations: 1.031 MB / 296.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.893e-05/0.005483, allocations: 0 / 296.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.005725, allocations: 39.72 kB / 296.8 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.00605, allocations: 91.53 kB / 296.9 MB, free: 2.102 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002883/0.006339, allocations: 87.53 kB / 297 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.006558, allocations: 95.72 kB / 297.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.006663, allocations: 11.97 kB / 297.1 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.006853, allocations: 79.77 kB / 297.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.006957, allocations: 31.89 kB / 297.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.006978, allocations: 4 kB / 297.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.007092, allocations: 43.92 kB / 297.3 MB, free: 1.754 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.00715, allocations: 15.94 kB / 297.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.299e-05/0.007193, allocations: 19.94 kB / 297.3 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.007396, allocations: 99.59 kB / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.781e-05/0.007414, allocations: 0 / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007415, allocations: 0 / 297.4 MB, free: 1.621 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.769e-05/0.007433, allocations: 0 / 297.4 MB, free: 1.621 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.0006369/0.00807, allocations: 341 kB / 297.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.008114, allocations: 8.922 kB / 297.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.00816, allocations: 8.922 kB / 297.7 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.008362, allocations: 146.3 kB / 297.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.008381, allocations: 4.375 kB / 297.9 MB, free: 1.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.008402, allocations: 8.375 kB / 297.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.008544, allocations: 61.77 kB / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.008556, allocations: 192 / 298 MB, free: 1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.008564, allocations: 4.312 kB / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.008573, allocations: 7.938 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.502e-05/0.008618, allocations: 15.92 kB / 298 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.008882, allocations: 165.9 kB / 298.2 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.009006, allocations: 85.36 kB / 298.2 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.688e-05/0.009032, allocations: 8.859 kB / 298.2 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.009044, allocations: 4 kB / 298.2 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.009167, allocations: 66.14 kB / 298.3 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.724e-06/0.009168, allocations: 0 / 298.3 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003757/0.009544, allocations: 117.4 kB / 298.4 MB, free: 496 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.009583, allocations: 51.41 kB / 298.5 MB, free: 432 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.00973, allocations: 181.3 kB / 298.7 MB, free: 236 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.009751, allocations: 33.69 kB / 298.7 MB, free: 196 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.891e-05/0.00979, allocations: 92.12 kB / 298.8 MB, free: 100 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.009823, allocations: 23.83 kB / 298.8 MB, free: 76 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-05/0.009865, allocations: 25.72 kB / 298.8 MB, free: 44 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.009975, allocations: 330.8 kB / 299.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.066e-05/0.01001, allocations: 10.81 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.193e-05/0.01004, allocations: 22.66 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.982e-05/0.0101, allocations: 44.52 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.0101, allocations: 4 kB / 299.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001007/0.0102, allocations: 64.48 kB / 299.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.01022, allocations: 11.94 kB / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.01022, allocations: 0 / 299.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.01023, allocations: 7.969 kB / 299.3 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.01032, allocations: 16 kB / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.01032, allocations: 0 / 299.3 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.257e-05/0.01037, allocations: 11.98 kB / 299.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.044e-06/0.01037, allocations: 0 / 299.3 MB, free: 15.5 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 8.182e-05/0.01046, allocations: 120.6 kB / 299.5 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.363e-05/0.01048, allocations: 15.92 kB / 299.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.01062, allocations: 71.64 kB / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01062, allocations: 0 / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01062, allocations: 0 / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01063, allocations: 4 kB / 299.5 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003062/0.01093, allocations: 299.4 kB / 299.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.01094, allocations: 8.25 kB / 299.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.01098, allocations: 12 kB / 299.9 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.011, allocations: 7.953 kB / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.011, allocations: 0 / 299.9 MB, free: 14.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.01102, allocations: 11.97 kB / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01102, allocations: 0 / 299.9 MB, free: 14.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.01102, allocations: 7.938 kB / 299.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.01119, allocations: 216.8 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.01121, allocations: 4.031 kB / 300.1 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.566e-05/0.01126, allocations: 8 kB / 300.1 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.01129, allocations: 7.984 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.0113, allocations: 3.938 kB / 300.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.268e-05/0.01134, allocations: 55.62 kB / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.01134, allocations: 0 / 300.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00014/0.01148, allocations: 23.98 kB / 300.2 MB, free: 14.57 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.001367/0.01285, allocations: 0.6112 MB / 300.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.305e-05/0.01293, allocations: 44.77 kB / 300.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.01294, allocations: 4 kB / 300.9 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.672e-05/0.01296, allocations: 28.77 kB / 300.9 MB, free: 14.22 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.01313, allocations: 40.05 kB / 300.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.01353, allocations: 228 kB / 301.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.937e-05/0.01357, allocations: 67.34 kB / 301.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.346e-05/0.01361, allocations: 12.97 kB / 301.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.01367, allocations: 67.36 kB / 301.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.01367, allocations: 0 / 301.3 MB, free: 13.76 MB / 298.7 MB Notification: Performance of Templates: time 0.003892/0.01756, allocations: 2.06 MB / 303.4 MB, free: 11.72 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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: 3.001892728731036]