Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, 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.001485/0.001486, 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.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.234/0.234, allocations: 44.2 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001969/0.00197, allocations: 67.89 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4424/0.4444, allocations: 60.82 MB / 0.519 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003181/0.4476, allocations: 1.707 MB / 0.5206 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001392/0.449, allocations: 0.8716 MB / 0.5215 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.316e-05/0.4491, allocations: 5 kB / 0.5215 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.4496, allocations: 79.59 kB / 0.5216 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002531/0.4498, allocations: 77.41 kB / 0.5217 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.4501, allocations: 110.1 kB / 0.5218 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.4504, allocations: 108 kB / 0.5219 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.4505, allocations: 18.8 kB / 0.5219 GB, free: 1.926 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.4506, allocations: 56.25 kB / 0.5219 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.4507, allocations: 58.05 kB / 0.522 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.4507, allocations: 3.531 kB / 0.522 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.4509, allocations: 42 kB / 0.522 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.4509, allocations: 20.83 kB / 0.5221 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.451, allocations: 37.56 kB / 0.5221 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.4512, allocations: 120.4 kB / 0.5222 GB, free: 1.785 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4512, allocations: 5.062 kB / 0.5222 GB, free: 1.781 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4512, allocations: 0 / 0.5222 GB, free: 1.781 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.4512, allocations: 3.938 kB / 0.5222 GB, free: 1.777 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.0005183/0.4518, allocations: 426.1 kB / 0.5226 GB, free: 1.359 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.4518, allocations: 9.953 kB / 0.5226 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.745e-05/0.4519, allocations: 10.25 kB / 0.5226 GB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.4521, allocations: 206.7 kB / 0.5228 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.4521, allocations: 3.25 kB / 0.5228 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.4522, allocations: 14.69 kB / 0.5229 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.4523, allocations: 49.22 kB / 0.5229 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4524, allocations: 1.094 kB / 0.5229 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.4524, allocations: 4 kB / 0.5229 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.4524, allocations: 5.875 kB / 0.5229 GB, free: 1.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.111e-05/0.4525, allocations: 17.7 kB / 0.5229 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.4529, allocations: 289.8 kB / 0.5232 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.453, allocations: 59.72 kB / 0.5233 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.383e-05/0.4531, allocations: 27.53 kB / 0.5233 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.4531, allocations: 2.109 kB / 0.5233 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001536/0.4533, allocations: 68.97 kB / 0.5234 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.4533, allocations: 0 / 0.5234 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005717/0.4539, allocations: 173.3 kB / 0.5235 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.4539, allocations: 53.95 kB / 0.5236 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.4541, allocations: 214.3 kB / 0.5238 GB, free: 400 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.4542, allocations: 31.02 kB / 0.5238 GB, free: 364 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.4542, allocations: 101.1 kB / 0.5239 GB, free: 268 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.4542, allocations: 25.94 kB / 0.5239 GB, free: 248 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.4543, allocations: 25.81 kB / 0.5239 GB, free: 224 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.4544, allocations: 326.2 kB / 0.5243 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.268e-05/0.4544, allocations: 26.17 kB / 0.5243 GB, free: 15.89 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.877e-05/0.4545, allocations: 38.92 kB / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.4546, allocations: 58.52 kB / 0.5244 GB, free: 15.82 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4547, allocations: 0 / 0.5244 GB, free: 15.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001939/0.4549, allocations: 109.5 kB / 0.5245 GB, free: 15.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4549, allocations: 5.969 kB / 0.5245 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.4549, allocations: 8.672 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4549, allocations: 1.469 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.174e-05/0.455, allocations: 14.64 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.455, allocations: 1.938 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.888e-05/0.4551, allocations: 6.516 kB / 0.5245 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.4551, allocations: 3.781 kB / 0.5245 GB, free: 15.75 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.0001109/0.4552, allocations: 127.9 kB / 0.5246 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.4552, allocations: 12.88 kB / 0.5247 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.4553, allocations: 21.69 kB / 0.5247 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.4553, allocations: 1.812 kB / 0.5247 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4553, allocations: 3.938 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.4553, allocations: 6.031 kB / 0.5247 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.4558, allocations: 388.3 kB / 0.5251 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.4558, allocations: 0 / 0.5251 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.4559, allocations: 12.25 kB / 0.5251 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4559, allocations: 2.469 kB / 0.5251 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.4559, allocations: 10.28 kB / 0.5251 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.4559, allocations: 9.781 kB / 0.5251 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4559, allocations: 0.9844 kB / 0.5251 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.4562, allocations: 198.1 kB / 0.5253 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.089e-05/0.4562, allocations: 87.91 kB / 0.5254 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.4563, allocations: 10.77 kB / 0.5254 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.4563, allocations: 3.141 kB / 0.5254 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.4564, allocations: 12.64 kB / 0.5254 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.4564, allocations: 3.781 kB / 0.5254 GB, free: 14.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.4566, allocations: 161.2 kB / 0.5255 GB, free: 14.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4566, allocations: 0 / 0.5255 GB, free: 14.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002633/0.4568, allocations: 26.47 kB / 0.5256 GB, free: 14.84 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.001169/0.458, allocations: 468.8 kB / 0.526 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.4582, allocations: 61.03 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4582, allocations: 3.938 kB / 0.5261 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.4583, allocations: 24.97 kB / 0.5261 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.4587, allocations: 33.89 kB / 0.5261 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005395/0.4592, allocations: 251.2 kB / 0.5264 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.4596, allocations: 0.7047 MB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.125e-05/0.4597, allocations: 12.48 kB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.4598, allocations: 16.84 kB / 0.5271 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4598, allocations: 4 kB / 0.5271 GB, free: 13.7 MB / 398.1 MB Notification: Performance of Templates: time 0.005719/0.4655, allocations: 1.714 MB / 0.5288 GB, free: 13.07 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches