Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 110.4 kB / 17.78 MB, free: 5.312 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.001149/0.001149, allocations: 187.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.561/1.561, allocations: 222.9 MB / 242.4 MB, free: 15.19 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.231/0.231, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.528/0.5293, allocations: 60.82 MB / 0.5189 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003109/0.5324, allocations: 1.573 MB / 0.5205 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.5339, allocations: 1.015 MB / 0.5214 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.534, allocations: 0 / 0.5214 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.5343, allocations: 20.25 kB / 0.5215 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.5345, allocations: 41.73 kB / 0.5215 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.5348, allocations: 93.06 kB / 0.5216 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.5349, allocations: 54.44 kB / 0.5216 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.5351, allocations: 16.45 kB / 0.5217 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.323e-05/0.5351, allocations: 26.86 kB / 0.5217 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.5353, allocations: 25.52 kB / 0.5217 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.5353, allocations: 3.375 kB / 0.5217 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.5354, allocations: 49.25 kB / 0.5218 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.213e-05/0.5355, allocations: 12.84 kB / 0.5218 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.5355, allocations: 21.94 kB / 0.5218 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.5358, allocations: 86 kB / 0.5219 GB, free: 1.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5358, allocations: 4 kB / 0.5219 GB, free: 1.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5358, allocations: 0 / 0.5219 GB, free: 1.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.5358, allocations: 1.062 kB / 0.5219 GB, free: 1.852 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.0004422/0.5362, allocations: 380.4 kB / 0.5222 GB, free: 1.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.5363, allocations: 9.188 kB / 0.5222 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.5363, allocations: 13.14 kB / 0.5223 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.5365, allocations: 185.5 kB / 0.5224 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.5365, allocations: 1.438 kB / 0.5224 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.5366, allocations: 2.688 kB / 0.5224 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.5367, allocations: 69.08 kB / 0.5225 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.5367, allocations: 0 / 0.5225 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.5367, allocations: 1.219 kB / 0.5225 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.5368, allocations: 2 kB / 0.5225 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.339e-05/0.5368, allocations: 25.84 kB / 0.5225 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.5372, allocations: 268.7 kB / 0.5228 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.5374, allocations: 43.17 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.803e-05/0.5374, allocations: 13.16 kB / 0.5228 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.5375, allocations: 6.109 kB / 0.5229 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.5375, allocations: 35.69 kB / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.5375, allocations: 0 / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005196/0.538, allocations: 143.3 kB / 0.523 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.5381, allocations: 78.33 kB / 0.5231 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.5382, allocations: 135 kB / 0.5232 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.707e-06/0.5382, allocations: 27.05 kB / 0.5233 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.823e-05/0.5382, allocations: 91.8 kB / 0.5233 GB, free: 428 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.5383, allocations: 15.38 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.5383, allocations: 19.8 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.5384, allocations: 327.1 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.685e-05/0.5384, allocations: 14.06 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-05/0.5385, allocations: 32.14 kB / 0.5237 GB, free: 44 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.5387, allocations: 49.92 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.5387, allocations: 1.125 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001956/0.5389, allocations: 83.8 kB / 0.5239 GB, free: 15.97 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.5389, allocations: 10.47 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.5389, allocations: 0 / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.5389, allocations: 0 / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.539, allocations: 12.75 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.539, allocations: 2.031 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.076e-05/0.539, allocations: 8.359 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.5391, allocations: 2.531 kB / 0.5239 GB, free: 15.96 MB / 398.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 8.467e-05/0.5392, allocations: 125.1 kB / 0.524 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.5392, allocations: 8.797 kB / 0.524 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.5394, allocations: 99.17 kB / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5395, allocations: 1 kB / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5395, allocations: 0.8438 kB / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5395, allocations: 1.125 kB / 0.5241 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.5399, allocations: 347 kB / 0.5244 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5399, allocations: 0 / 0.5244 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.735e-05/0.54, allocations: 11.97 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.54, allocations: 4.641 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.54, allocations: 1.312 kB / 0.5245 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.54, allocations: 8.844 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.54, allocations: 0.6094 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.5403, allocations: 176.2 kB / 0.5246 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.453e-05/0.5403, allocations: 80.66 kB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.5403, allocations: 1.062 kB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.5404, allocations: 9.375 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.5405, allocations: 7.328 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.5405, allocations: 1.469 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.233e-05/0.5406, allocations: 104 kB / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5406, allocations: 0 / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002562/0.5408, allocations: 27.72 kB / 0.5249 GB, free: 15.07 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.001045/0.5419, allocations: 441.5 kB / 0.5253 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.5421, allocations: 52.89 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5421, allocations: 0 / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.322e-05/0.5422, allocations: 27.22 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.5425, allocations: 15.05 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.5429, allocations: 159.5 kB / 0.5255 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.5432, allocations: 0.6893 MB / 0.5262 GB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.383e-05/0.5432, allocations: 15.84 kB / 0.5262 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.726e-05/0.5433, allocations: 15.91 kB / 0.5262 GB, free: 14 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5433, allocations: 0 / 0.5262 GB, free: 14 MB / 398.1 MB Notification: Performance of Templates: time 0.004345/0.5476, allocations: 1.372 MB / 0.5276 GB, free: 13.64 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches