Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 110.3 kB / 17.78 MB, free: 5.184 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.001201/0.001201, allocations: 184.1 kB / 18.71 MB, free: 4.258 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.522/1.522, 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.2256/0.2256, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4145, allocations: 60.82 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002772/0.4173, allocations: 1.634 MB / 0.5205 GB, free: 2.5 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006826/0.418, allocations: 434.6 kB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.776e-05/0.4181, allocations: 1.094 kB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006808/0.4188, allocations: 449.7 kB / 0.5214 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004281/0.4192, allocations: 257.1 kB / 0.5216 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.4196, allocations: 133 kB / 0.5217 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002659/0.4198, allocations: 160.4 kB / 0.5219 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.4199, allocations: 24.33 kB / 0.5219 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.4201, allocations: 106.6 kB / 0.522 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/0.4204, allocations: 211.3 kB / 0.5222 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.4204, allocations: 2.938 kB / 0.5222 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.4205, allocations: 47.58 kB / 0.5223 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.4206, allocations: 85.62 kB / 0.5224 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.139e-05/0.4207, allocations: 108.8 kB / 0.5225 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.4211, allocations: 266.8 kB / 0.5227 GB, free: 1.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4211, allocations: 0 / 0.5227 GB, free: 1.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4211, allocations: 1.469 kB / 0.5227 GB, free: 1.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.595e-06/0.4211, allocations: 0 / 0.5227 GB, free: 1.77 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006278/0.4217, allocations: 0.6411 MB / 0.5233 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.4218, allocations: 10.25 kB / 0.5233 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.4218, allocations: 43.48 kB / 0.5234 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.422, allocations: 285.1 kB / 0.5237 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.4221, allocations: 9.844 kB / 0.5237 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.4221, allocations: 2.812 kB / 0.5237 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.4222, allocations: 64.12 kB / 0.5237 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4223, allocations: 3.906 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4223, allocations: 0.6562 kB / 0.5237 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4223, allocations: 5.906 kB / 0.5237 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.825e-05/0.4224, allocations: 34.34 kB / 0.5238 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.4228, allocations: 402.5 kB / 0.5242 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.426e-05/0.4229, allocations: 44.78 kB / 0.5242 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.423, allocations: 18.88 kB / 0.5242 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.423, allocations: 0 / 0.5242 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.4231, allocations: 32.55 kB / 0.5243 GB, free: 432 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.824e-06/0.4231, allocations: 96 / 0.5243 GB, free: 432 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008929/0.424, allocations: 300.5 kB / 0.5245 GB, free: 288 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.424, allocations: 56.72 kB / 0.5246 GB, free: 220 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000978/0.425, allocations: 0.8553 MB / 0.5254 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.425, allocations: 26.98 kB / 0.5255 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.4252, allocations: 225.9 kB / 0.5257 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.4252, allocations: 25.78 kB / 0.5257 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.4253, allocations: 19.59 kB / 0.5257 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4254, allocations: 364.5 kB / 0.5261 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.705e-05/0.4255, allocations: 29.67 kB / 0.5261 GB, free: 15.26 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.4256, allocations: 26.86 kB / 0.5261 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.4258, allocations: 68.27 kB / 0.5262 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.4258, allocations: 1.188 kB / 0.5262 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002286/0.426, allocations: 133.7 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.426, allocations: 4.156 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4261, allocations: 1.281 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4261, allocations: 0 / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.4262, allocations: 18.45 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.4262, allocations: 3.938 kB / 0.5263 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.772e-05/0.4263, allocations: 12.12 kB / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.4263, allocations: 5.281 kB / 0.5264 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 (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.0002241/0.4265, allocations: 215.1 kB / 0.5266 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.4266, allocations: 37.41 kB / 0.5266 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003104/0.4269, allocations: 159.5 kB / 0.5267 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4269, allocations: 1.375 kB / 0.5267 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.4269, allocations: 7.938 kB / 0.5268 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4269, allocations: 1.375 kB / 0.5268 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006348/0.4276, allocations: 0.492 MB / 0.5272 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4276, allocations: 5.438 kB / 0.5272 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.865e-05/0.4276, allocations: 17.11 kB / 0.5273 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4277, allocations: 1.469 kB / 0.5273 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.4277, allocations: 5 kB / 0.5273 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4277, allocations: 5.188 kB / 0.5273 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4277, allocations: 1.469 kB / 0.5273 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.428, allocations: 236.7 kB / 0.5275 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.533e-05/0.4281, allocations: 111.7 kB / 0.5276 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.4281, allocations: 4 kB / 0.5276 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.4282, allocations: 11.42 kB / 0.5276 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.4283, allocations: 4.062 kB / 0.5276 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.4283, allocations: 2.969 kB / 0.5276 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000734/0.429, allocations: 0.6502 MB / 0.5283 GB, free: 13.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4291, allocations: 0 / 0.5283 GB, free: 13.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.4293, allocations: 26.09 kB / 0.5283 GB, free: 13.73 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.001076/0.4304, allocations: 463.5 kB / 0.5287 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.4307, allocations: 67.48 kB / 0.5288 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4307, allocations: 0 / 0.5288 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.225e-05/0.4308, allocations: 34.08 kB / 0.5288 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004266/0.4312, allocations: 37.3 kB / 0.5289 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.4326, allocations: 0.8075 MB / 0.5296 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006984/0.4333, allocations: 0.8255 MB / 0.5305 GB, free: 12.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.758e-05/0.4334, allocations: 15.66 kB / 0.5305 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.4334, allocations: 13.59 kB / 0.5305 GB, free: 12.22 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4334, allocations: 1.562 kB / 0.5305 GB, free: 12.22 MB / 398.1 MB Notification: Performance of Templates: time 0.007116/0.4405, allocations: 1.705 MB / 0.5321 GB, free: 11.38 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches