Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, 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.352/1.352, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009727/0.0009727, allocations: 106.3 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3658/0.3658, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 64.09 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3003, allocations: 62.01 MB / 0.5152 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002631/0.303, allocations: 1.82 MB / 0.5169 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.3042, allocations: 1.026 MB / 0.5179 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.8e-05/0.3043, allocations: 6.906 kB / 0.5179 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.3046, allocations: 102.8 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.3048, allocations: 117.3 kB / 0.5182 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.3051, allocations: 97 kB / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.3052, allocations: 120.1 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.161e-05/0.3053, allocations: 8.891 kB / 0.5184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.855e-05/0.3054, allocations: 59.92 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.259e-05/0.3055, allocations: 64.98 kB / 0.5185 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.3055, allocations: 6.812 kB / 0.5185 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.412e-05/0.3056, allocations: 54.67 kB / 0.5185 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.815e-05/0.3056, allocations: 33.56 kB / 0.5186 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.3057, allocations: 46.86 kB / 0.5186 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.3059, allocations: 141.7 kB / 0.5188 GB, free: 35.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3059, allocations: 0 / 0.5188 GB, free: 35.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.91e-07/0.3059, allocations: 0 / 0.5188 GB, free: 35.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.3059, allocations: 0 / 0.5188 GB, free: 35.47 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.000462/0.3063, allocations: 441.6 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.3064, allocations: 12.72 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.3064, allocations: 18.59 kB / 0.5192 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.3066, allocations: 222.6 kB / 0.5194 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.3066, allocations: 384 / 0.5194 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.3067, allocations: 14.36 kB / 0.5194 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.3068, allocations: 65.75 kB / 0.5195 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3068, allocations: 0 / 0.5195 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.3068, allocations: 0 / 0.5195 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3068, allocations: 3.375 kB / 0.5195 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.321e-05/0.3069, allocations: 21.84 kB / 0.5195 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.3072, allocations: 312.2 kB / 0.5198 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.3074, allocations: 58.55 kB / 0.5199 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.3075, allocations: 24.84 kB / 0.5199 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.3075, allocations: 0 / 0.5199 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.3077, allocations: 74.47 kB / 0.52 GB, free: 34.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.3077, allocations: 0 / 0.52 GB, free: 34.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006241/0.3084, allocations: 238.7 kB / 0.5202 GB, free: 34.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.3084, allocations: 55.34 kB / 0.5203 GB, free: 34.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001652/0.3086, allocations: 259.8 kB / 0.5205 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.3086, allocations: 29.7 kB / 0.5205 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.799e-05/0.3086, allocations: 113 kB / 0.5206 GB, free: 33.88 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.491e-05/0.3086, allocations: 36.05 kB / 0.5207 GB, free: 33.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.3087, allocations: 32.42 kB / 0.5207 GB, free: 33.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.48e-05/0.3087, allocations: 324.3 kB / 0.521 GB, free: 33.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.924e-05/0.3088, allocations: 30.77 kB / 0.521 GB, free: 33.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.38e-05/0.3089, allocations: 43.67 kB / 0.5211 GB, free: 33.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.309, allocations: 87.36 kB / 0.5212 GB, free: 33.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.309, allocations: 0 / 0.5212 GB, free: 33.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001766/0.3092, allocations: 124.8 kB / 0.5213 GB, free: 33.35 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3092, allocations: 5.781 kB / 0.5213 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3092, allocations: 3 kB / 0.5213 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3092, allocations: 0 / 0.5213 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.3093, allocations: 24.38 kB / 0.5213 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3093, allocations: 4.172 kB / 0.5213 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.3094, allocations: 6.875 kB / 0.5213 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.3094, allocations: 14.69 kB / 0.5213 GB, free: 33.33 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 7.117e-05/0.3095, allocations: 134.9 kB / 0.5215 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.3095, allocations: 12.97 kB / 0.5215 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.3095, allocations: 25.48 kB / 0.5215 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3095, allocations: 6.938 kB / 0.5215 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3096, allocations: 3.938 kB / 0.5215 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3096, allocations: 3.75 kB / 0.5215 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004092/0.31, allocations: 461.2 kB / 0.522 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.31, allocations: 2.656 kB / 0.522 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.31, allocations: 15.97 kB / 0.522 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.31, allocations: 0 / 0.522 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3101, allocations: 3 kB / 0.522 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3101, allocations: 3.938 kB / 0.522 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3101, allocations: 2.906 kB / 0.522 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000392/0.3105, allocations: 0.8286 MB / 0.5228 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.3105, allocations: 94.62 kB / 0.5229 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.3105, allocations: 6.234 kB / 0.5229 GB, free: 31.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.3106, allocations: 7.938 kB / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.352e-05/0.3107, allocations: 17 kB / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.3107, allocations: 5.781 kB / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.3108, allocations: 188.1 kB / 0.5231 GB, free: 31.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3108, allocations: 3.938 kB / 0.5231 GB, free: 31.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003542/0.3112, allocations: 35.41 kB / 0.5231 GB, free: 31.75 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.0009411/0.3121, allocations: 0.497 MB / 0.5236 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.3123, allocations: 91.52 kB / 0.5237 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3123, allocations: 0 / 0.5237 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.15e-05/0.3124, allocations: 38.22 kB / 0.5237 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.3127, allocations: 29.95 kB / 0.5238 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004666/0.3132, allocations: 471.6 kB / 0.5242 GB, free: 31.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.3133, allocations: 0.7232 MB / 0.5249 GB, free: 30.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.767e-05/0.3134, allocations: 24.48 kB / 0.525 GB, free: 30.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.3135, allocations: 15.88 kB / 0.525 GB, free: 30.37 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3135, allocations: 0 / 0.525 GB, free: 30.37 MB / 378.7 MB Notification: Performance of Templates: time 0.004012/0.3175, allocations: 1.98 MB / 0.5269 GB, free: 30.14 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches