Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 112.8 kB / 17.77 MB, free: 5.383 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.001157/0.001156, allocations: 180.8 kB / 18.7 MB, free: 4.461 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.373/1.373, allocations: 222.9 MB / 242.4 MB, free: 15.12 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.2053/0.2053, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.91 kB / 470.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3938, allocations: 60.81 MB / 0.519 GB, free: 3.645 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003336/0.3971, allocations: 1.729 MB / 0.5207 GB, free: 2.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.3986, allocations: 0.8733 MB / 0.5215 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.3987, allocations: 5.188 kB / 0.5215 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.399, allocations: 88.38 kB / 0.5216 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002463/0.3993, allocations: 77.16 kB / 0.5217 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.3996, allocations: 106.7 kB / 0.5218 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.3998, allocations: 114.6 kB / 0.5219 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3999, allocations: 21.66 kB / 0.5219 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.4, allocations: 57.38 kB / 0.522 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.4002, allocations: 71.92 kB / 0.522 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.4002, allocations: 3.031 kB / 0.522 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.4003, allocations: 58.25 kB / 0.5221 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.15e-05/0.4004, allocations: 25.58 kB / 0.5221 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.4005, allocations: 43.62 kB / 0.5222 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002861/0.4008, allocations: 136 kB / 0.5223 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4008, allocations: 0 / 0.5223 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4008, allocations: 1.281 kB / 0.5223 GB, free: 1.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.4008, allocations: 0 / 0.5223 GB, free: 1.508 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006068/0.4014, allocations: 445.5 kB / 0.5227 GB, free: 1.074 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4015, allocations: 9.375 kB / 0.5227 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.4015, allocations: 12.09 kB / 0.5227 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.4018, allocations: 220.5 kB / 0.523 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.4018, allocations: 2.109 kB / 0.523 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.4018, allocations: 7.625 kB / 0.523 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.402, allocations: 66.02 kB / 0.523 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.402, allocations: 0 / 0.523 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.4021, allocations: 5.125 kB / 0.523 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.4021, allocations: 1.156 kB / 0.523 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.982e-05/0.4021, allocations: 24.59 kB / 0.5231 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.4025, allocations: 305 kB / 0.5234 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.4028, allocations: 60.52 kB / 0.5234 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.501e-05/0.4028, allocations: 26.31 kB / 0.5234 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.4029, allocations: 1.281 kB / 0.5234 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001611/0.403, allocations: 74.53 kB / 0.5235 GB, free: 380 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.403, allocations: 1.062 kB / 0.5235 GB, free: 380 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008233/0.4039, allocations: 240.7 kB / 0.5237 GB, free: 268 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.4039, allocations: 57.14 kB / 0.5238 GB, free: 200 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.4042, allocations: 227 kB / 0.524 GB, free: 52 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.4042, allocations: 27.97 kB / 0.524 GB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4043, allocations: 105.3 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.4044, allocations: 41.17 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.996e-05/0.4044, allocations: 23.91 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.4046, allocations: 328.4 kB / 0.5245 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.729e-05/0.4046, allocations: 26.66 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.931e-05/0.4047, allocations: 48.58 kB / 0.5246 GB, free: 15.51 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.4049, allocations: 78.97 kB / 0.5247 GB, free: 15.46 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.4049, allocations: 1.469 kB / 0.5247 GB, free: 15.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002481/0.4052, allocations: 127.7 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4052, allocations: 10.41 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.4052, allocations: 0 / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.4052, allocations: 2.375 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.602e-05/0.4053, allocations: 19.58 kB / 0.5248 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4053, allocations: 9.594 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.87e-05/0.4054, allocations: 9.922 kB / 0.5248 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.4054, allocations: 4.391 kB / 0.5248 GB, free: 15.38 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 (13): * Single equations (assignments): 13 * 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.000129/0.4055, allocations: 133.8 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.4056, allocations: 10.73 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.4056, allocations: 19.61 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.4056, allocations: 1.906 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4057, allocations: 3.938 kB / 0.525 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.4057, allocations: 4.656 kB / 0.525 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005841/0.4063, allocations: 455.7 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.4063, allocations: 2.031 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-05/0.4063, allocations: 13.17 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.4063, allocations: 3.375 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4063, allocations: 1.359 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.4064, allocations: 5.859 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4064, allocations: 1.25 kB / 0.5255 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.4067, allocations: 243.8 kB / 0.5257 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.4067, allocations: 97.83 kB / 0.5258 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.4068, allocations: 3.406 kB / 0.5258 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.4068, allocations: 2.5 kB / 0.5258 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-05/0.4069, allocations: 16.36 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.4069, allocations: 4.734 kB / 0.5258 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.4071, allocations: 174.9 kB / 0.526 GB, free: 14.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4071, allocations: 1.375 kB / 0.526 GB, free: 14.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000274/0.4074, allocations: 29.11 kB / 0.526 GB, free: 14.41 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 (11): * Single equations (assignments): 9 * 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.001159/0.4086, allocations: 0.5106 MB / 0.5265 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.4088, allocations: 88.55 kB / 0.5266 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4088, allocations: 1.594 kB / 0.5266 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.006e-05/0.4089, allocations: 34.91 kB / 0.5266 GB, free: 14.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.4092, allocations: 46.03 kB / 0.5267 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.4098, allocations: 276.6 kB / 0.5269 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.4101, allocations: 0.722 MB / 0.5276 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.017e-05/0.4102, allocations: 19.11 kB / 0.5277 GB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.574e-05/0.4102, allocations: 19.31 kB / 0.5277 GB, free: 13.2 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4102, allocations: 0 / 0.5277 GB, free: 13.2 MB / 398.1 MB Notification: Performance of Templates: time 0.004981/0.4152, allocations: 1.969 MB / 0.5296 GB, free: 12.42 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches