Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 113.4 kB / 17.78 MB, free: 5.266 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.001091/0.001091, allocations: 188.1 kB / 18.71 MB, free: 4.344 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.421/1.421, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2485/0.2485, allocations: 44.19 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3872, allocations: 60.81 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.00366/0.391, allocations: 1.906 MB / 0.5208 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.3926, allocations: 0.9881 MB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.3927, allocations: 5.781 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005582/0.3933, allocations: 212.6 kB / 0.522 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.3937, allocations: 174.1 kB / 0.5222 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.3942, allocations: 176 kB / 0.5224 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.3945, allocations: 243.8 kB / 0.5226 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.3947, allocations: 26.31 kB / 0.5226 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.3948, allocations: 116.6 kB / 0.5227 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.3951, allocations: 151.6 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.3951, allocations: 8.062 kB / 0.5229 GB, free: 1.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.3953, allocations: 67.06 kB / 0.5229 GB, free: 1.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.131e-05/0.3954, allocations: 51.77 kB / 0.523 GB, free: 1.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.371e-05/0.3955, allocations: 101.6 kB / 0.5231 GB, free: 1.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.3958, allocations: 233.4 kB / 0.5233 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.3958, allocations: 0 / 0.5233 GB, free: 1.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3958, allocations: 4 kB / 0.5233 GB, free: 1.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.713e-06/0.3958, allocations: 0.75 kB / 0.5233 GB, free: 1.031 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006712/0.3965, allocations: 0.5499 MB / 0.5239 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3965, allocations: 9.438 kB / 0.5239 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.652e-05/0.3966, allocations: 29.94 kB / 0.5239 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.397, allocations: 275.1 kB / 0.5242 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.397, allocations: 4 kB / 0.5242 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.397, allocations: 14.25 kB / 0.5242 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.3973, allocations: 111.9 kB / 0.5243 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.3973, allocations: 3.906 kB / 0.5243 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.3973, allocations: 5.953 kB / 0.5243 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3973, allocations: 1.375 kB / 0.5243 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.3975, allocations: 46.39 kB / 0.5243 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.3981, allocations: 475.1 kB / 0.5248 GB, free: 15.76 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003499/0.3984, allocations: 119.3 kB / 0.5249 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.977e-05/0.3986, allocations: 47.25 kB / 0.5249 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.3986, allocations: 7.547 kB / 0.525 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.3988, allocations: 114.4 kB / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.3988, allocations: 0 / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001322/0.4002, allocations: 0.4985 MB / 0.5255 GB, free: 15.35 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.4002, allocations: 88.61 kB / 0.5256 GB, free: 15.25 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.4007, allocations: 421.9 kB / 0.526 GB, free: 15.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.4007, allocations: 33.33 kB / 0.5261 GB, free: 15.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4008, allocations: 159.3 kB / 0.5262 GB, free: 14.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.4009, allocations: 62.86 kB / 0.5263 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.004e-05/0.401, allocations: 41.69 kB / 0.5263 GB, free: 14.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4011, allocations: 347 kB / 0.5266 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.4013, allocations: 59.67 kB / 0.5267 GB, free: 14.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.4014, allocations: 97.66 kB / 0.5268 GB, free: 14.4 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.4017, allocations: 162.5 kB / 0.527 GB, free: 14.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.4017, allocations: 0 / 0.527 GB, free: 14.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004035/0.4021, allocations: 241 kB / 0.5272 GB, free: 14.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.4022, allocations: 9.812 kB / 0.5272 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.4022, allocations: 1.094 kB / 0.5272 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4022, allocations: 1.25 kB / 0.5272 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.4023, allocations: 47.66 kB / 0.5272 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4024, allocations: 1.125 kB / 0.5272 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.311e-05/0.4024, allocations: 11.94 kB / 0.5273 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.4025, allocations: 7.812 kB / 0.5273 GB, free: 14.16 MB / 398.1 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.0001484/0.4026, allocations: 167.5 kB / 0.5274 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.987e-05/0.4027, allocations: 38.59 kB / 0.5275 GB, free: 13.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.207e-05/0.4028, allocations: 43.11 kB / 0.5275 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.4028, allocations: 2.75 kB / 0.5275 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.4028, allocations: 3.938 kB / 0.5275 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.4028, allocations: 1.375 kB / 0.5275 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008905/0.4037, allocations: 0.7259 MB / 0.5282 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4037, allocations: 1.344 kB / 0.5282 GB, free: 13.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.634e-05/0.4038, allocations: 34.86 kB / 0.5282 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4038, allocations: 2.5 kB / 0.5283 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.977e-05/0.4038, allocations: 11.95 kB / 0.5283 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4038, allocations: 2.688 kB / 0.5283 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.4039, allocations: 1.766 kB / 0.5283 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000445/0.4043, allocations: 421.9 kB / 0.5287 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.4044, allocations: 109.1 kB / 0.5288 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.4044, allocations: 8.188 kB / 0.5288 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.4046, allocations: 8.188 kB / 0.5288 GB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.4046, allocations: 24.34 kB / 0.5288 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.4047, allocations: 9.344 kB / 0.5288 GB, free: 12.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003368/0.405, allocations: 320.8 kB / 0.5291 GB, free: 12.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.405, allocations: 0 / 0.5291 GB, free: 12.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003684/0.4054, allocations: 47.56 kB / 0.5292 GB, free: 12.66 MB / 398.1 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.001214/0.4066, allocations: 0.5168 MB / 0.5297 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00036/0.407, allocations: 159.5 kB / 0.5298 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.407, allocations: 0 / 0.5298 GB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001677/0.4072, allocations: 82.53 kB / 0.5299 GB, free: 12.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.4077, allocations: 67.73 kB / 0.53 GB, free: 12.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009132/0.4087, allocations: 0.5388 MB / 0.5305 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.409, allocations: 0.7797 MB / 0.5313 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001148/0.4091, allocations: 40.67 kB / 0.5313 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.556e-05/0.4092, allocations: 33.39 kB / 0.5313 GB, free: 11.14 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4092, allocations: 0 / 0.5313 GB, free: 11.14 MB / 398.1 MB Notification: Performance of Templates: time 0.007467/0.4167, allocations: 3.102 MB / 0.5344 GB, free: 9.605 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches