Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 110.4 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.001052/0.001052, allocations: 187.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.433/1.433, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2488/0.2488, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 470.6 MB, free: 13.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.472, allocations: 60.83 MB / 0.519 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004292/0.4763, allocations: 1.893 MB / 0.5208 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001824/0.4782, allocations: 0.9883 MB / 0.5218 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.4783, allocations: 2.156 kB / 0.5218 GB, free: 1.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000635/0.4789, allocations: 254.2 kB / 0.5221 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004247/0.4794, allocations: 185 kB / 0.5222 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004827/0.4799, allocations: 180 kB / 0.5224 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.4803, allocations: 255.2 kB / 0.5227 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.4804, allocations: 33.98 kB / 0.5227 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.4807, allocations: 135.8 kB / 0.5228 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.481, allocations: 179.5 kB / 0.523 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.481, allocations: 6.906 kB / 0.523 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.4812, allocations: 58.16 kB / 0.523 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.4813, allocations: 69.28 kB / 0.5231 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.725e-05/0.4814, allocations: 89.5 kB / 0.5232 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.4818, allocations: 245.8 kB / 0.5234 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.4818, allocations: 0.8438 kB / 0.5234 GB, free: 1.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4818, allocations: 1.188 kB / 0.5234 GB, free: 1.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4818, allocations: 0 / 0.5234 GB, free: 1.273 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.0007765/0.4826, allocations: 0.569 MB / 0.524 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4826, allocations: 13.22 kB / 0.524 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.149e-05/0.4827, allocations: 30.67 kB / 0.524 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.483, allocations: 282.2 kB / 0.5243 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.4831, allocations: 12.27 kB / 0.5243 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.506e-05/0.4831, allocations: 14.19 kB / 0.5243 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.4834, allocations: 114.3 kB / 0.5244 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.4834, allocations: 1.828 kB / 0.5244 GB, free: 408 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.4834, allocations: 5.219 kB / 0.5244 GB, free: 404 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.4834, allocations: 5.375 kB / 0.5244 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.4836, allocations: 42.95 kB / 0.5245 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.4842, allocations: 478.3 kB / 0.5249 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.4846, allocations: 130.5 kB / 0.5251 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.4847, allocations: 40.73 kB / 0.5251 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.4847, allocations: 3.031 kB / 0.5251 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.485, allocations: 121.7 kB / 0.5252 GB, free: 15.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.485, allocations: 0 / 0.5252 GB, free: 15.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00148/0.4865, allocations: 0.5059 MB / 0.5257 GB, free: 15.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.861e-05/0.4866, allocations: 81.12 kB / 0.5258 GB, free: 15.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000752/0.4873, allocations: 480.5 kB / 0.5263 GB, free: 15.22 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.4874, allocations: 35.94 kB / 0.5263 GB, free: 15.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.4876, allocations: 161.1 kB / 0.5264 GB, free: 15.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.4877, allocations: 72.91 kB / 0.5265 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.4878, allocations: 40.95 kB / 0.5266 GB, free: 14.94 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.488, allocations: 353.4 kB / 0.5269 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.4881, allocations: 57.47 kB / 0.5269 GB, free: 14.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.4884, allocations: 99.75 kB / 0.527 GB, free: 14.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.4887, allocations: 156.5 kB / 0.5272 GB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.4887, allocations: 4.969 kB / 0.5272 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005389/0.4893, allocations: 239.6 kB / 0.5274 GB, free: 14.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.4893, allocations: 8.5 kB / 0.5274 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4893, allocations: 1.188 kB / 0.5274 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/0.4894, allocations: 6.781 kB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.4895, allocations: 45.81 kB / 0.5275 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.4896, allocations: 2.375 kB / 0.5275 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001136/0.4897, allocations: 8.938 kB / 0.5275 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.4897, allocations: 6.406 kB / 0.5275 GB, free: 14.24 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.0002526/0.49, allocations: 172.3 kB / 0.5277 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/0.4901, allocations: 43.14 kB / 0.5277 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.4902, allocations: 40.97 kB / 0.5277 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.4902, allocations: 6.656 kB / 0.5277 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.4902, allocations: 0 / 0.5277 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4902, allocations: 5.438 kB / 0.5278 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.4915, allocations: 0.7293 MB / 0.5285 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4915, allocations: 1.188 kB / 0.5285 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.4916, allocations: 35.61 kB / 0.5285 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.864e-06/0.4916, allocations: 2.781 kB / 0.5285 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.4917, allocations: 8.219 kB / 0.5285 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.4917, allocations: 3.062 kB / 0.5285 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.4917, allocations: 1.312 kB / 0.5285 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006322/0.4923, allocations: 425.9 kB / 0.5289 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.4924, allocations: 100.7 kB / 0.529 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.65e-05/0.4925, allocations: 12.11 kB / 0.529 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.4927, allocations: 12.2 kB / 0.529 GB, free: 12.94 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.799e-05/0.4928, allocations: 25.73 kB / 0.5291 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.4928, allocations: 16.77 kB / 0.5291 GB, free: 12.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004618/0.4933, allocations: 355.3 kB / 0.5294 GB, free: 12.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4933, allocations: 0 / 0.5294 GB, free: 12.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004048/0.4937, allocations: 52.33 kB / 0.5295 GB, free: 12.71 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.001375/0.4951, allocations: 0.5135 MB / 0.53 GB, free: 12.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003993/0.4955, allocations: 154.2 kB / 0.5301 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.4955, allocations: 5.406 kB / 0.5301 GB, free: 12.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.4957, allocations: 78.31 kB / 0.5302 GB, free: 12.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.4963, allocations: 63.88 kB / 0.5303 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.4974, allocations: 0.5828 MB / 0.5308 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004463/0.4979, allocations: 0.7836 MB / 0.5316 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001171/0.498, allocations: 36.55 kB / 0.5316 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.4981, allocations: 30.19 kB / 0.5317 GB, free: 11.19 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4981, allocations: 3.938 kB / 0.5317 GB, free: 11.19 MB / 398.1 MB Notification: Performance of Templates: time 0.007796/0.5059, allocations: 3.219 MB / 0.5348 GB, free: 9.57 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches