Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 114.4 kB / 17.78 MB, free: 5.258 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.001277/0.001278, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.02 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.2099/0.2099, allocations: 44.18 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.91 kB / 470.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3514, allocations: 60.81 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.002616/0.3541, allocations: 1.646 MB / 0.5205 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000699/0.3548, allocations: 451 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.3549, allocations: 1 kB / 0.521 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.3551, allocations: 65.69 kB / 0.521 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.3554, allocations: 52.27 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.3558, allocations: 175.8 kB / 0.5212 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.3559, allocations: 80.25 kB / 0.5213 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.356, allocations: 20.89 kB / 0.5213 GB, free: 2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.91e-05/0.3561, allocations: 40.73 kB / 0.5214 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.814e-05/0.3562, allocations: 47 kB / 0.5214 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3562, allocations: 3.344 kB / 0.5214 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3563, allocations: 47.97 kB / 0.5215 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.3564, allocations: 31.02 kB / 0.5215 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.3564, allocations: 26.8 kB / 0.5215 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001934/0.3566, allocations: 116.9 kB / 0.5216 GB, free: 1.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3566, allocations: 0 / 0.5216 GB, free: 1.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3567, allocations: 0 / 0.5216 GB, free: 1.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.3567, allocations: 5.281 kB / 0.5216 GB, free: 1.863 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.0003919/0.3571, allocations: 412.7 kB / 0.522 GB, free: 1.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3571, allocations: 9.281 kB / 0.522 GB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.3572, allocations: 14.09 kB / 0.5221 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.3573, allocations: 209.4 kB / 0.5223 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.953e-06/0.3573, allocations: 2.125 kB / 0.5223 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.3574, allocations: 7.906 kB / 0.5223 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.3575, allocations: 66.12 kB / 0.5223 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3576, allocations: 1.25 kB / 0.5223 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3576, allocations: 0 / 0.5223 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3576, allocations: 1.688 kB / 0.5223 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.3577, allocations: 42.59 kB / 0.5224 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.3581, allocations: 322.1 kB / 0.5227 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.3583, allocations: 60.78 kB / 0.5227 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.5e-05/0.3584, allocations: 31.86 kB / 0.5228 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.3585, allocations: 0 / 0.5228 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.326e-05/0.3585, allocations: 36.56 kB / 0.5228 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.3585, allocations: 0 / 0.5228 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001431/0.3599, allocations: 416.9 kB / 0.5232 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.36, allocations: 57.12 kB / 0.5233 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3601, allocations: 189.3 kB / 0.5234 GB, free: 468 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.3601, allocations: 26.73 kB / 0.5235 GB, free: 436 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.689e-05/0.3602, allocations: 105.4 kB / 0.5236 GB, free: 336 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.025e-05/0.3602, allocations: 38.2 kB / 0.5236 GB, free: 304 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.3603, allocations: 28.25 kB / 0.5236 GB, free: 280 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.236e-05/0.3604, allocations: 322 kB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.3605, allocations: 51.19 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001362/0.3606, allocations: 59.92 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.3609, allocations: 127 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.3609, allocations: 0 / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000325/0.3613, allocations: 162.2 kB / 0.5243 GB, free: 15.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3613, allocations: 12.25 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.3613, allocations: 0.7031 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.3613, allocations: 1.156 kB / 0.5243 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.3614, allocations: 33.62 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3614, allocations: 3.938 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.534e-05/0.3615, allocations: 12.94 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.3615, allocations: 3.578 kB / 0.5244 GB, free: 15.79 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.0001137/0.3617, allocations: 132.4 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.3617, allocations: 16.83 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.3621, allocations: 191.2 kB / 0.5247 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3621, allocations: 5.125 kB / 0.5247 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3622, allocations: 1.75 kB / 0.5247 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3622, allocations: 1.312 kB / 0.5247 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.3628, allocations: 498.5 kB / 0.5252 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3628, allocations: 2.609 kB / 0.5252 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.78e-05/0.363, allocations: 32.17 kB / 0.5252 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.363, allocations: 1.719 kB / 0.5252 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.363, allocations: 6.578 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.363, allocations: 1.312 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.363, allocations: 4.062 kB / 0.5252 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.3634, allocations: 276.5 kB / 0.5255 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.3634, allocations: 88.58 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.3634, allocations: 6.719 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.3635, allocations: 13.47 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.3636, allocations: 7.672 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.3636, allocations: 4.156 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.3637, allocations: 143.8 kB / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3637, allocations: 0 / 0.5258 GB, free: 14.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.364, allocations: 28.28 kB / 0.5258 GB, free: 14.76 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.0009976/0.365, allocations: 462.3 kB / 0.5262 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003612/0.3654, allocations: 131.6 kB / 0.5263 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3654, allocations: 0 / 0.5263 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001739/0.3656, allocations: 65.83 kB / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003863/0.3659, allocations: 30.75 kB / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.3665, allocations: 300.3 kB / 0.5267 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.3669, allocations: 0.7233 MB / 0.5274 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001045/0.367, allocations: 30.72 kB / 0.5275 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.179e-05/0.367, allocations: 14.97 kB / 0.5275 GB, free: 13.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.367, allocations: 4 kB / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of Templates: time 0.00476/0.3718, allocations: 1.623 MB / 0.5291 GB, free: 12.8 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches