Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 111.1 kB / 17.78 MB, free: 5.281 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.001405/0.001404, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2001/0.2001, allocations: 44.2 MB / 336.8 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 470.6 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.397, allocations: 60.82 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002733/0.3998, allocations: 1.711 MB / 0.5207 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.401, allocations: 0.8721 MB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.4011, allocations: 1.125 kB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.4014, allocations: 40.81 kB / 0.5215 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.4016, allocations: 58.97 kB / 0.5216 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.4019, allocations: 109 kB / 0.5217 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.4021, allocations: 100.5 kB / 0.5218 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.4022, allocations: 8.641 kB / 0.5218 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.836e-05/0.4023, allocations: 39.97 kB / 0.5218 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.4023, allocations: 30.05 kB / 0.5219 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.4024, allocations: 7.25 kB / 0.5219 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.4025, allocations: 43.17 kB / 0.5219 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.4025, allocations: 22.27 kB / 0.5219 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.4026, allocations: 40.67 kB / 0.522 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000228/0.4028, allocations: 112.8 kB / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4028, allocations: 0 / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.4029, allocations: 0 / 0.5221 GB, free: 1.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.4029, allocations: 1.25 kB / 0.5221 GB, free: 1.543 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.0005209/0.4034, allocations: 413.8 kB / 0.5225 GB, free: 1.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4035, allocations: 9.656 kB / 0.5225 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.011e-05/0.4035, allocations: 14.75 kB / 0.5225 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.4037, allocations: 198.3 kB / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.4038, allocations: 1.438 kB / 0.5227 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.4038, allocations: 10.95 kB / 0.5227 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.404, allocations: 54.17 kB / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.404, allocations: 0 / 0.5228 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.404, allocations: 9.766 kB / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.404, allocations: 0 / 0.5228 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.101e-05/0.4041, allocations: 19.56 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.4044, allocations: 293.5 kB / 0.5231 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/0.4046, allocations: 56.42 kB / 0.5231 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.4047, allocations: 24.2 kB / 0.5232 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.4047, allocations: 1.281 kB / 0.5232 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.4048, allocations: 69.69 kB / 0.5232 GB, free: 464 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.4048, allocations: 7.922 kB / 0.5232 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005534/0.4054, allocations: 176.6 kB / 0.5234 GB, free: 364 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.4054, allocations: 57.3 kB / 0.5234 GB, free: 296 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.4056, allocations: 186.4 kB / 0.5236 GB, free: 164 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.4057, allocations: 27.91 kB / 0.5237 GB, free: 132 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.4057, allocations: 102.7 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.4057, allocations: 26.94 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.4058, allocations: 24.91 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.4059, allocations: 326.8 kB / 0.5241 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.647e-05/0.406, allocations: 17.08 kB / 0.5241 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.905e-05/0.4061, allocations: 39.28 kB / 0.5242 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.4062, allocations: 66 kB / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.4062, allocations: 0 / 0.5242 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002046/0.4064, allocations: 110 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.4065, allocations: 4.875 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.4065, allocations: 1 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4065, allocations: 1.766 kB / 0.5243 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.4066, allocations: 16.11 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4066, allocations: 0 / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.4067, allocations: 6.938 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4067, allocations: 7.406 kB / 0.5244 GB, free: 15.52 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.0001218/0.4068, allocations: 129.2 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.4069, allocations: 13.08 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.718e-05/0.4069, allocations: 15.59 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4069, allocations: 1.797 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4069, allocations: 1.125 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.4069, allocations: 4.5 kB / 0.5245 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.4074, allocations: 394.3 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4074, allocations: 0 / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.4075, allocations: 8.906 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.4075, allocations: 2.062 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4075, allocations: 6.484 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4075, allocations: 0.8906 kB / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4075, allocations: 0 / 0.5249 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.4077, allocations: 209.9 kB / 0.5251 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.4078, allocations: 88.19 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.4078, allocations: 10.5 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.4079, allocations: 4.25 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.408, allocations: 13.08 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.408, allocations: 3.281 kB / 0.5252 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.4082, allocations: 144.5 kB / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4082, allocations: 0 / 0.5254 GB, free: 14.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.4084, allocations: 26.2 kB / 0.5254 GB, free: 14.63 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001065/0.4095, allocations: 468.5 kB / 0.5258 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.4097, allocations: 62.56 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4097, allocations: 5.344 kB / 0.5259 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.631e-05/0.4098, allocations: 33.45 kB / 0.5259 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.4101, allocations: 22.08 kB / 0.526 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.4106, allocations: 214.7 kB / 0.5262 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.4109, allocations: 0.7085 MB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.038e-05/0.4109, allocations: 17.44 kB / 0.5269 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.411, allocations: 15.67 kB / 0.5269 GB, free: 13.49 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.411, allocations: 1.375 kB / 0.5269 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Templates: time 0.005017/0.416, allocations: 1.716 MB / 0.5286 GB, free: 12.93 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches