Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001441, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001546/0.001546, allocations: 183.1 kB / 18.71 MB, free: 4.371 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.586/1.586, allocations: 222.9 MB / 242.4 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.2425/0.2425, allocations: 44.17 MB / 336.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 67.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3973/0.3988, allocations: 60.83 MB / 0.519 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002857/0.4017, allocations: 1.739 MB / 0.5207 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001548/0.4032, allocations: 0.8905 MB / 0.5216 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.4034, allocations: 1.188 kB / 0.5216 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.4038, allocations: 99.78 kB / 0.5217 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.4042, allocations: 93.72 kB / 0.5218 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003859/0.4046, allocations: 115.4 kB / 0.5219 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.4048, allocations: 130.2 kB / 0.522 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.4049, allocations: 15.34 kB / 0.522 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.405, allocations: 64.98 kB / 0.5221 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.4052, allocations: 72.02 kB / 0.5221 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.4052, allocations: 4.531 kB / 0.5221 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.4054, allocations: 64.45 kB / 0.5222 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.4054, allocations: 32.98 kB / 0.5222 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.4055, allocations: 49.39 kB / 0.5223 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.4058, allocations: 145.8 kB / 0.5224 GB, free: 1.465 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4058, allocations: 2.094 kB / 0.5224 GB, free: 1.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4058, allocations: 0 / 0.5224 GB, free: 1.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.4058, allocations: 0 / 0.5224 GB, free: 1.465 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005284/0.4063, allocations: 460.1 kB / 0.5229 GB, free: 1.027 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.4064, allocations: 8.75 kB / 0.5229 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.4064, allocations: 21.22 kB / 0.5229 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002719/0.4067, allocations: 225.3 kB / 0.5231 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.4068, allocations: 6.281 kB / 0.5231 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.4068, allocations: 9.125 kB / 0.5231 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.407, allocations: 73.7 kB / 0.5232 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.407, allocations: 1.219 kB / 0.5232 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.407, allocations: 0.6562 kB / 0.5232 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.407, allocations: 5.062 kB / 0.5232 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.4072, allocations: 40.33 kB / 0.5232 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.4075, allocations: 327.5 kB / 0.5235 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.4078, allocations: 75.44 kB / 0.5236 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.033e-05/0.4079, allocations: 31.8 kB / 0.5236 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.4079, allocations: 4 kB / 0.5237 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.4081, allocations: 75.42 kB / 0.5237 GB, free: 304 kB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.4081, allocations: 0 / 0.5237 GB, free: 304 kB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008196/0.4089, allocations: 299.8 kB / 0.524 GB, free: 168 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.4089, allocations: 54.05 kB / 0.5241 GB, free: 104 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.4092, allocations: 248.3 kB / 0.5243 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.4092, allocations: 31.05 kB / 0.5243 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.4093, allocations: 120.9 kB / 0.5244 GB, free: 15.81 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.746e-05/0.4094, allocations: 47.52 kB / 0.5245 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.4094, allocations: 29.41 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.4095, allocations: 330.4 kB / 0.5248 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.42e-05/0.4097, allocations: 39.67 kB / 0.5249 GB, free: 15.42 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.921e-05/0.4098, allocations: 56.72 kB / 0.5249 GB, free: 15.39 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.4099, allocations: 110.8 kB / 0.525 GB, free: 15.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.41, allocations: 4 kB / 0.525 GB, free: 15.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003043/0.4103, allocations: 152.8 kB / 0.5252 GB, free: 15.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.4103, allocations: 10.86 kB / 0.5252 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4103, allocations: 3.938 kB / 0.5252 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/0.4103, allocations: 5.594 kB / 0.5252 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.4105, allocations: 25.25 kB / 0.5252 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4105, allocations: 9.219 kB / 0.5252 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.453e-05/0.4105, allocations: 7.281 kB / 0.5252 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.4106, allocations: 5.984 kB / 0.5252 GB, free: 15.22 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 (16): * Single equations (assignments): 16 * 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.0001395/0.4107, allocations: 147.3 kB / 0.5254 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.4107, allocations: 15.91 kB / 0.5254 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.94e-05/0.4108, allocations: 21.44 kB / 0.5254 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.4108, allocations: 5.688 kB / 0.5254 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4108, allocations: 1.781 kB / 0.5254 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4108, allocations: 1.031 kB / 0.5254 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006444/0.4115, allocations: 0.4951 MB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.4115, allocations: 2.219 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.4116, allocations: 22.22 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.4116, allocations: 1.375 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.4116, allocations: 3.922 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4116, allocations: 1.984 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4116, allocations: 1.375 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.4119, allocations: 262.9 kB / 0.5262 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.412, allocations: 94.44 kB / 0.5263 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.298e-05/0.412, allocations: 7.406 kB / 0.5263 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.861e-05/0.4121, allocations: 3.406 kB / 0.5263 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.4122, allocations: 21.38 kB / 0.5263 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.4122, allocations: 6.156 kB / 0.5263 GB, free: 14.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.4124, allocations: 184 kB / 0.5265 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4124, allocations: 1.375 kB / 0.5265 GB, free: 14.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003058/0.4127, allocations: 33.77 kB / 0.5265 GB, free: 14.23 MB / 398.1 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 (14): * Single equations (assignments): 12 * 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.001242/0.414, allocations: 0.5074 MB / 0.527 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.4143, allocations: 108.2 kB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4143, allocations: 5.438 kB / 0.5271 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.4144, allocations: 51.48 kB / 0.5272 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.4148, allocations: 30.84 kB / 0.5272 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007524/0.4155, allocations: 335.2 kB / 0.5275 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.4159, allocations: 0.7223 MB / 0.5282 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.783e-05/0.4161, allocations: 24.94 kB / 0.5283 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.4161, allocations: 28.95 kB / 0.5283 GB, free: 12.99 MB / 398.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4161, allocations: 0 / 0.5283 GB, free: 12.99 MB / 398.1 MB Notification: Performance of Templates: time 0.006371/0.4225, allocations: 2.188 MB / 0.5304 GB, free: 12.02 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches