Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001481, 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.001365/0.001365, allocations: 183.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.45/1.45, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2387/0.2387, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4859/0.4873, allocations: 60.82 MB / 0.519 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003118/0.4905, allocations: 1.71 MB / 0.5207 GB, free: 2.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.4926, allocations: 1.485 MB / 0.5221 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.802e-05/0.4927, allocations: 1.094 kB / 0.5221 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.4931, allocations: 36.28 kB / 0.5221 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002665/0.4934, allocations: 55.7 kB / 0.5222 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.4937, allocations: 116.4 kB / 0.5223 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.4939, allocations: 101.3 kB / 0.5224 GB, free: 1.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.494, allocations: 8.047 kB / 0.5224 GB, free: 1.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.664e-05/0.4941, allocations: 41.94 kB / 0.5224 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.4942, allocations: 39.8 kB / 0.5225 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.4943, allocations: 8.25 kB / 0.5225 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.4945, allocations: 58.83 kB / 0.5225 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.703e-05/0.4945, allocations: 23.56 kB / 0.5226 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.053e-05/0.4946, allocations: 32.95 kB / 0.5226 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.495, allocations: 121.6 kB / 0.5227 GB, free: 1.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.495, allocations: 0 / 0.5227 GB, free: 1.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.495, allocations: 0.8125 kB / 0.5227 GB, free: 1.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.495, allocations: 0.8438 kB / 0.5227 GB, free: 1.094 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.0007098/0.4957, allocations: 402.5 kB / 0.5231 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.4958, allocations: 9.594 kB / 0.5231 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.321e-05/0.4958, allocations: 9.234 kB / 0.5231 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.4962, allocations: 214.1 kB / 0.5233 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4962, allocations: 1.469 kB / 0.5233 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.4962, allocations: 7.312 kB / 0.5233 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.4964, allocations: 66.05 kB / 0.5234 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.4964, allocations: 1.219 kB / 0.5234 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4965, allocations: 4.594 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.4965, allocations: 1.062 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.665e-05/0.4966, allocations: 25.83 kB / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000348/0.4969, allocations: 279.8 kB / 0.5237 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.4971, allocations: 56.91 kB / 0.5237 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.527e-05/0.4972, allocations: 20.53 kB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.4972, allocations: 1.438 kB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.4973, allocations: 72.64 kB / 0.5238 GB, free: 0 / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.4973, allocations: 0 / 0.5238 GB, free: 0 / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006324/0.498, allocations: 168.4 kB / 0.524 GB, free: 15.91 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.4981, allocations: 83.12 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.4982, allocations: 153.3 kB / 0.5242 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.4983, allocations: 26.83 kB / 0.5243 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.701e-05/0.4983, allocations: 93.59 kB / 0.5243 GB, free: 15.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.4984, allocations: 34.38 kB / 0.5244 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.4984, allocations: 26.27 kB / 0.5244 GB, free: 15.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4986, allocations: 325.2 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.4987, allocations: 21.27 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.4987, allocations: 41.72 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.4989, allocations: 66.44 kB / 0.5248 GB, free: 15.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4989, allocations: 0 / 0.5248 GB, free: 15.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002156/0.4991, allocations: 100.5 kB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4991, allocations: 5.75 kB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4991, allocations: 192 / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4992, allocations: 5.609 kB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.44e-05/0.4993, allocations: 19.61 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.4993, allocations: 0.7031 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.06e-05/0.4993, allocations: 7.469 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.4993, allocations: 3.5 kB / 0.525 GB, free: 15.06 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.0001403/0.4995, allocations: 128.7 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.4995, allocations: 8.25 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.4996, allocations: 14.78 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.4996, allocations: 2.172 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4996, allocations: 0 / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.4996, allocations: 4.641 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.5001, allocations: 388 kB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5001, allocations: 5.5 kB / 0.5255 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.904e-05/0.5002, allocations: 16.67 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.5002, allocations: 1.719 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.5002, allocations: 6.375 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.5002, allocations: 0.6094 kB / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5002, allocations: 0 / 0.5255 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.5005, allocations: 202 kB / 0.5257 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.5006, allocations: 83.41 kB / 0.5258 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.5006, allocations: 6.328 kB / 0.5258 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.496e-05/0.5007, allocations: 3.219 kB / 0.5258 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.5008, allocations: 6.344 kB / 0.5258 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.5008, allocations: 9.219 kB / 0.5258 GB, free: 14.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001143/0.5009, allocations: 119 kB / 0.5259 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5009, allocations: 0 / 0.5259 GB, free: 14.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.5012, allocations: 31.06 kB / 0.526 GB, free: 14.18 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.001325/0.5025, allocations: 0.5061 MB / 0.5265 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.5028, allocations: 62.34 kB / 0.5265 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5028, allocations: 0 / 0.5265 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.499e-05/0.5029, allocations: 28.64 kB / 0.5265 GB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003513/0.5032, allocations: 26.12 kB / 0.5266 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.5037, allocations: 202.7 kB / 0.5268 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.5041, allocations: 0.696 MB / 0.5274 GB, free: 13.05 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.305e-05/0.5042, allocations: 18.86 kB / 0.5275 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.5042, allocations: 18.33 kB / 0.5275 GB, free: 13.04 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5042, allocations: 0 / 0.5275 GB, free: 13.04 MB / 398.1 MB Notification: Performance of Templates: time 0.006768/0.511, allocations: 1.977 MB / 0.5294 GB, free: 12.3 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches