Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 107 kB / 17.75 MB, free: 5.32 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.001109/0.001109, allocations: 191 kB / 18.68 MB, free: 4.395 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.286/1.286, 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.2106/0.2106, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.89 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3551, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002964/0.3581, allocations: 1.636 MB / 0.5205 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008159/0.3589, allocations: 457 kB / 0.5209 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.359, allocations: 2 kB / 0.5209 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007118/0.3597, allocations: 455.5 kB / 0.5213 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004438/0.3602, allocations: 248.2 kB / 0.5216 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.3606, allocations: 180.3 kB / 0.5218 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.3609, allocations: 164.8 kB / 0.5219 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.361, allocations: 24.98 kB / 0.5219 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001412/0.3612, allocations: 119.9 kB / 0.522 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.3614, allocations: 207.3 kB / 0.5222 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.3615, allocations: 3.406 kB / 0.5223 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3616, allocations: 51.77 kB / 0.5223 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.3617, allocations: 83.53 kB / 0.5224 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.3618, allocations: 108.9 kB / 0.5225 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.362, allocations: 265.3 kB / 0.5227 GB, free: 1.715 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3621, allocations: 0 / 0.5227 GB, free: 1.715 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3621, allocations: 0 / 0.5227 GB, free: 1.715 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3621, allocations: 1.469 kB / 0.5227 GB, free: 1.715 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.0005732/0.3626, allocations: 0.6417 MB / 0.5234 GB, free: 1.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.3627, allocations: 9.5 kB / 0.5234 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.159e-05/0.3628, allocations: 44.59 kB / 0.5234 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.363, allocations: 301.2 kB / 0.5237 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.363, allocations: 2.062 kB / 0.5237 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.363, allocations: 8.453 kB / 0.5237 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.3632, allocations: 66.61 kB / 0.5238 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3632, allocations: 4.547 kB / 0.5238 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.3632, allocations: 0 / 0.5238 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.3632, allocations: 2.656 kB / 0.5238 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.3633, allocations: 32.95 kB / 0.5238 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004852/0.3638, allocations: 408.4 kB / 0.5242 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.3639, allocations: 45.14 kB / 0.5242 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.364, allocations: 19.91 kB / 0.5243 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.364, allocations: 6.25 kB / 0.5243 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.536e-05/0.364, allocations: 34.56 kB / 0.5243 GB, free: 368 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.364, allocations: 4 kB / 0.5243 GB, free: 364 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009378/0.365, allocations: 308.6 kB / 0.5246 GB, free: 224 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.365, allocations: 57.31 kB / 0.5247 GB, free: 156 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008338/0.3659, allocations: 0.8636 MB / 0.5255 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.522e-05/0.3659, allocations: 25.7 kB / 0.5255 GB, free: 15.76 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.3661, allocations: 222.2 kB / 0.5257 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.3661, allocations: 26.39 kB / 0.5258 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-05/0.3662, allocations: 20.59 kB / 0.5258 GB, free: 15.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.3664, allocations: 359.3 kB / 0.5261 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-05/0.3665, allocations: 32.47 kB / 0.5262 GB, free: 15.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.142e-05/0.3666, allocations: 29.86 kB / 0.5262 GB, free: 15.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.3668, allocations: 86.09 kB / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3668, allocations: 1.375 kB / 0.5263 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000286/0.3671, allocations: 149.4 kB / 0.5264 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3671, allocations: 8.312 kB / 0.5264 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.3671, allocations: 1.375 kB / 0.5264 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.3671, allocations: 0 / 0.5264 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.394e-05/0.3672, allocations: 17.73 kB / 0.5264 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3672, allocations: 9.312 kB / 0.5264 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.3673, allocations: 6.734 kB / 0.5265 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/0.3673, allocations: 2.75 kB / 0.5265 GB, free: 15 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 (8): * Single equations (assignments): 8 * 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.0001769/0.3675, allocations: 214.5 kB / 0.5267 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.597e-05/0.3675, allocations: 43.09 kB / 0.5267 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003227/0.3679, allocations: 177.3 kB / 0.5269 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.3679, allocations: 1.062 kB / 0.5269 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3679, allocations: 3.938 kB / 0.5269 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3679, allocations: 1.344 kB / 0.5269 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000704/0.3686, allocations: 0.5098 MB / 0.5274 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3686, allocations: 7.922 kB / 0.5274 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.679e-05/0.3687, allocations: 19.25 kB / 0.5274 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.3687, allocations: 4.031 kB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3687, allocations: 1.531 kB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3687, allocations: 5.797 kB / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3687, allocations: 0 / 0.5274 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.3691, allocations: 238.4 kB / 0.5276 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.3692, allocations: 114.7 kB / 0.5277 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.3692, allocations: 9.188 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.348e-05/0.3693, allocations: 7.578 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.3694, allocations: 3.938 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.3694, allocations: 2.906 kB / 0.5278 GB, free: 13.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007547/0.3701, allocations: 0.6544 MB / 0.5284 GB, free: 13.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3701, allocations: 0 / 0.5284 GB, free: 13.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.3704, allocations: 30.69 kB / 0.5284 GB, free: 13.6 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 (8): * Single equations (assignments): 8 * 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.0009455/0.3714, allocations: 464.3 kB / 0.5289 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.3716, allocations: 76.19 kB / 0.529 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3716, allocations: 0 / 0.529 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.769e-05/0.3717, allocations: 49.09 kB / 0.529 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.3721, allocations: 28.83 kB / 0.529 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.3733, allocations: 0.8147 MB / 0.5298 GB, free: 12.86 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.3738, allocations: 0.8356 MB / 0.5306 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.19e-05/0.3739, allocations: 20.42 kB / 0.5307 GB, free: 12.08 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.145e-05/0.3739, allocations: 17.66 kB / 0.5307 GB, free: 12.07 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3739, allocations: 0 / 0.5307 GB, free: 12.07 MB / 398.1 MB Notification: Performance of Templates: time 0.004936/0.3788, allocations: 1.741 MB / 0.5324 GB, free: 11.21 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches