Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.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.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 112.8 kB / 17.78 MB, free: 5.27 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.001157/0.001157, allocations: 184.8 kB / 18.7 MB, free: 4.359 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.12 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.2477/0.2477, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 59.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.5038, allocations: 60.83 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.002846/0.5067, allocations: 1.616 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000738/0.5075, allocations: 415.7 kB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.5075, allocations: 4.906 kB / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002666/0.5078, allocations: 36.73 kB / 0.5209 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.5081, allocations: 44.2 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003163/0.5084, allocations: 117.1 kB / 0.5211 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.5086, allocations: 83.27 kB / 0.5212 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.5087, allocations: 27.45 kB / 0.5212 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.282e-05/0.5088, allocations: 29.17 kB / 0.5212 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.5089, allocations: 34.42 kB / 0.5213 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.5089, allocations: 9.344 kB / 0.5213 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.509, allocations: 48.27 kB / 0.5213 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.102e-05/0.5091, allocations: 19.44 kB / 0.5213 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.5092, allocations: 32.34 kB / 0.5214 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.5094, allocations: 113.8 kB / 0.5215 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.5094, allocations: 0 / 0.5215 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.5095, allocations: 0 / 0.5215 GB, free: 1.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.5095, allocations: 1.156 kB / 0.5215 GB, free: 1.934 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007796/0.5103, allocations: 402.2 kB / 0.5219 GB, free: 1.535 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.344e-05/0.5103, allocations: 9.125 kB / 0.5219 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.809e-05/0.5104, allocations: 13.31 kB / 0.5219 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.5107, allocations: 194 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.5107, allocations: 11.25 kB / 0.5221 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/0.5107, allocations: 9.031 kB / 0.5221 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.511, allocations: 73.72 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.511, allocations: 0.9375 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/0.5111, allocations: 5.188 kB / 0.5222 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.5111, allocations: 1.031 kB / 0.5222 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.5112, allocations: 46.2 kB / 0.5222 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/0.512, allocations: 336 kB / 0.5225 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.5122, allocations: 62.59 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.762e-05/0.5123, allocations: 24.11 kB / 0.5226 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.5123, allocations: 1.125 kB / 0.5226 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.5124, allocations: 44.08 kB / 0.5227 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.5124, allocations: 0 / 0.5227 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001383/0.5138, allocations: 321.6 kB / 0.523 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.5138, allocations: 61.86 kB / 0.523 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.514, allocations: 156 kB / 0.5232 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.5141, allocations: 25.7 kB / 0.5232 GB, free: 0.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.5141, allocations: 104.4 kB / 0.5233 GB, free: 412 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.5142, allocations: 42.83 kB / 0.5233 GB, free: 376 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.5142, allocations: 24.88 kB / 0.5234 GB, free: 356 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5143, allocations: 321.2 kB / 0.5237 GB, free: 32 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.5145, allocations: 47.06 kB / 0.5237 GB, free: 16 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.5146, allocations: 45.81 kB / 0.5238 GB, free: 4 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.5149, allocations: 107.8 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5149, allocations: 1.469 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000368/0.5153, allocations: 157.3 kB / 0.524 GB, free: 15.89 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.5153, allocations: 8.562 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.5153, allocations: 4.641 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.5154, allocations: 5.5 kB / 0.524 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.5155, allocations: 25.14 kB / 0.5241 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.5156, allocations: 0.7031 kB / 0.5241 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.5156, allocations: 5.766 kB / 0.5241 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.5156, allocations: 2.969 kB / 0.5241 GB, free: 15.88 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 (13): * Single equations (assignments): 13 * 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.0001347/0.5158, allocations: 127.1 kB / 0.5242 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.5158, allocations: 10.03 kB / 0.5242 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.5162, allocations: 193.1 kB / 0.5244 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.5163, allocations: 1.688 kB / 0.5244 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5163, allocations: 1.656 kB / 0.5244 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5163, allocations: 5.25 kB / 0.5244 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.517, allocations: 485.5 kB / 0.5248 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.517, allocations: 0 / 0.5248 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.99e-05/0.5171, allocations: 32.78 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5171, allocations: 2.156 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.5171, allocations: 1.5 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.5171, allocations: 6.062 kB / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5171, allocations: 0 / 0.5249 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003506/0.5175, allocations: 259.2 kB / 0.5251 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.5175, allocations: 87.39 kB / 0.5252 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.5176, allocations: 2.797 kB / 0.5252 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.5177, allocations: 8.781 kB / 0.5252 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.5177, allocations: 8.656 kB / 0.5252 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.5177, allocations: 4.312 kB / 0.5252 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.5178, allocations: 119.1 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5178, allocations: 0 / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.5181, allocations: 23.67 kB / 0.5254 GB, free: 14.87 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 (13): * Single equations (assignments): 13 * 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.001082/0.5192, allocations: 463.5 kB / 0.5258 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.5195, allocations: 120.8 kB / 0.5259 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5195, allocations: 5.375 kB / 0.5259 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.5197, allocations: 60.59 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.52, allocations: 19.16 kB / 0.526 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005318/0.5206, allocations: 250 kB / 0.5263 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.5209, allocations: 0.7119 MB / 0.5269 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.021e-05/0.521, allocations: 29.53 kB / 0.527 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.482e-05/0.521, allocations: 20.34 kB / 0.527 GB, free: 13.69 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.521, allocations: 5.312 kB / 0.527 GB, free: 13.69 MB / 398.1 MB Notification: Performance of Templates: time 0.004755/0.5258, allocations: 1.574 MB / 0.5285 GB, free: 13.13 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches