Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001257/0.001257, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.342/1.342, allocations: 222.9 MB / 243.1 MB, free: 15.2 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.2293/0.2293, allocations: 44.19 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4051/0.4064, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003085/0.4095, allocations: 1.636 MB / 0.5212 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.4111, allocations: 1.052 MB / 0.5222 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.758e-05/0.4112, allocations: 1.125 kB / 0.5222 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.4115, allocations: 23.78 kB / 0.5222 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.4117, allocations: 46.14 kB / 0.5223 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004455/0.4122, allocations: 174.8 kB / 0.5224 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.4123, allocations: 77.38 kB / 0.5225 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.4125, allocations: 20.06 kB / 0.5225 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.4125, allocations: 21.17 kB / 0.5225 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001521/0.4127, allocations: 36.33 kB / 0.5226 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.4127, allocations: 3 kB / 0.5226 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.4128, allocations: 48.22 kB / 0.5226 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.238e-05/0.4129, allocations: 25.72 kB / 0.5227 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.301e-05/0.413, allocations: 17.67 kB / 0.5227 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.4132, allocations: 108 kB / 0.5228 GB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4132, allocations: 1 kB / 0.5228 GB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4132, allocations: 0 / 0.5228 GB, free: 1.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.4132, allocations: 4 kB / 0.5228 GB, free: 1.438 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.0004421/0.4137, allocations: 384 kB / 0.5231 GB, free: 1.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.4137, allocations: 9.906 kB / 0.5232 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.4137, allocations: 8.844 kB / 0.5232 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.4139, allocations: 187.2 kB / 0.5233 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.4139, allocations: 1.531 kB / 0.5233 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.414, allocations: 6.469 kB / 0.5234 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.4142, allocations: 85.16 kB / 0.5234 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4142, allocations: 0 / 0.5234 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.4142, allocations: 0.9688 kB / 0.5234 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4142, allocations: 5.406 kB / 0.5234 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.4144, allocations: 39.55 kB / 0.5235 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.4148, allocations: 306.9 kB / 0.5238 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.4149, allocations: 51.09 kB / 0.5238 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.521e-05/0.415, allocations: 25.02 kB / 0.5238 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.4151, allocations: 1.031 kB / 0.5238 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.4151, allocations: 32.14 kB / 0.5239 GB, free: 392 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.4151, allocations: 1.094 kB / 0.5239 GB, free: 392 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008249/0.4159, allocations: 229.3 kB / 0.5241 GB, free: 300 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.416, allocations: 78.97 kB / 0.5242 GB, free: 204 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.4161, allocations: 135.3 kB / 0.5243 GB, free: 92 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.4161, allocations: 25.7 kB / 0.5243 GB, free: 60 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.4162, allocations: 98.14 kB / 0.5244 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.4162, allocations: 20.41 kB / 0.5244 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.4163, allocations: 20.34 kB / 0.5245 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4164, allocations: 323.7 kB / 0.5248 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.4166, allocations: 39.02 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.4167, allocations: 59.09 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.417, allocations: 95.53 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.417, allocations: 0 / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003087/0.4173, allocations: 117.9 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.4173, allocations: 9.156 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4173, allocations: 4.031 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.4174, allocations: 1.891 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.4175, allocations: 18.91 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4175, allocations: 4.688 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.44e-05/0.4176, allocations: 13.5 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.4176, allocations: 6.219 kB / 0.5251 GB, free: 15.46 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 (7): * Single equations (assignments): 7 * 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.419e-05/0.4177, allocations: 117.2 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.4177, allocations: 12.08 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003596/0.4181, allocations: 133.1 kB / 0.5254 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4181, allocations: 0.7031 kB / 0.5254 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4181, allocations: 0 / 0.5254 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.4182, allocations: 6.562 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005876/0.4187, allocations: 410.3 kB / 0.5258 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4188, allocations: 5.469 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.554e-05/0.4188, allocations: 18.86 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4189, allocations: 0 / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.4189, allocations: 5.703 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4189, allocations: 1.188 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4189, allocations: 0 / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.4193, allocations: 227.4 kB / 0.526 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.4193, allocations: 82.55 kB / 0.5261 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.4193, allocations: 5.906 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-05/0.4194, allocations: 12.3 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.4195, allocations: 6.625 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.4195, allocations: 1.812 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.634e-05/0.4196, allocations: 108.9 kB / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4196, allocations: 0 / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002771/0.4199, allocations: 27.55 kB / 0.5262 GB, free: 14.55 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 (7): * Single equations (assignments): 7 * 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.001061/0.4209, allocations: 441.3 kB / 0.5267 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.4213, allocations: 98.61 kB / 0.5268 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4213, allocations: 2.688 kB / 0.5268 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.4214, allocations: 47.58 kB / 0.5268 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.4218, allocations: 23.28 kB / 0.5268 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.4223, allocations: 221.3 kB / 0.527 GB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.4226, allocations: 0.705 MB / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.4227, allocations: 17.14 kB / 0.5277 GB, free: 13.4 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4227, allocations: 0 / 0.5277 GB, free: 13.4 MB / 398.1 MB Notification: Performance of Templates: time 0.004151/0.4268, allocations: 1.814 MB / 0.5295 GB, free: 12.7 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches