Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.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.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 114.4 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.001172/0.001172, allocations: 183 kB / 18.71 MB, free: 4.363 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.42/1.42, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2326/0.2326, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 59.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4459, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.002958/0.4489, allocations: 1.563 MB / 0.5204 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007786/0.4497, allocations: 399.8 kB / 0.5208 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.4498, allocations: 1.188 kB / 0.5208 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.4501, allocations: 29.09 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.4503, allocations: 37.56 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.4506, allocations: 88.28 kB / 0.521 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.4507, allocations: 54.3 kB / 0.521 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.4509, allocations: 12.94 kB / 0.521 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.223e-05/0.4509, allocations: 21.83 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.828e-05/0.451, allocations: 24.69 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.451, allocations: 2.281 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.373e-05/0.4511, allocations: 29.19 kB / 0.5211 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.4512, allocations: 19.38 kB / 0.5211 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.4512, allocations: 25.55 kB / 0.5212 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001894/0.4514, allocations: 80.23 kB / 0.5212 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4514, allocations: 0 / 0.5212 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4514, allocations: 1 kB / 0.5212 GB, free: 2.055 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.4514, allocations: 0 / 0.5212 GB, free: 2.055 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004156/0.4519, allocations: 381.9 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4519, allocations: 13.97 kB / 0.5216 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.321e-05/0.4519, allocations: 8.062 kB / 0.5216 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.4521, allocations: 196.1 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.284e-06/0.4521, allocations: 1.562 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.4521, allocations: 1.875 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.4523, allocations: 53.59 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.4523, allocations: 7.906 kB / 0.5219 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.4523, allocations: 0 / 0.5219 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4523, allocations: 1.344 kB / 0.5219 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.335e-05/0.4524, allocations: 26.12 kB / 0.5219 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.4527, allocations: 270.9 kB / 0.5222 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002027/0.4529, allocations: 44.86 kB / 0.5222 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.453, allocations: 17.86 kB / 0.5222 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.453, allocations: 0 / 0.5222 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.453, allocations: 40.38 kB / 0.5222 GB, free: 1.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.4531, allocations: 0 / 0.5222 GB, free: 1.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005441/0.4536, allocations: 140 kB / 0.5224 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.4536, allocations: 52.88 kB / 0.5224 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.4538, allocations: 162 kB / 0.5226 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.4538, allocations: 33.7 kB / 0.5226 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.4539, allocations: 95.39 kB / 0.5227 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.4539, allocations: 10.91 kB / 0.5227 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.4539, allocations: 18.97 kB / 0.5227 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.835e-05/0.454, allocations: 324.5 kB / 0.523 GB, free: 308 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.965e-05/0.4541, allocations: 18.66 kB / 0.5231 GB, free: 304 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.672e-05/0.4541, allocations: 17.81 kB / 0.5231 GB, free: 300 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.4542, allocations: 46.89 kB / 0.5231 GB, free: 280 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4542, allocations: 1.25 kB / 0.5231 GB, free: 280 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001631/0.4544, allocations: 83.64 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.4544, allocations: 6.766 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.4544, allocations: 0 / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4545, allocations: 1.031 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.4545, allocations: 13.27 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.4545, allocations: 0 / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.638e-05/0.4546, allocations: 8.703 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.4546, allocations: 1.734 kB / 0.5232 GB, free: 224 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.492e-05/0.4547, allocations: 125.8 kB / 0.5234 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.4547, allocations: 16.09 kB / 0.5234 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.4549, allocations: 98.42 kB / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.4549, allocations: 0 / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4549, allocations: 2.188 kB / 0.5235 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.455, allocations: 4 kB / 0.5235 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.4555, allocations: 348.2 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4555, allocations: 0 / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/0.4555, allocations: 17.14 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.4556, allocations: 0 / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.4556, allocations: 1.156 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.4556, allocations: 5.875 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4556, allocations: 0 / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.4558, allocations: 181.4 kB / 0.524 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.4559, allocations: 87.62 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.4559, allocations: 0.6562 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.824e-05/0.456, allocations: 9.219 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.456, allocations: 3.656 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.456, allocations: 2.094 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000104/0.4561, allocations: 132.6 kB / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4561, allocations: 0 / 0.5242 GB, free: 15.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.4564, allocations: 15.64 kB / 0.5242 GB, free: 15.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009233/0.4573, allocations: 405.1 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.4575, allocations: 43.69 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4575, allocations: 0.9375 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.835e-05/0.4576, allocations: 26.78 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.4579, allocations: 23.12 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.4584, allocations: 190.5 kB / 0.5249 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.4586, allocations: 0.697 MB / 0.5256 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.646e-05/0.4587, allocations: 9.984 kB / 0.5256 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.4587, allocations: 12.7 kB / 0.5256 GB, free: 14.24 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4587, allocations: 0 / 0.5256 GB, free: 14.24 MB / 398.1 MB Notification: Performance of Templates: time 0.004276/0.463, allocations: 1.118 MB / 0.5267 GB, free: 14.09 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches