Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001691/0.001691, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001037/0.001037, allocations: 100.4 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3381/0.3381, allocations: 44.84 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 71.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2985, allocations: 62.02 MB / 0.5152 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002894/0.3014, allocations: 1.813 MB / 0.5169 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3029, allocations: 1.026 MB / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.573e-05/0.303, allocations: 0 / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.3033, allocations: 92.31 kB / 0.518 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.3035, allocations: 101.2 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.3038, allocations: 94.41 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.304, allocations: 119.6 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.3041, allocations: 16.28 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.262e-05/0.3041, allocations: 53.11 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.981e-05/0.3042, allocations: 54.48 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.3042, allocations: 2.906 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.771e-05/0.3044, allocations: 64.3 kB / 0.5185 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.3044, allocations: 22.94 kB / 0.5185 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.3045, allocations: 36.22 kB / 0.5186 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.3046, allocations: 142.9 kB / 0.5187 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3046, allocations: 0 / 0.5187 GB, free: 35.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.3046, allocations: 0 / 0.5187 GB, free: 35.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.3047, allocations: 0 / 0.5187 GB, free: 35.46 MB / 378.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.0005057/0.3052, allocations: 430.3 kB / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.3052, allocations: 14.5 kB / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.3053, allocations: 14.22 kB / 0.5191 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.3055, allocations: 222.1 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3055, allocations: 2.875 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.3055, allocations: 10.88 kB / 0.5194 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3057, allocations: 54.2 kB / 0.5194 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3057, allocations: 0 / 0.5194 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.3057, allocations: 7.375 kB / 0.5194 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.3057, allocations: 6.906 kB / 0.5194 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.208e-05/0.3058, allocations: 24.47 kB / 0.5194 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.3061, allocations: 299.2 kB / 0.5197 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.3063, allocations: 59.17 kB / 0.5198 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.3064, allocations: 23.88 kB / 0.5198 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.3064, allocations: 4 kB / 0.5198 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.3065, allocations: 71.5 kB / 0.5199 GB, free: 34.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.3066, allocations: 0 / 0.5199 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006357/0.3072, allocations: 251.3 kB / 0.5201 GB, free: 34.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.3072, allocations: 58.31 kB / 0.5202 GB, free: 34.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.3074, allocations: 216.2 kB / 0.5204 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.3074, allocations: 29.7 kB / 0.5204 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.3075, allocations: 105.4 kB / 0.5205 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.3075, allocations: 36.73 kB / 0.5206 GB, free: 33.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.3075, allocations: 22.22 kB / 0.5206 GB, free: 33.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.3076, allocations: 331.3 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.921e-05/0.3077, allocations: 30.11 kB / 0.5209 GB, free: 33.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.513e-05/0.3077, allocations: 42.67 kB / 0.521 GB, free: 33.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.3079, allocations: 95.12 kB / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3079, allocations: 0 / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001781/0.3081, allocations: 125.4 kB / 0.5212 GB, free: 33.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3081, allocations: 9.031 kB / 0.5212 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3081, allocations: 0 / 0.5212 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.3081, allocations: 6.188 kB / 0.5212 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.26e-05/0.3082, allocations: 17.44 kB / 0.5212 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.3082, allocations: 3.969 kB / 0.5212 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.562e-05/0.3083, allocations: 10.83 kB / 0.5212 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3083, allocations: 6.875 kB / 0.5212 GB, free: 33.34 MB / 378.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 (13): * Single equations (assignments): 13 * 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.759e-05/0.3084, allocations: 128.8 kB / 0.5213 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.3084, allocations: 20.25 kB / 0.5214 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.3084, allocations: 15.16 kB / 0.5214 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3084, allocations: 3.938 kB / 0.5214 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3085, allocations: 6.875 kB / 0.5214 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3085, allocations: 0 / 0.5214 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.3089, allocations: 460.8 kB / 0.5218 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3089, allocations: 0 / 0.5218 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.309, allocations: 20.88 kB / 0.5218 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.309, allocations: 0 / 0.5218 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.309, allocations: 2.844 kB / 0.5218 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.309, allocations: 2.562 kB / 0.5219 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.309, allocations: 0 / 0.5219 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004315/0.3094, allocations: 0.8302 MB / 0.5227 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.3095, allocations: 90.25 kB / 0.5227 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.3095, allocations: 2.969 kB / 0.5228 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.836e-05/0.3096, allocations: 4 kB / 0.5228 GB, free: 31.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.3096, allocations: 17.23 kB / 0.5228 GB, free: 31.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3097, allocations: 2.875 kB / 0.5228 GB, free: 31.9 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.3098, allocations: 174.6 kB / 0.5229 GB, free: 31.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3098, allocations: 3.938 kB / 0.5229 GB, free: 31.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003519/0.3102, allocations: 32.94 kB / 0.523 GB, free: 31.78 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001019/0.3112, allocations: 0.5005 MB / 0.5235 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.3114, allocations: 82.95 kB / 0.5235 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3114, allocations: 3.938 kB / 0.5235 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.1e-05/0.3114, allocations: 38.66 kB / 0.5236 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3118, allocations: 27.91 kB / 0.5236 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004906/0.3123, allocations: 440.9 kB / 0.524 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001423/0.3124, allocations: 0.7211 MB / 0.5247 GB, free: 30.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.23e-05/0.3125, allocations: 32.22 kB / 0.5248 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.319e-05/0.3126, allocations: 16.09 kB / 0.5248 GB, free: 30.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3126, allocations: 0 / 0.5248 GB, free: 30.4 MB / 378.7 MB Notification: Performance of Templates: time 0.003896/0.3165, allocations: 1.958 MB / 0.5267 GB, free: 30.19 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches