Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 118.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.001601/0.001601, allocations: 183 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.371/1.371, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2043/0.2043, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.91 kB / 470.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4972, allocations: 60.81 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.004515/0.5018, allocations: 1.65 MB / 0.5205 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.5031, allocations: 424.8 kB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.209e-05/0.5032, allocations: 1.156 kB / 0.5209 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.5035, allocations: 51.95 kB / 0.521 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003307/0.5039, allocations: 45.16 kB / 0.521 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.5045, allocations: 132.1 kB / 0.5212 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.5048, allocations: 75.2 kB / 0.5212 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.5049, allocations: 30.72 kB / 0.5213 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/0.505, allocations: 27.59 kB / 0.5213 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.5052, allocations: 40.8 kB / 0.5213 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.5052, allocations: 7.344 kB / 0.5213 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.5054, allocations: 48.28 kB / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.141e-05/0.5055, allocations: 19.56 kB / 0.5214 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.5055, allocations: 35.2 kB / 0.5214 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.5058, allocations: 98.75 kB / 0.5215 GB, free: 1.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5058, allocations: 1.031 kB / 0.5215 GB, free: 1.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.5059, allocations: 4 kB / 0.5215 GB, free: 1.922 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.5059, allocations: 0 / 0.5215 GB, free: 1.922 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.0006006/0.5065, allocations: 406.4 kB / 0.5219 GB, free: 1.527 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.5066, allocations: 9.531 kB / 0.5219 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.5066, allocations: 9.344 kB / 0.5219 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.5069, allocations: 196.2 kB / 0.5221 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.5069, allocations: 1.562 kB / 0.5221 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.5069, allocations: 3.531 kB / 0.5221 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.5072, allocations: 73.12 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.5072, allocations: 3.984 kB / 0.5222 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.5073, allocations: 4 kB / 0.5222 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.5073, allocations: 1.469 kB / 0.5222 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.5075, allocations: 40.36 kB / 0.5222 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.508, allocations: 300.3 kB / 0.5225 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.5084, allocations: 62.7 kB / 0.5226 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001247/0.5085, allocations: 23.56 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.5086, allocations: 1.125 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.5086, allocations: 32.38 kB / 0.5226 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.924e-06/0.5086, allocations: 0 / 0.5226 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.002484/0.5111, allocations: 389 kB / 0.523 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.5112, allocations: 57.72 kB / 0.5231 GB, free: 0.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.5114, allocations: 164.8 kB / 0.5232 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.5115, allocations: 27.58 kB / 0.5233 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.5115, allocations: 93.83 kB / 0.5233 GB, free: 440 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.982e-05/0.5116, allocations: 42.64 kB / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.481e-05/0.5117, allocations: 27.58 kB / 0.5234 GB, free: 380 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.5118, allocations: 321.4 kB / 0.5237 GB, free: 56 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.512, allocations: 42.69 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.5122, allocations: 45.83 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004932/0.5127, allocations: 101.5 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5128, allocations: 0 / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005812/0.5134, allocations: 137.3 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.5134, allocations: 5.719 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.5134, allocations: 0.7969 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.5134, allocations: 1.375 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.5137, allocations: 36.72 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.5137, allocations: 1.281 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.5138, allocations: 13.25 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.5139, allocations: 2.438 kB / 0.5241 GB, free: 15.91 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 (11): * Single equations (assignments): 11 * 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.0001512/0.514, allocations: 120.1 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.5141, allocations: 12.38 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007077/0.5148, allocations: 168 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.5149, allocations: 5.25 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.5149, allocations: 6.406 kB / 0.5244 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.5149, allocations: 0.75 kB / 0.5244 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.5161, allocations: 466.4 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5161, allocations: 1.656 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.5163, allocations: 33.27 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.5163, allocations: 1.188 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.5164, allocations: 7 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.5164, allocations: 1.125 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5164, allocations: 2 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.5171, allocations: 255.8 kB / 0.5251 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.5172, allocations: 85.45 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.5172, allocations: 6.625 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.5174, allocations: 9.391 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.247e-05/0.5175, allocations: 8.422 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.5176, allocations: 11.28 kB / 0.5252 GB, free: 15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.5178, allocations: 129.1 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5178, allocations: 0 / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005259/0.5183, allocations: 25.7 kB / 0.5254 GB, free: 14.9 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002004/0.5204, allocations: 452.6 kB / 0.5258 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005995/0.521, allocations: 112.6 kB / 0.5259 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.521, allocations: 0 / 0.5259 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002881/0.5213, allocations: 62.73 kB / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006073/0.5219, allocations: 30.33 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007847/0.5227, allocations: 250.4 kB / 0.5262 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.5232, allocations: 0.7069 MB / 0.5269 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.5233, allocations: 18.55 kB / 0.527 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.208e-05/0.5234, allocations: 19.48 kB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5234, allocations: 0 / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Templates: time 0.008243/0.5317, allocations: 1.542 MB / 0.5285 GB, free: 13.15 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches