Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 105.8 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.0009272/0.0009272, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.272/1.272, 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.1991/0.1991, allocations: 44.19 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 67.89 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.358, allocations: 60.81 MB / 0.5189 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.00325/0.3613, allocations: 1.658 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007266/0.362, allocations: 421.2 kB / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.3621, allocations: 0 / 0.5209 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.3624, allocations: 47.84 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.3626, allocations: 51.22 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.363, allocations: 132.8 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.3631, allocations: 69.86 kB / 0.5212 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.3633, allocations: 31.09 kB / 0.5213 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.607e-05/0.3633, allocations: 26.56 kB / 0.5213 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.3635, allocations: 34.28 kB / 0.5213 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.3635, allocations: 8.531 kB / 0.5213 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.3636, allocations: 59.64 kB / 0.5214 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.323e-05/0.3637, allocations: 14.88 kB / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.481e-05/0.3637, allocations: 30.09 kB / 0.5214 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.3639, allocations: 100.8 kB / 0.5215 GB, free: 1.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3639, allocations: 0 / 0.5215 GB, free: 1.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.364, allocations: 0.7031 kB / 0.5215 GB, free: 1.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.364, allocations: 5.344 kB / 0.5215 GB, free: 1.938 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.0005172/0.3645, allocations: 408.2 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.3645, allocations: 9.656 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.3646, allocations: 9.234 kB / 0.5219 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.3648, allocations: 196 kB / 0.5221 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.3648, allocations: 2.188 kB / 0.5221 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.3649, allocations: 3.438 kB / 0.5221 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.3651, allocations: 71.47 kB / 0.5222 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.3651, allocations: 5.188 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3651, allocations: 0.6562 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3651, allocations: 5.062 kB / 0.5222 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.3653, allocations: 35.83 kB / 0.5222 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.3658, allocations: 296.4 kB / 0.5225 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.366, allocations: 62.09 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.314e-05/0.3661, allocations: 25.33 kB / 0.5226 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.3662, allocations: 0 / 0.5226 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.3662, allocations: 36.42 kB / 0.5226 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.3662, allocations: 1.375 kB / 0.5226 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001558/0.3678, allocations: 380.5 kB / 0.523 GB, free: 0.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.3678, allocations: 57.12 kB / 0.5231 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.368, allocations: 172 kB / 0.5232 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.368, allocations: 25.7 kB / 0.5232 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.3681, allocations: 103.2 kB / 0.5233 GB, free: 444 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.3681, allocations: 40.89 kB / 0.5234 GB, free: 412 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.3682, allocations: 24.39 kB / 0.5234 GB, free: 388 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.625e-05/0.3683, allocations: 322.2 kB / 0.5237 GB, free: 64 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.3684, allocations: 43.42 kB / 0.5238 GB, free: 52 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.3685, allocations: 40.5 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.3688, allocations: 101.2 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3688, allocations: 1.5 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003482/0.3691, allocations: 137.3 kB / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3692, allocations: 4.469 kB / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.3692, allocations: 1.922 kB / 0.524 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3692, allocations: 3.938 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.3693, allocations: 30.09 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3693, allocations: 4 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.11e-05/0.3694, allocations: 14.02 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.3694, allocations: 2.281 kB / 0.5241 GB, free: 15.92 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.000112/0.3695, allocations: 120.5 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.3696, allocations: 16.97 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004221/0.37, allocations: 171 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.37, allocations: 10.36 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.37, allocations: 0.5625 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.37, allocations: 0.7031 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007069/0.3708, allocations: 472.5 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.3708, allocations: 4.062 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.3709, allocations: 30.2 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3709, allocations: 1.469 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3709, allocations: 6.094 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3709, allocations: 1.594 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3709, allocations: 1.469 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.3713, allocations: 252.7 kB / 0.5251 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.346e-05/0.3714, allocations: 85.19 kB / 0.5252 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.3714, allocations: 5.719 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.94e-05/0.3715, allocations: 8.625 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/0.3716, allocations: 8.953 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.3716, allocations: 7.031 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.3717, allocations: 131.2 kB / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3717, allocations: 0 / 0.5254 GB, free: 14.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.372, allocations: 27.11 kB / 0.5254 GB, free: 14.91 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.001133/0.3731, allocations: 458.9 kB / 0.5258 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003316/0.3735, allocations: 109.5 kB / 0.5259 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.3735, allocations: 0 / 0.5259 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.3736, allocations: 64.67 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.0003689/0.374, allocations: 28.64 kB / 0.526 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.3746, allocations: 253.4 kB / 0.5263 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.375, allocations: 0.7102 MB / 0.527 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.22e-05/0.3751, allocations: 19.16 kB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.265e-05/0.3751, allocations: 15.58 kB / 0.527 GB, free: 13.72 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3751, allocations: 0 / 0.527 GB, free: 13.72 MB / 398.1 MB Notification: Performance of Templates: time 0.004259/0.3794, allocations: 1.539 MB / 0.5285 GB, free: 13.15 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches