Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 107.8 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001374/0.001374, allocations: 185.9 kB / 19.39 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2136/0.2136, allocations: 44.17 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 59.91 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3977, allocations: 60.83 MB / 0.5197 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002729/0.4005, allocations: 1.714 MB / 0.5213 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.4018, allocations: 0.8771 MB / 0.5222 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.4018, allocations: 0 / 0.5222 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.4022, allocations: 49.84 kB / 0.5222 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002515/0.4024, allocations: 59.53 kB / 0.5223 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003212/0.4028, allocations: 105 kB / 0.5224 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.4029, allocations: 99.86 kB / 0.5225 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.553e-05/0.403, allocations: 16 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.6e-05/0.4031, allocations: 41.94 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.484e-05/0.4032, allocations: 30.08 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.139e-05/0.4033, allocations: 3.25 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-05/0.4034, allocations: 43.05 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.178e-05/0.4034, allocations: 23.66 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.4035, allocations: 47.14 kB / 0.5227 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.4037, allocations: 129.5 kB / 0.5228 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4037, allocations: 0 / 0.5228 GB, free: 1.523 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4037, allocations: 0 / 0.5228 GB, free: 1.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.4037, allocations: 0 / 0.5228 GB, free: 1.523 MB / 382.1 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.0004794/0.4042, allocations: 442.5 kB / 0.5232 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4042, allocations: 8.656 kB / 0.5232 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.4043, allocations: 14.72 kB / 0.5232 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.4045, allocations: 215.3 kB / 0.5235 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.4045, allocations: 5.469 kB / 0.5235 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.4046, allocations: 15.09 kB / 0.5235 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.4047, allocations: 49.75 kB / 0.5235 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4047, allocations: 4.703 kB / 0.5235 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4048, allocations: 9.188 kB / 0.5235 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4048, allocations: 0 / 0.5235 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.383e-05/0.4048, allocations: 19.56 kB / 0.5236 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003122/0.4052, allocations: 292.7 kB / 0.5238 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.4053, allocations: 60.91 kB / 0.5239 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.4054, allocations: 23.67 kB / 0.5239 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.4054, allocations: 2 kB / 0.5239 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.4056, allocations: 65 kB / 0.524 GB, free: 416 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.4056, allocations: 0 / 0.524 GB, free: 416 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005172/0.4061, allocations: 183.4 kB / 0.5242 GB, free: 320 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.99e-05/0.4061, allocations: 56.91 kB / 0.5242 GB, free: 252 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.4064, allocations: 262.1 kB / 0.5245 GB, free: 100 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.4064, allocations: 27.36 kB / 0.5245 GB, free: 68 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.4065, allocations: 115.6 kB / 0.5246 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.4065, allocations: 25.91 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.4065, allocations: 25.8 kB / 0.5246 GB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4067, allocations: 328.6 kB / 0.525 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.4067, allocations: 24.81 kB / 0.525 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.963e-05/0.4068, allocations: 39.56 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.4069, allocations: 57.97 kB / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4069, allocations: 0 / 0.5251 GB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001822/0.4071, allocations: 106.9 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4072, allocations: 6.078 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4072, allocations: 3.984 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4072, allocations: 2.688 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/0.4073, allocations: 15.47 kB / 0.5252 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.4073, allocations: 4.031 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/0.4073, allocations: 2.984 kB / 0.5252 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.4074, allocations: 11.19 kB / 0.5252 GB, free: 15.45 MB / 398.1 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 0.0001088/0.4075, allocations: 136.8 kB / 0.5253 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.4075, allocations: 15.97 kB / 0.5254 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.878e-05/0.4076, allocations: 19.59 kB / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4076, allocations: 0.9375 kB / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4076, allocations: 0 / 0.5254 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.4076, allocations: 94.41 kB / 0.5255 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.4077, allocations: 6.438 kB / 0.5255 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.4077, allocations: 2.234 kB / 0.5255 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.399e-05/0.4078, allocations: 8.156 kB / 0.5255 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002175/0.408, allocations: 178.9 kB / 0.5257 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000247/0.4082, allocations: 280.2 kB / 0.5259 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.389e-05/0.4083, allocations: 31.03 kB / 0.526 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.4085, allocations: 205.4 kB / 0.5262 GB, free: 14.69 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.4085, allocations: 0 / 0.5262 GB, free: 14.69 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.4099, allocations: 0.4956 MB / 0.5266 GB, free: 14.47 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006809/0.4105, allocations: 0.7025 MB / 0.5273 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Templates: time 0.004672/0.4152, allocations: 1.796 MB / 0.5291 GB, free: 13.25 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches