Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 109.6 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.001259/0.001259, allocations: 186.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.366/1.366, allocations: 222.9 MB / 243.1 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.2175/0.2175, allocations: 44.19 MB / 337.4 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 55.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.4006, allocations: 60.83 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test14): time 0.002916/0.4036, allocations: 1.632 MB / 0.5212 GB, free: 2.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.405, allocations: 1.057 MB / 0.5222 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.4051, allocations: 0.8125 kB / 0.5222 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.4053, allocations: 23.5 kB / 0.5222 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001927/0.4055, allocations: 46.47 kB / 0.5223 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.4059, allocations: 175 kB / 0.5224 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.4061, allocations: 69.75 kB / 0.5225 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.4062, allocations: 19.61 kB / 0.5225 GB, free: 1.562 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/0.4062, allocations: 25.05 kB / 0.5225 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.4064, allocations: 31.48 kB / 0.5226 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.4064, allocations: 4.25 kB / 0.5226 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.4065, allocations: 52.14 kB / 0.5226 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.822e-05/0.4066, allocations: 21.2 kB / 0.5227 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.4066, allocations: 22.52 kB / 0.5227 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.4068, allocations: 104.7 kB / 0.5228 GB, free: 1.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4068, allocations: 3.938 kB / 0.5228 GB, free: 1.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4068, allocations: 0 / 0.5228 GB, free: 1.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.4068, allocations: 0 / 0.5228 GB, free: 1.441 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.0004096/0.4073, allocations: 388 kB / 0.5231 GB, free: 1.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.4073, allocations: 10.03 kB / 0.5232 GB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.4074, allocations: 8.5 kB / 0.5232 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.4075, allocations: 187.5 kB / 0.5233 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.4075, allocations: 5.781 kB / 0.5233 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.4076, allocations: 2.938 kB / 0.5234 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.4078, allocations: 91.38 kB / 0.5234 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4078, allocations: 1.781 kB / 0.5234 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.4078, allocations: 0 / 0.5234 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.4078, allocations: 5.062 kB / 0.5234 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.4079, allocations: 40.05 kB / 0.5235 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.4083, allocations: 298.9 kB / 0.5238 GB, free: 480 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.4085, allocations: 54.84 kB / 0.5238 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.391e-05/0.4085, allocations: 25.75 kB / 0.5238 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.4086, allocations: 1.156 kB / 0.5238 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/0.4086, allocations: 36.34 kB / 0.5239 GB, free: 384 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4086, allocations: 0 / 0.5239 GB, free: 384 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007573/0.4094, allocations: 225.9 kB / 0.5241 GB, free: 296 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.4094, allocations: 79.28 kB / 0.5242 GB, free: 200 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.4095, allocations: 131 kB / 0.5243 GB, free: 88 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.4095, allocations: 27.2 kB / 0.5243 GB, free: 56 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.746e-05/0.4096, allocations: 97.11 kB / 0.5244 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.4096, allocations: 28.86 kB / 0.5244 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.4097, allocations: 20.2 kB / 0.5245 GB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4098, allocations: 324.7 kB / 0.5248 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.41, allocations: 34.06 kB / 0.5248 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.4101, allocations: 50.38 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.4104, allocations: 95.67 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4104, allocations: 1.031 kB / 0.5249 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003/0.4107, allocations: 116.8 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.4107, allocations: 5.609 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.4107, allocations: 1.125 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.4107, allocations: 4 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.4109, allocations: 20.3 kB / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.4109, allocations: 0 / 0.5251 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.102e-05/0.4109, allocations: 22.89 kB / 0.5251 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.411, allocations: 0.6562 kB / 0.5251 GB, free: 15.47 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 0.0001028/0.4111, allocations: 121.2 kB / 0.5252 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.4111, allocations: 8.969 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.4115, allocations: 144 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.4115, allocations: 1.344 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4115, allocations: 0 / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.4115, allocations: 4.594 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005854/0.4121, allocations: 412.6 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.4121, allocations: 1.578 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.571e-05/0.4122, allocations: 17.94 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4122, allocations: 1.5 kB / 0.5258 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4122, allocations: 4.453 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.4122, allocations: 1.406 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4122, allocations: 0.8438 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003346/0.4126, allocations: 226.5 kB / 0.526 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.4126, allocations: 84.16 kB / 0.5261 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.4127, allocations: 9.75 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.4128, allocations: 8.703 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.4128, allocations: 6.359 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.4128, allocations: 2.125 kB / 0.5261 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.239e-05/0.4129, allocations: 105.2 kB / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4129, allocations: 4 kB / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.4132, allocations: 27.22 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.0009905/0.4142, allocations: 448.7 kB / 0.5267 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003118/0.4145, allocations: 89.81 kB / 0.5268 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4145, allocations: 4 kB / 0.5268 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.4146, allocations: 46.34 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.0003181/0.415, allocations: 13.97 kB / 0.5268 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.4155, allocations: 221.9 kB / 0.527 GB, free: 14.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.4158, allocations: 0.7014 MB / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.625e-05/0.4159, allocations: 16.19 kB / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of SimCode: time 1.693e-06/0.4159, allocations: 0 / 0.5277 GB, free: 13.41 MB / 398.1 MB Notification: Performance of Templates: time 0.004093/0.42, allocations: 1.819 MB / 0.5295 GB, free: 12.69 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test14/Test14.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches