Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 108.8 kB / 17.78 MB, free: 5.289 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.001373/0.001373, allocations: 187.9 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.421/1.421, 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.2325/0.2325, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 67.89 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5133/0.5148, allocations: 60.82 MB / 0.519 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003969/0.5188, allocations: 1.896 MB / 0.5209 GB, free: 2.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.5209, allocations: 0.9788 MB / 0.5218 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.5211, allocations: 6.031 kB / 0.5218 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005948/0.5217, allocations: 155.3 kB / 0.522 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.5222, allocations: 144.4 kB / 0.5221 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.5228, allocations: 179.9 kB / 0.5223 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004335/0.5232, allocations: 224.8 kB / 0.5225 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.5234, allocations: 31.25 kB / 0.5225 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.5237, allocations: 109.5 kB / 0.5226 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.5239, allocations: 131.8 kB / 0.5227 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.524, allocations: 8.375 kB / 0.5228 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.5242, allocations: 62.02 kB / 0.5228 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001285/0.5243, allocations: 51.25 kB / 0.5229 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.5244, allocations: 80.95 kB / 0.5229 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004218/0.5249, allocations: 210.8 kB / 0.5231 GB, free: 1.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.5249, allocations: 0 / 0.5231 GB, free: 1.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5249, allocations: 1.156 kB / 0.5231 GB, free: 1.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.5249, allocations: 4 kB / 0.5231 GB, free: 1.066 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.0007833/0.5257, allocations: 0.529 MB / 0.5237 GB, free: 0.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.5257, allocations: 10.38 kB / 0.5237 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.5258, allocations: 23.91 kB / 0.5237 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.5262, allocations: 263.4 kB / 0.5239 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.5262, allocations: 4.906 kB / 0.5239 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.5262, allocations: 13.42 kB / 0.524 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.5265, allocations: 119.2 kB / 0.5241 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.5265, allocations: 0.5156 kB / 0.5241 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.5265, allocations: 5.719 kB / 0.5241 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.5265, allocations: 2.156 kB / 0.5241 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.5267, allocations: 46 kB / 0.5241 GB, free: 232 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006039/0.5273, allocations: 467.9 kB / 0.5246 GB, free: 15.82 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.5277, allocations: 119.7 kB / 0.5247 GB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.5278, allocations: 42.72 kB / 0.5247 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.5278, allocations: 1.625 kB / 0.5247 GB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002701/0.5281, allocations: 129.6 kB / 0.5249 GB, free: 15.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.5281, allocations: 0 / 0.5249 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001484/0.5296, allocations: 489.2 kB / 0.5253 GB, free: 15.41 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.061e-05/0.5297, allocations: 84.5 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.5302, allocations: 352.6 kB / 0.5257 GB, free: 15.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.5303, allocations: 33.12 kB / 0.5258 GB, free: 15.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.5304, allocations: 142.6 kB / 0.5259 GB, free: 14.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.242e-05/0.5305, allocations: 72.95 kB / 0.526 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.5306, allocations: 40.52 kB / 0.526 GB, free: 14.9 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.5308, allocations: 340.4 kB / 0.5263 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.5309, allocations: 60.83 kB / 0.5264 GB, free: 14.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.5311, allocations: 100.2 kB / 0.5265 GB, free: 14.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.5314, allocations: 163.4 kB / 0.5266 GB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5314, allocations: 0 / 0.5266 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000412/0.5318, allocations: 230.2 kB / 0.5269 GB, free: 14.28 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.5319, allocations: 9.438 kB / 0.5269 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5319, allocations: 1.375 kB / 0.5269 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.5319, allocations: 3.641 kB / 0.5269 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.5321, allocations: 44.22 kB / 0.5269 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.5321, allocations: 1.375 kB / 0.5269 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.139e-05/0.5322, allocations: 13.38 kB / 0.5269 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.5322, allocations: 6.875 kB / 0.5269 GB, free: 14.26 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.0002816/0.5325, allocations: 160.5 kB / 0.5271 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.234e-05/0.5325, allocations: 28.78 kB / 0.5271 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.793e-05/0.5326, allocations: 35.86 kB / 0.5272 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.5326, allocations: 2.75 kB / 0.5272 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.5326, allocations: 1.375 kB / 0.5272 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.5326, allocations: 1.266 kB / 0.5272 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.5337, allocations: 0.7193 MB / 0.5279 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5337, allocations: 1.375 kB / 0.5279 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.815e-05/0.5338, allocations: 28 kB / 0.5279 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5338, allocations: 1.438 kB / 0.5279 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.5338, allocations: 16.17 kB / 0.5279 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.5338, allocations: 7.688 kB / 0.5279 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.5338, allocations: 1.5 kB / 0.5279 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/0.5344, allocations: 423.4 kB / 0.5283 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.186e-05/0.5344, allocations: 96.61 kB / 0.5284 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.5345, allocations: 8.219 kB / 0.5284 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.5346, allocations: 16.7 kB / 0.5284 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.5347, allocations: 20.61 kB / 0.5285 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.5347, allocations: 12.19 kB / 0.5285 GB, free: 13.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002697/0.535, allocations: 261.6 kB / 0.5287 GB, free: 12.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.535, allocations: 0 / 0.5287 GB, free: 12.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003675/0.5354, allocations: 50.95 kB / 0.5288 GB, free: 12.86 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.001274/0.5367, allocations: 0.5174 MB / 0.5293 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.5371, allocations: 162.7 kB / 0.5294 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5371, allocations: 0 / 0.5294 GB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.5373, allocations: 83.69 kB / 0.5295 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005635/0.5379, allocations: 66.55 kB / 0.5296 GB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009345/0.5388, allocations: 489.9 kB / 0.53 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004509/0.5393, allocations: 0.7646 MB / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.5394, allocations: 32.81 kB / 0.5308 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.5395, allocations: 33.02 kB / 0.5308 GB, free: 11.37 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5395, allocations: 5.094 kB / 0.5309 GB, free: 11.37 MB / 398.1 MB Notification: Performance of Templates: time 0.007434/0.5469, allocations: 3.157 MB / 0.5339 GB, free: 9.781 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches