Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.Test56,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.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 113.8 kB / 17.78 MB, free: 5.309 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.001729/0.001729, allocations: 183.1 kB / 18.71 MB, free: 4.387 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.519/1.519, allocations: 222.9 MB / 242.4 MB, free: 15.2 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.2473/0.2473, allocations: 44.19 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 63.91 kB / 470.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4728, allocations: 60.82 MB / 0.519 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003064/0.476, allocations: 1.715 MB / 0.5207 GB, free: 2.434 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.4781, allocations: 1.484 MB / 0.5221 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.483e-05/0.4782, allocations: 1.125 kB / 0.5221 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.4785, allocations: 36.14 kB / 0.5221 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000258/0.4788, allocations: 64.09 kB / 0.5222 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.4791, allocations: 105.8 kB / 0.5223 GB, free: 1.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.4793, allocations: 95.94 kB / 0.5224 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.4794, allocations: 7.703 kB / 0.5224 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.4795, allocations: 54.58 kB / 0.5225 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.4797, allocations: 40.23 kB / 0.5225 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.4797, allocations: 3.406 kB / 0.5225 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.4798, allocations: 59.2 kB / 0.5226 GB, free: 1.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.304e-05/0.4799, allocations: 15.72 kB / 0.5226 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.381e-05/0.48, allocations: 33.52 kB / 0.5226 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.4802, allocations: 121.3 kB / 0.5227 GB, free: 1.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.4802, allocations: 3.938 kB / 0.5227 GB, free: 1.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4802, allocations: 0.8438 kB / 0.5227 GB, free: 1.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.4803, allocations: 1.375 kB / 0.5227 GB, free: 1.074 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.0005061/0.4808, allocations: 401.1 kB / 0.5231 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.4808, allocations: 10.73 kB / 0.5231 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.596e-05/0.4809, allocations: 8.5 kB / 0.5231 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002614/0.4811, allocations: 208.6 kB / 0.5233 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.4812, allocations: 1.5 kB / 0.5233 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.4812, allocations: 7.062 kB / 0.5233 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.4814, allocations: 75.11 kB / 0.5234 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.4814, allocations: 0.6562 kB / 0.5234 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.4814, allocations: 5.188 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.4814, allocations: 0 / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.8e-05/0.4815, allocations: 23.03 kB / 0.5234 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.4819, allocations: 279 kB / 0.5237 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.482, allocations: 68.44 kB / 0.5238 GB, free: 48 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.966e-05/0.4821, allocations: 20.03 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.4821, allocations: 1.469 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.4823, allocations: 65.83 kB / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.4823, allocations: 0 / 0.5238 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006389/0.483, allocations: 164.2 kB / 0.524 GB, free: 15.9 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.4831, allocations: 86.62 kB / 0.5241 GB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.4833, allocations: 152 kB / 0.5242 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.4833, allocations: 26.73 kB / 0.5243 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.4834, allocations: 94.12 kB / 0.5243 GB, free: 15.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.419e-05/0.4835, allocations: 26.27 kB / 0.5244 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.435e-05/0.4835, allocations: 26.06 kB / 0.5244 GB, free: 15.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.4837, allocations: 324.8 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.8e-05/0.4838, allocations: 16.86 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.634e-05/0.4839, allocations: 53.25 kB / 0.5248 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.484, allocations: 54.25 kB / 0.5248 GB, free: 15.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.484, allocations: 0 / 0.5248 GB, free: 15.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002216/0.4842, allocations: 108.9 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.4843, allocations: 6.5 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4843, allocations: 384 / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.4843, allocations: 5.438 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.4844, allocations: 16.48 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4844, allocations: 0 / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.823e-05/0.4845, allocations: 11.91 kB / 0.525 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.4845, allocations: 3.156 kB / 0.525 GB, free: 15.04 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.0001142/0.4846, allocations: 125.4 kB / 0.5251 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.4847, allocations: 10 kB / 0.5251 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.417e-05/0.4847, allocations: 17.61 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4847, allocations: 0.9688 kB / 0.5251 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4847, allocations: 4 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.4848, allocations: 5.906 kB / 0.5251 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005123/0.4853, allocations: 387.8 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.4853, allocations: 0 / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.4853, allocations: 14.33 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.4853, allocations: 0 / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.4854, allocations: 6.375 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.227e-06/0.4854, allocations: 2.703 kB / 0.5255 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4854, allocations: 4.031 kB / 0.5255 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002654/0.4857, allocations: 204.4 kB / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.4857, allocations: 84.58 kB / 0.5258 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.4858, allocations: 6.406 kB / 0.5258 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.4859, allocations: 3.312 kB / 0.5258 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.4859, allocations: 4.688 kB / 0.5258 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.4859, allocations: 13.03 kB / 0.5258 GB, free: 14.25 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001131/0.4861, allocations: 116.4 kB / 0.5259 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4861, allocations: 0 / 0.5259 GB, free: 14.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.4864, allocations: 31.91 kB / 0.526 GB, free: 14.16 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.001387/0.4878, allocations: 0.5002 MB / 0.5265 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.488, allocations: 68.19 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4881, allocations: 0 / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.954e-05/0.4881, allocations: 36.97 kB / 0.5266 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.4885, allocations: 23.7 kB / 0.5266 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.489, allocations: 197.8 kB / 0.5268 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.4893, allocations: 0.6966 MB / 0.5274 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.99e-05/0.4894, allocations: 17.33 kB / 0.5275 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.4895, allocations: 18.72 kB / 0.5275 GB, free: 13.01 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4895, allocations: 0 / 0.5275 GB, free: 13.01 MB / 398.1 MB Notification: Performance of Templates: time 0.005827/0.4953, allocations: 1.963 MB / 0.5294 GB, free: 12.29 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches