Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.CombiTable1Dv.Test21,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.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 113.4 kB / 17.78 MB, free: 5.27 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.001652/0.001652, allocations: 180.1 kB / 18.71 MB, free: 4.348 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.47/1.47, 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.2488/0.2488, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 55.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.5004, allocations: 60.82 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.003136/0.5036, allocations: 1.569 MB / 0.5204 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.5051, allocations: 1.036 MB / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.5052, allocations: 0 / 0.5215 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.5054, allocations: 20.2 kB / 0.5215 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.5057, allocations: 42.19 kB / 0.5215 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.506, allocations: 107.1 kB / 0.5216 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001531/0.5061, allocations: 56.44 kB / 0.5217 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.5062, allocations: 15.59 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.173e-05/0.5063, allocations: 27.09 kB / 0.5217 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.5064, allocations: 30.34 kB / 0.5217 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.5065, allocations: 2.281 kB / 0.5217 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.5066, allocations: 50.55 kB / 0.5218 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.5067, allocations: 13.3 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.883e-05/0.5067, allocations: 21.2 kB / 0.5218 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002273/0.5069, allocations: 86.39 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.5069, allocations: 1.062 kB / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.507, allocations: 0 / 0.5219 GB, free: 1.574 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.507, allocations: 4 kB / 0.5219 GB, free: 1.57 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.0004539/0.5074, allocations: 374.9 kB / 0.5223 GB, free: 1.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.5075, allocations: 14.66 kB / 0.5223 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.5075, allocations: 7.656 kB / 0.5223 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.5077, allocations: 188.2 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.615e-06/0.5077, allocations: 384 / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.5078, allocations: 3.281 kB / 0.5225 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.5079, allocations: 74.06 kB / 0.5225 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5079, allocations: 0 / 0.5225 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.508, allocations: 1.312 kB / 0.5225 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.508, allocations: 3.938 kB / 0.5226 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.908e-05/0.5081, allocations: 24.47 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/0.5084, allocations: 274.8 kB / 0.5228 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.5087, allocations: 54.92 kB / 0.5229 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.114e-05/0.5087, allocations: 18.09 kB / 0.5229 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.5088, allocations: 1.031 kB / 0.5229 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.5088, allocations: 32.08 kB / 0.5229 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.5088, allocations: 0 / 0.5229 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005861/0.5094, allocations: 154.8 kB / 0.5231 GB, free: 468 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.5094, allocations: 78.17 kB / 0.5232 GB, free: 372 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001234/0.5096, allocations: 135.5 kB / 0.5233 GB, free: 260 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.5096, allocations: 26.73 kB / 0.5233 GB, free: 228 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.13e-05/0.5096, allocations: 92.31 kB / 0.5234 GB, free: 136 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.5097, allocations: 15.41 kB / 0.5234 GB, free: 124 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.5097, allocations: 19.11 kB / 0.5234 GB, free: 104 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5098, allocations: 328.2 kB / 0.5237 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.5099, allocations: 20.28 kB / 0.5238 GB, free: 15.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.115e-05/0.51, allocations: 33.41 kB / 0.5238 GB, free: 15.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.5102, allocations: 51.14 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5102, allocations: 0.9688 kB / 0.5238 GB, free: 15.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001975/0.5104, allocations: 92.64 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.5104, allocations: 6.109 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.5104, allocations: 0 / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.5104, allocations: 1.125 kB / 0.5239 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.5105, allocations: 17.52 kB / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.5105, allocations: 0 / 0.524 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/0.5106, allocations: 9.172 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.5106, allocations: 1.125 kB / 0.524 GB, free: 15.67 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 9.673e-05/0.5107, allocations: 123.1 kB / 0.5241 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.5107, allocations: 7.266 kB / 0.5241 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.511, allocations: 105.7 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.511, allocations: 0.7031 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.511, allocations: 1.219 kB / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.511, allocations: 0 / 0.5242 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.5115, allocations: 350.4 kB / 0.5245 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.5115, allocations: 4 kB / 0.5245 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.5116, allocations: 16.16 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.5116, allocations: 0 / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.5116, allocations: 6.078 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5116, allocations: 3.938 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5116, allocations: 2.062 kB / 0.5246 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.5118, allocations: 176 kB / 0.5247 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.5119, allocations: 83.38 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.5119, allocations: 1.594 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.512, allocations: 9.188 kB / 0.5248 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/0.512, allocations: 9.172 kB / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.5121, allocations: 0 / 0.5248 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.67e-05/0.5122, allocations: 108.1 kB / 0.5249 GB, free: 14.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5122, allocations: 0 / 0.5249 GB, free: 14.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.5124, allocations: 15.83 kB / 0.5249 GB, free: 14.8 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.001089/0.5135, allocations: 453.6 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000248/0.5138, allocations: 50.38 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.5138, allocations: 0 / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.464e-05/0.5139, allocations: 29.8 kB / 0.5255 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.5142, allocations: 14.52 kB / 0.5255 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.5146, allocations: 176 kB / 0.5256 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.515, allocations: 0.6926 MB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.806e-05/0.5151, allocations: 20.56 kB / 0.5263 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.852e-05/0.5151, allocations: 14.2 kB / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5151, allocations: 1.875 kB / 0.5263 GB, free: 13.7 MB / 398.1 MB Notification: Performance of Templates: time 0.004487/0.5196, allocations: 1.38 MB / 0.5277 GB, free: 13.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches