Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001764/0.001764, 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.571/1.571, allocations: 226.7 MB / 245.5 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001042, allocations: 96.45 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.4321/0.4321, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001273, allocations: 67.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4918/0.4931, allocations: 62.02 MB / 0.5152 GB, free: 37.71 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003196/0.4963, allocations: 1.994 MB / 0.5171 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.498, allocations: 1.135 MB / 0.5182 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.209e-05/0.4981, allocations: 0 / 0.5182 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004161/0.4985, allocations: 152.5 kB / 0.5184 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003371/0.4989, allocations: 169 kB / 0.5185 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.4993, allocations: 163.2 kB / 0.5187 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.4996, allocations: 230.2 kB / 0.5189 GB, free: 35.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.4997, allocations: 31.55 kB / 0.5189 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.4998, allocations: 109.8 kB / 0.519 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.5, allocations: 128.1 kB / 0.5192 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.5, allocations: 5.469 kB / 0.5192 GB, free: 35.17 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.5001, allocations: 60.42 kB / 0.5192 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.495e-05/0.5002, allocations: 49.14 kB / 0.5193 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.032e-05/0.5003, allocations: 87.16 kB / 0.5193 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002279/0.5005, allocations: 212.9 kB / 0.5195 GB, free: 34.98 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5005, allocations: 0 / 0.5195 GB, free: 34.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.5006, allocations: 4 kB / 0.5196 GB, free: 34.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.5006, allocations: 0 / 0.5196 GB, free: 34.98 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006362/0.5012, allocations: 0.5384 MB / 0.5201 GB, free: 34.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.5012, allocations: 8.156 kB / 0.5201 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.107e-05/0.5013, allocations: 31 kB / 0.5201 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002868/0.5016, allocations: 269.2 kB / 0.5204 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.5016, allocations: 2.594 kB / 0.5204 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.5017, allocations: 21.03 kB / 0.5204 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.5019, allocations: 111.3 kB / 0.5205 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.5019, allocations: 7.062 kB / 0.5205 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.502, allocations: 0 / 0.5205 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.502, allocations: 0 / 0.5205 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.5021, allocations: 49.03 kB / 0.5206 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.5026, allocations: 476.5 kB / 0.521 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.503, allocations: 124.1 kB / 0.5211 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.099e-05/0.5031, allocations: 45.44 kB / 0.5212 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.5031, allocations: 7.188 kB / 0.5212 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.5034, allocations: 109.6 kB / 0.5213 GB, free: 33.53 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.233e-06/0.5034, allocations: 0 / 0.5213 GB, free: 33.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.001159/0.5046, allocations: 0.5002 MB / 0.5218 GB, free: 33.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.5046, allocations: 77.11 kB / 0.5218 GB, free: 33.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.5049, allocations: 371.7 kB / 0.5222 GB, free: 33.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.5049, allocations: 33.12 kB / 0.5222 GB, free: 32.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.048e-05/0.505, allocations: 148.3 kB / 0.5224 GB, free: 32.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/0.5051, allocations: 68.17 kB / 0.5224 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.5051, allocations: 48.44 kB / 0.5225 GB, free: 32.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.32e-05/0.5052, allocations: 340.6 kB / 0.5228 GB, free: 32.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.5053, allocations: 59.27 kB / 0.5229 GB, free: 32.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.5055, allocations: 89.66 kB / 0.5229 GB, free: 32.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/0.5057, allocations: 159.2 kB / 0.5231 GB, free: 32.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5057, allocations: 4 kB / 0.5231 GB, free: 32.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003194/0.5061, allocations: 235.8 kB / 0.5233 GB, free: 32.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.5061, allocations: 8.938 kB / 0.5233 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5061, allocations: 3.938 kB / 0.5233 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.5061, allocations: 2.562 kB / 0.5233 GB, free: 32.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.5063, allocations: 44.47 kB / 0.5234 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.5063, allocations: 3 kB / 0.5234 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.749e-05/0.5064, allocations: 13 kB / 0.5234 GB, free: 32.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.5064, allocations: 5.875 kB / 0.5234 GB, free: 32.15 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 0.0001187/0.5065, allocations: 158.7 kB / 0.5236 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.5065, allocations: 36.7 kB / 0.5236 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.85e-05/0.5066, allocations: 35.83 kB / 0.5236 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5066, allocations: 0 / 0.5236 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5066, allocations: 2.969 kB / 0.5236 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.5066, allocations: 0 / 0.5236 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007389/0.5074, allocations: 0.7331 MB / 0.5243 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5074, allocations: 2.281 kB / 0.5243 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.209e-05/0.5075, allocations: 29.12 kB / 0.5244 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5075, allocations: 2.219 kB / 0.5244 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.5075, allocations: 9.594 kB / 0.5244 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.5075, allocations: 6.531 kB / 0.5244 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.5075, allocations: 6.266 kB / 0.5244 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.5083, allocations: 1.065 MB / 0.5254 GB, free: 30.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.5083, allocations: 104.9 kB / 0.5255 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.487e-05/0.5084, allocations: 2.656 kB / 0.5255 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.5085, allocations: 12.8 kB / 0.5256 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.404e-05/0.5086, allocations: 18.56 kB / 0.5256 GB, free: 30.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.5086, allocations: 8.594 kB / 0.5256 GB, free: 30.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002258/0.5088, allocations: 278.7 kB / 0.5258 GB, free: 30.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5088, allocations: 192 / 0.5258 GB, free: 30.22 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004226/0.5093, allocations: 47.44 kB / 0.5259 GB, free: 30.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001126/0.5104, allocations: 0.51 MB / 0.5264 GB, free: 29.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003104/0.5107, allocations: 161.5 kB / 0.5265 GB, free: 29.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5107, allocations: 2.344 kB / 0.5265 GB, free: 29.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.5109, allocations: 81.52 kB / 0.5266 GB, free: 29.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.5114, allocations: 68.75 kB / 0.5267 GB, free: 29.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008263/0.5122, allocations: 0.7275 MB / 0.5274 GB, free: 29.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.5125, allocations: 0.7722 MB / 0.5282 GB, free: 28.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001136/0.5126, allocations: 40.2 kB / 0.5282 GB, free: 28.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.096e-05/0.5127, allocations: 32.3 kB / 0.5282 GB, free: 28.59 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5127, allocations: 7.938 kB / 0.5282 GB, free: 28.58 MB / 378.7 MB Notification: Performance of Templates: time 0.005916/0.5186, allocations: 3.053 MB / 0.5312 GB, free: 28.29 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches