Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001843/0.001843, allocations: 198.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.5 MB / 243.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009131/0.0009131, allocations: 106.9 kB / 295.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3335/0.3335, allocations: 44.82 MB / 392.3 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005334/0.0005335, allocations: 16 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3023, allocations: 62.96 MB / 0.5159 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.001577/0.3039, allocations: 1.423 MB / 0.5173 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3055, allocations: 1.537 MB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.3056, allocations: 0 / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.3059, allocations: 33.58 kB / 0.5188 GB, free: 35.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002228/0.3061, allocations: 83.27 kB / 0.5189 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.3063, allocations: 88.88 kB / 0.519 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.3065, allocations: 97.97 kB / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.3066, allocations: 6.609 kB / 0.5191 GB, free: 35.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.924e-05/0.3066, allocations: 41.11 kB / 0.5191 GB, free: 35.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.3068, allocations: 37.08 kB / 0.5192 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.3068, allocations: 2.938 kB / 0.5192 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.3069, allocations: 107 kB / 0.5193 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.307, allocations: 16.34 kB / 0.5193 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.307, allocations: 53.33 kB / 0.5193 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.3072, allocations: 125.6 kB / 0.5194 GB, free: 34.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3072, allocations: 0 / 0.5194 GB, free: 34.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3072, allocations: 0 / 0.5194 GB, free: 34.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.3072, allocations: 0 / 0.5194 GB, free: 34.87 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004189/0.3076, allocations: 407.3 kB / 0.5198 GB, free: 34.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.3077, allocations: 12.31 kB / 0.5198 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.3077, allocations: 14.75 kB / 0.5199 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3079, allocations: 211.9 kB / 0.5201 GB, free: 34.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3079, allocations: 3.938 kB / 0.5201 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.308, allocations: 3.531 kB / 0.5201 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.3081, allocations: 66.66 kB / 0.5201 GB, free: 34.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3081, allocations: 7.938 kB / 0.5201 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3081, allocations: 4 kB / 0.5201 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3081, allocations: 3.094 kB / 0.5201 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.335e-05/0.3082, allocations: 24.39 kB / 0.5202 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.3085, allocations: 294 kB / 0.5204 GB, free: 33.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.3087, allocations: 55.59 kB / 0.5205 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.323e-05/0.3087, allocations: 17.48 kB / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.3087, allocations: 6.297 kB / 0.5205 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.3089, allocations: 69.64 kB / 0.5206 GB, free: 33.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.3089, allocations: 0 / 0.5206 GB, free: 33.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004505/0.3094, allocations: 168.3 kB / 0.5207 GB, free: 33.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.3094, allocations: 88.45 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3095, allocations: 166.3 kB / 0.521 GB, free: 33.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.3096, allocations: 25.7 kB / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.498e-05/0.3096, allocations: 113.2 kB / 0.5211 GB, free: 33.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.3096, allocations: 21.97 kB / 0.5211 GB, free: 33.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.3096, allocations: 0 / 0.5211 GB, free: 33.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.134e-05/0.3097, allocations: 321.3 kB / 0.5215 GB, free: 32.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.973e-05/0.3097, allocations: 22.86 kB / 0.5215 GB, free: 32.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.145e-05/0.3098, allocations: 38.72 kB / 0.5215 GB, free: 32.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.139e-05/0.3099, allocations: 67.08 kB / 0.5216 GB, free: 32.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3099, allocations: 0 / 0.5216 GB, free: 32.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001494/0.3101, allocations: 94.25 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.3101, allocations: 9.156 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3101, allocations: 0 / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.3101, allocations: 0 / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.835e-05/0.3102, allocations: 18.06 kB / 0.5217 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3102, allocations: 3.938 kB / 0.5217 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.3103, allocations: 6.078 kB / 0.5217 GB, free: 32.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3103, allocations: 6.844 kB / 0.5217 GB, free: 32.83 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.3103, allocations: 122.1 kB / 0.5218 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.3104, allocations: 6.594 kB / 0.5218 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.556e-05/0.3104, allocations: 17.77 kB / 0.5218 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3104, allocations: 0 / 0.5218 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3104, allocations: 3.938 kB / 0.5218 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3104, allocations: 0 / 0.5218 GB, free: 32.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003327/0.3108, allocations: 403 kB / 0.5222 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3108, allocations: 0 / 0.5222 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.886e-05/0.3108, allocations: 16.81 kB / 0.5223 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3108, allocations: 0 / 0.5223 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3108, allocations: 10.78 kB / 0.5223 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3108, allocations: 80 / 0.5223 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.3109, allocations: 11.92 kB / 0.5223 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.311, allocations: 193.8 kB / 0.5225 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.3111, allocations: 95.45 kB / 0.5225 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.3111, allocations: 2.844 kB / 0.5226 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.3112, allocations: 9.828 kB / 0.5226 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.3112, allocations: 6.25 kB / 0.5226 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.3112, allocations: 5.375 kB / 0.5226 GB, free: 32.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.955e-05/0.3113, allocations: 123.1 kB / 0.5227 GB, free: 31.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3113, allocations: 3.938 kB / 0.5227 GB, free: 31.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002616/0.3116, allocations: 42.81 kB / 0.5227 GB, free: 31.93 MB / 378.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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.3126, allocations: 0.5493 MB / 0.5233 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001559/0.3128, allocations: 51.78 kB / 0.5233 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3128, allocations: 64 / 0.5233 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.988e-05/0.3129, allocations: 36.52 kB / 0.5234 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.3132, allocations: 28.78 kB / 0.5234 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.3135, allocations: 243.6 kB / 0.5236 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.3136, allocations: 0.7016 MB / 0.5243 GB, free: 30.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.294e-05/0.3137, allocations: 19.86 kB / 0.5243 GB, free: 30.71 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3137, allocations: 2.938 kB / 0.5243 GB, free: 30.71 MB / 378.7 MB Notification: Performance of Templates: time 0.003336/0.317, allocations: 2.395 MB / 0.5267 GB, free: 30.43 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches