Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 111.7 kB / 17.78 MB, free: 5.281 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.001191/0.001191, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.349/1.349, 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.199/0.199, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 55.91 kB / 470.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4072, allocations: 60.83 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003121/0.4104, allocations: 1.621 MB / 0.5205 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008465/0.4113, allocations: 446.9 kB / 0.5209 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.25e-05/0.4113, allocations: 1.031 kB / 0.5209 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000841/0.4122, allocations: 455.8 kB / 0.5214 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005109/0.4127, allocations: 256.3 kB / 0.5216 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.4132, allocations: 170.7 kB / 0.5218 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.4136, allocations: 170.6 kB / 0.5219 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.4137, allocations: 19.59 kB / 0.522 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.4139, allocations: 108.1 kB / 0.5221 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.4142, allocations: 210 kB / 0.5223 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.4142, allocations: 7.625 kB / 0.5223 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.4143, allocations: 31.34 kB / 0.5223 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.4144, allocations: 81.19 kB / 0.5224 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.954e-05/0.4145, allocations: 104 kB / 0.5225 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.4149, allocations: 255.5 kB / 0.5227 GB, free: 1.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.4149, allocations: 0 / 0.5227 GB, free: 1.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4149, allocations: 0 / 0.5227 GB, free: 1.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.4149, allocations: 3.938 kB / 0.5227 GB, free: 1.734 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.0006023/0.4155, allocations: 0.6431 MB / 0.5233 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.4156, allocations: 12.59 kB / 0.5234 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.4156, allocations: 44.38 kB / 0.5234 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.4158, allocations: 301.2 kB / 0.5237 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.193e-06/0.4159, allocations: 2.375 kB / 0.5237 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.4159, allocations: 6.5 kB / 0.5237 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.416, allocations: 53.48 kB / 0.5237 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4161, allocations: 0.9375 kB / 0.5237 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.4161, allocations: 4 kB / 0.5237 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.4161, allocations: 5.688 kB / 0.5238 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.805e-05/0.4162, allocations: 34.98 kB / 0.5238 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.4167, allocations: 398.7 kB / 0.5242 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.4169, allocations: 49.73 kB / 0.5242 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.999e-05/0.417, allocations: 14.12 kB / 0.5242 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.417, allocations: 1.125 kB / 0.5242 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.417, allocations: 40.56 kB / 0.5243 GB, free: 380 kB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.417, allocations: 0 / 0.5243 GB, free: 380 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006208/0.4177, allocations: 233.7 kB / 0.5245 GB, free: 252 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.4177, allocations: 56.59 kB / 0.5245 GB, free: 184 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000885/0.4186, allocations: 0.8644 MB / 0.5254 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.4186, allocations: 25.7 kB / 0.5254 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.4188, allocations: 226.3 kB / 0.5256 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.4188, allocations: 13.28 kB / 0.5256 GB, free: 15.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.4189, allocations: 13.84 kB / 0.5257 GB, free: 15.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.4191, allocations: 364.7 kB / 0.526 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.129e-05/0.4191, allocations: 20.36 kB / 0.526 GB, free: 15.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.135e-05/0.4192, allocations: 20.36 kB / 0.526 GB, free: 15.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.4193, allocations: 54.95 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4193, allocations: 0 / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002118/0.4196, allocations: 126.8 kB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.4196, allocations: 9.438 kB / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4196, allocations: 0 / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4196, allocations: 0 / 0.5262 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/0.4197, allocations: 14.98 kB / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.4197, allocations: 0 / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.4198, allocations: 10.69 kB / 0.5262 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.4198, allocations: 1.375 kB / 0.5263 GB, free: 15.11 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 0.0001918/0.42, allocations: 215 kB / 0.5265 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-05/0.42, allocations: 46.11 kB / 0.5265 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.4203, allocations: 142.1 kB / 0.5266 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4204, allocations: 1.438 kB / 0.5266 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.4204, allocations: 320 / 0.5266 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.4204, allocations: 11.92 kB / 0.5266 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/0.421, allocations: 470.7 kB / 0.5271 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.421, allocations: 3.938 kB / 0.5271 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.4211, allocations: 14.06 kB / 0.5271 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4211, allocations: 0 / 0.5271 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.4211, allocations: 5.719 kB / 0.5271 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.4211, allocations: 0 / 0.5271 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4211, allocations: 0 / 0.5271 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.4214, allocations: 222.1 kB / 0.5273 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-05/0.4215, allocations: 110.2 kB / 0.5274 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/0.4216, allocations: 9.359 kB / 0.5274 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.4216, allocations: 2.688 kB / 0.5274 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.4217, allocations: 2.125 kB / 0.5274 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.4217, allocations: 1.125 kB / 0.5275 GB, free: 14.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007495/0.4225, allocations: 0.6559 MB / 0.5281 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4225, allocations: 0 / 0.5281 GB, free: 13.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000253/0.4227, allocations: 21.44 kB / 0.5281 GB, free: 13.77 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.0009778/0.4237, allocations: 405.3 kB / 0.5285 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.424, allocations: 50.91 kB / 0.5285 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.424, allocations: 0 / 0.5285 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.4241, allocations: 37.41 kB / 0.5286 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.4245, allocations: 29.39 kB / 0.5286 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.4258, allocations: 0.7941 MB / 0.5294 GB, free: 13.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.4263, allocations: 0.8251 MB / 0.5302 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.731e-05/0.4264, allocations: 16.72 kB / 0.5302 GB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.4264, allocations: 15.41 kB / 0.5302 GB, free: 12.31 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4264, allocations: 1.312 kB / 0.5302 GB, free: 12.31 MB / 398.1 MB Notification: Performance of Templates: time 0.005114/0.4315, allocations: 1.473 MB / 0.5317 GB, free: 11.58 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches