Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,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.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 109.5 kB / 17.77 MB, free: 5.293 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.001192/0.001192, allocations: 188.8 kB / 18.71 MB, free: 4.367 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.471/1.471, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2327/0.2327, allocations: 44.19 MB / 336.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4415/0.4427, allocations: 60.83 MB / 0.519 GB, free: 3.906 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003204/0.446, allocations: 1.714 MB / 0.5207 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.4474, allocations: 0.8686 MB / 0.5215 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.567e-05/0.4475, allocations: 5.25 kB / 0.5215 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.4478, allocations: 41.8 kB / 0.5216 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.448, allocations: 62.89 kB / 0.5216 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.4484, allocations: 105.6 kB / 0.5217 GB, free: 2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.4486, allocations: 95.75 kB / 0.5218 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.4487, allocations: 8.078 kB / 0.5218 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.4488, allocations: 42.55 kB / 0.5219 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.186e-05/0.4489, allocations: 37.59 kB / 0.5219 GB, free: 1.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.4489, allocations: 7.938 kB / 0.5219 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.449, allocations: 38.38 kB / 0.5219 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.4491, allocations: 26.66 kB / 0.522 GB, free: 1.883 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.4491, allocations: 34.19 kB / 0.522 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.4494, allocations: 110.7 kB / 0.5221 GB, free: 1.816 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4494, allocations: 0.9688 kB / 0.5221 GB, free: 1.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4494, allocations: 0 / 0.5221 GB, free: 1.816 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.4494, allocations: 0 / 0.5221 GB, free: 1.816 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.0004831/0.4499, allocations: 416.4 kB / 0.5225 GB, free: 1.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.4499, allocations: 10.78 kB / 0.5225 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.975e-05/0.45, allocations: 17.25 kB / 0.5225 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.4502, allocations: 211.6 kB / 0.5227 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.4502, allocations: 3.125 kB / 0.5227 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.14e-05/0.4502, allocations: 5.156 kB / 0.5227 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.4504, allocations: 55.61 kB / 0.5228 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4504, allocations: 0 / 0.5228 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.4504, allocations: 0 / 0.5228 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.4504, allocations: 1.703 kB / 0.5228 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.104e-05/0.4505, allocations: 22.17 kB / 0.5228 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003043/0.4508, allocations: 295.2 kB / 0.5231 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.451, allocations: 56.14 kB / 0.5231 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.4511, allocations: 21.05 kB / 0.5232 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.4511, allocations: 1.125 kB / 0.5232 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001346/0.4512, allocations: 77.23 kB / 0.5232 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.4512, allocations: 0 / 0.5232 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005184/0.4518, allocations: 173 kB / 0.5234 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.4518, allocations: 60.56 kB / 0.5235 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.452, allocations: 197.2 kB / 0.5236 GB, free: 436 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.452, allocations: 28.77 kB / 0.5237 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.452, allocations: 107 kB / 0.5238 GB, free: 300 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.4521, allocations: 26.75 kB / 0.5238 GB, free: 280 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.4521, allocations: 21.2 kB / 0.5238 GB, free: 260 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.521e-05/0.4522, allocations: 326.6 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.4522, allocations: 21.06 kB / 0.5242 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.494e-05/0.4523, allocations: 35.89 kB / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.4524, allocations: 69.56 kB / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4524, allocations: 0 / 0.5243 GB, free: 15.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001936/0.4526, allocations: 97.41 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.4527, allocations: 10.45 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.4527, allocations: 0 / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4527, allocations: 0.6562 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.667e-05/0.4528, allocations: 16.25 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.4528, allocations: 1.891 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.903e-05/0.4529, allocations: 10.53 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.4529, allocations: 10.3 kB / 0.5244 GB, free: 15.78 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.0001017/0.453, allocations: 127.8 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.453, allocations: 13.44 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.762e-05/0.4531, allocations: 21.31 kB / 0.5245 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4531, allocations: 1.094 kB / 0.5245 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4531, allocations: 0 / 0.5245 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.4531, allocations: 4.594 kB / 0.5246 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004424/0.4535, allocations: 391.1 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.4535, allocations: 1.812 kB / 0.5249 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/0.4536, allocations: 16.92 kB / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4536, allocations: 0 / 0.5249 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.4536, allocations: 6.484 kB / 0.525 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4536, allocations: 2.531 kB / 0.525 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4536, allocations: 0 / 0.525 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.4539, allocations: 205.9 kB / 0.5251 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.4539, allocations: 84.72 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.4539, allocations: 6.094 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.986e-05/0.454, allocations: 6.797 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.4541, allocations: 5.859 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.4541, allocations: 9.062 kB / 0.5253 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001218/0.4542, allocations: 154.4 kB / 0.5254 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4542, allocations: 0 / 0.5254 GB, free: 14.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.4545, allocations: 26.09 kB / 0.5254 GB, free: 14.89 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.001081/0.4556, allocations: 469.8 kB / 0.5259 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.4558, allocations: 56.28 kB / 0.5259 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4558, allocations: 5.188 kB / 0.5259 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.041e-05/0.4559, allocations: 28.19 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003348/0.4562, allocations: 32.91 kB / 0.526 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.4567, allocations: 224 kB / 0.5262 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.457, allocations: 0.7068 MB / 0.5269 GB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.052e-05/0.457, allocations: 19.98 kB / 0.5269 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.4571, allocations: 16.81 kB / 0.5269 GB, free: 13.76 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4571, allocations: 0 / 0.5269 GB, free: 13.76 MB / 398.1 MB Notification: Performance of Templates: time 0.004681/0.4618, allocations: 1.74 MB / 0.5286 GB, free: 13.15 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches