Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001495/0.001495, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.507/1.507, 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.2568/0.2568, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 59.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4835, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003263/0.4868, allocations: 1.592 MB / 0.5205 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007791/0.4876, allocations: 406.3 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.4877, allocations: 1.281 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.4881, allocations: 116.7 kB / 0.521 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.4883, allocations: 92.77 kB / 0.5211 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.4886, allocations: 84.84 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.4889, allocations: 90.66 kB / 0.5212 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.489, allocations: 14.14 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.924e-05/0.4891, allocations: 49.19 kB / 0.5213 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.4893, allocations: 83.02 kB / 0.5214 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.4893, allocations: 3.406 kB / 0.5214 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.4894, allocations: 43.14 kB / 0.5214 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.747e-05/0.4895, allocations: 23.48 kB / 0.5214 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.382e-05/0.4896, allocations: 43.11 kB / 0.5215 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.4898, allocations: 120 kB / 0.5216 GB, free: 1.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4898, allocations: 1.219 kB / 0.5216 GB, free: 1.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4898, allocations: 0 / 0.5216 GB, free: 1.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.4898, allocations: 0 / 0.5216 GB, free: 1.965 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004835/0.4903, allocations: 428.7 kB / 0.522 GB, free: 1.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4904, allocations: 9.594 kB / 0.522 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.4904, allocations: 11.41 kB / 0.522 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.4906, allocations: 200.6 kB / 0.5222 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.4906, allocations: 1.562 kB / 0.5222 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.4907, allocations: 6.625 kB / 0.5222 GB, free: 1.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.4908, allocations: 60.56 kB / 0.5223 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.4909, allocations: 1.156 kB / 0.5223 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4909, allocations: 0 / 0.5223 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4909, allocations: 9.125 kB / 0.5223 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.491, allocations: 25.61 kB / 0.5223 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.4914, allocations: 299.7 kB / 0.5226 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.4915, allocations: 49.8 kB / 0.5226 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.4915, allocations: 16.03 kB / 0.5227 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.4916, allocations: 4 kB / 0.5227 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.4916, allocations: 32.39 kB / 0.5227 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4916, allocations: 1.156 kB / 0.5227 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008447/0.4924, allocations: 232.9 kB / 0.5229 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.4925, allocations: 53.27 kB / 0.523 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.4927, allocations: 276 kB / 0.5232 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.4928, allocations: 25.7 kB / 0.5233 GB, free: 0.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.261e-05/0.4928, allocations: 123.8 kB / 0.5234 GB, free: 440 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.4929, allocations: 22.11 kB / 0.5234 GB, free: 424 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.4929, allocations: 28.11 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.493, allocations: 324.4 kB / 0.5237 GB, free: 72 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.669e-05/0.493, allocations: 26.62 kB / 0.5238 GB, free: 64 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.776e-05/0.4931, allocations: 26.36 kB / 0.5238 GB, free: 56 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.4933, allocations: 58.88 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4933, allocations: 1.125 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002429/0.4935, allocations: 103.2 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4936, allocations: 3.781 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4936, allocations: 6.719 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.4936, allocations: 0 / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.892e-05/0.4937, allocations: 25.19 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4937, allocations: 3.938 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.4938, allocations: 5.406 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-06/0.4938, allocations: 2.969 kB / 0.524 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 (8): * Single equations (assignments): 8 * 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.0001161/0.4939, allocations: 132.4 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.681e-05/0.4939, allocations: 13.94 kB / 0.5241 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.4942, allocations: 130.5 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4942, allocations: 0 / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4942, allocations: 5.562 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.4943, allocations: 0.6094 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/0.4948, allocations: 412.4 kB / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4949, allocations: 0 / 0.5246 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.948e-05/0.4949, allocations: 29.64 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4949, allocations: 0 / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.495, allocations: 2.266 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.495, allocations: 0 / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.495, allocations: 1.781 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.4952, allocations: 208.3 kB / 0.5249 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.4953, allocations: 97.22 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.4953, allocations: 0.6562 kB / 0.525 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.4954, allocations: 10.28 kB / 0.525 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.4955, allocations: 6.719 kB / 0.525 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.4955, allocations: 3.219 kB / 0.525 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.4957, allocations: 203.7 kB / 0.5252 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4957, allocations: 0 / 0.5252 GB, free: 14.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.4959, allocations: 22.92 kB / 0.5252 GB, free: 14.98 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001097/0.497, allocations: 458.8 kB / 0.5256 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.4973, allocations: 70.36 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.4973, allocations: 0 / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.429e-05/0.4974, allocations: 33.92 kB / 0.5257 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.4977, allocations: 22.56 kB / 0.5258 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.4983, allocations: 290.8 kB / 0.526 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.4987, allocations: 0.7204 MB / 0.5267 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.926e-05/0.4987, allocations: 17.48 kB / 0.5268 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.4988, allocations: 13.98 kB / 0.5268 GB, free: 13.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4988, allocations: 0 / 0.5268 GB, free: 13.82 MB / 398.1 MB Notification: Performance of Templates: time 0.004288/0.5031, allocations: 1.378 MB / 0.5281 GB, free: 13.35 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches