Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 109.8 kB / 17.78 MB, free: 5.289 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.001748/0.001748, allocations: 183.1 kB / 18.7 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.457/1.457, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.2239/0.2239, allocations: 44.19 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 55.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4407, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.002799/0.4436, allocations: 1.576 MB / 0.5205 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007234/0.4443, allocations: 400.5 kB / 0.5208 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.4444, allocations: 1.25 kB / 0.5208 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.4446, allocations: 28.08 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002045/0.4449, allocations: 31.16 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.4452, allocations: 111.3 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001504/0.4453, allocations: 55.56 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.4455, allocations: 12.08 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.715e-05/0.4455, allocations: 18.77 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.4456, allocations: 20.84 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.4456, allocations: 3.219 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.962e-05/0.4457, allocations: 42 kB / 0.5211 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.4458, allocations: 12.36 kB / 0.5212 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.63e-05/0.4458, allocations: 21.3 kB / 0.5212 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.446, allocations: 69.62 kB / 0.5212 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.446, allocations: 4 kB / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.446, allocations: 1.25 kB / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.446, allocations: 0.7969 kB / 0.5212 GB, free: 2.051 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.0004298/0.4465, allocations: 372.8 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.4465, allocations: 9.25 kB / 0.5216 GB, free: 1.672 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.4466, allocations: 7.688 kB / 0.5216 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/0.4467, allocations: 196.3 kB / 0.5218 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.4468, allocations: 5.406 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.4468, allocations: 2.562 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.4469, allocations: 54.97 kB / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.447, allocations: 0 / 0.5219 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.447, allocations: 4 kB / 0.5219 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.447, allocations: 1.125 kB / 0.5219 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.4471, allocations: 23.67 kB / 0.5219 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003555/0.4474, allocations: 280.1 kB / 0.5222 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.4477, allocations: 49.17 kB / 0.5222 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.4477, allocations: 18.05 kB / 0.5222 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.4478, allocations: 1.891 kB / 0.5222 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.4478, allocations: 31.66 kB / 0.5223 GB, free: 1.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.4478, allocations: 0 / 0.5223 GB, free: 1.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005729/0.4484, allocations: 142.5 kB / 0.5224 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.4484, allocations: 57.06 kB / 0.5224 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.4486, allocations: 142.3 kB / 0.5226 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.4486, allocations: 26.77 kB / 0.5226 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.4486, allocations: 97.5 kB / 0.5227 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.4487, allocations: 15.34 kB / 0.5227 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.4487, allocations: 19.34 kB / 0.5227 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.453e-05/0.4488, allocations: 327 kB / 0.523 GB, free: 312 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.4489, allocations: 20.33 kB / 0.5231 GB, free: 308 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.733e-05/0.449, allocations: 21.45 kB / 0.5231 GB, free: 304 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.4491, allocations: 51.53 kB / 0.5231 GB, free: 284 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4491, allocations: 0 / 0.5231 GB, free: 284 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001879/0.4493, allocations: 84.55 kB / 0.5232 GB, free: 236 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4494, allocations: 10.25 kB / 0.5232 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4494, allocations: 0 / 0.5232 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.4494, allocations: 1.281 kB / 0.5232 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.4495, allocations: 16.75 kB / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4495, allocations: 0 / 0.5232 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.091e-05/0.4495, allocations: 9.25 kB / 0.5233 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.4495, allocations: 5.188 kB / 0.5233 GB, free: 220 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.704e-05/0.4496, allocations: 124.4 kB / 0.5234 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.4496, allocations: 6.688 kB / 0.5234 GB, free: 88 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.4499, allocations: 102.4 kB / 0.5235 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4499, allocations: 1.312 kB / 0.5235 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.4499, allocations: 0.5625 kB / 0.5235 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4499, allocations: 1.312 kB / 0.5235 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.4504, allocations: 351.8 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4505, allocations: 1.156 kB / 0.5238 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.45e-05/0.4505, allocations: 19.84 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4505, allocations: 1.219 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.4505, allocations: 3.984 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4506, allocations: 5.828 kB / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.4506, allocations: 0 / 0.5238 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.4508, allocations: 180.5 kB / 0.524 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.867e-05/0.4509, allocations: 79.95 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.4509, allocations: 6.156 kB / 0.5241 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.442e-05/0.451, allocations: 12.31 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.4511, allocations: 4.328 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.4511, allocations: 1.125 kB / 0.5241 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.372e-05/0.4512, allocations: 109.3 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4512, allocations: 0 / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.4515, allocations: 19.39 kB / 0.5242 GB, free: 15.33 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.001083/0.4525, allocations: 403.5 kB / 0.5246 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002451/0.4528, allocations: 48.09 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4528, allocations: 1.312 kB / 0.5247 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.721e-05/0.4529, allocations: 29.27 kB / 0.5247 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.4533, allocations: 25.38 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.0004704/0.4538, allocations: 175.2 kB / 0.5249 GB, free: 14.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.4541, allocations: 0.6978 MB / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.297e-05/0.4542, allocations: 15.66 kB / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.237e-05/0.4542, allocations: 12.77 kB / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4542, allocations: 0 / 0.5256 GB, free: 14.26 MB / 398.1 MB Notification: Performance of Templates: time 0.004483/0.4587, allocations: 1.114 MB / 0.5267 GB, free: 14.1 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches