Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 109.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.001837/0.001837, 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.319/1.319, 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.1989/0.1989, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 59.91 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3727, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002805/0.3756, allocations: 1.645 MB / 0.5205 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000643/0.3763, allocations: 430.9 kB / 0.5209 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.3763, allocations: 1.281 kB / 0.5209 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.377, allocations: 450.3 kB / 0.5214 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004202/0.3774, allocations: 252.7 kB / 0.5216 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.3777, allocations: 136.8 kB / 0.5217 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.378, allocations: 156.6 kB / 0.5219 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3781, allocations: 23.89 kB / 0.5219 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.3783, allocations: 106.6 kB / 0.522 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.3785, allocations: 211.8 kB / 0.5222 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.3786, allocations: 2.594 kB / 0.5222 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.3787, allocations: 52.88 kB / 0.5223 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.3788, allocations: 80.88 kB / 0.5224 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.874e-05/0.3789, allocations: 107.9 kB / 0.5225 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003544/0.3793, allocations: 263.8 kB / 0.5227 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3793, allocations: 0 / 0.5227 GB, free: 1.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3793, allocations: 4 kB / 0.5227 GB, free: 1.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.3793, allocations: 0 / 0.5227 GB, free: 1.75 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.0006076/0.3799, allocations: 0.6592 MB / 0.5234 GB, free: 1.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3799, allocations: 8.344 kB / 0.5234 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.569e-05/0.38, allocations: 44.47 kB / 0.5234 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.3802, allocations: 297.1 kB / 0.5237 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3802, allocations: 6.578 kB / 0.5237 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.3803, allocations: 3.844 kB / 0.5237 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.3804, allocations: 70.41 kB / 0.5238 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3804, allocations: 0 / 0.5238 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.3804, allocations: 2.031 kB / 0.5238 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3805, allocations: 0 / 0.5238 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.544e-05/0.3806, allocations: 31.27 kB / 0.5238 GB, free: 0.793 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.381, allocations: 392.1 kB / 0.5242 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.699e-05/0.3811, allocations: 46.39 kB / 0.5242 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.3812, allocations: 24.23 kB / 0.5242 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.3812, allocations: 0 / 0.5242 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.3812, allocations: 36.56 kB / 0.5243 GB, free: 388 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.3812, allocations: 0 / 0.5243 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008927/0.3821, allocations: 309 kB / 0.5246 GB, free: 236 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.138e-05/0.3822, allocations: 57.23 kB / 0.5246 GB, free: 168 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000938/0.3831, allocations: 0.8608 MB / 0.5255 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.3831, allocations: 27.08 kB / 0.5255 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.3833, allocations: 225.1 kB / 0.5257 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.3834, allocations: 22.86 kB / 0.5257 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/0.3834, allocations: 19.84 kB / 0.5257 GB, free: 15.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002238/0.3836, allocations: 368.1 kB / 0.5261 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.307e-05/0.3837, allocations: 24.97 kB / 0.5261 GB, free: 15.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.52e-05/0.3838, allocations: 27.2 kB / 0.5261 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.384, allocations: 65.48 kB / 0.5262 GB, free: 15.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.384, allocations: 0 / 0.5262 GB, free: 15.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000256/0.3843, allocations: 141.2 kB / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.3843, allocations: 5.812 kB / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.3843, allocations: 0 / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.3843, allocations: 0 / 0.5263 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.3844, allocations: 21.86 kB / 0.5264 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3844, allocations: 5.562 kB / 0.5264 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.3845, allocations: 6.984 kB / 0.5264 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3845, allocations: 1.938 kB / 0.5264 GB, free: 15.06 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.0001993/0.3847, allocations: 219 kB / 0.5266 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.3848, allocations: 41.31 kB / 0.5266 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.3851, allocations: 160.5 kB / 0.5268 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3851, allocations: 0 / 0.5268 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.3852, allocations: 5.625 kB / 0.5268 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3852, allocations: 3.984 kB / 0.5268 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006333/0.3858, allocations: 0.4966 MB / 0.5273 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.3858, allocations: 5.188 kB / 0.5273 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.3859, allocations: 13.91 kB / 0.5273 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3859, allocations: 0 / 0.5273 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3859, allocations: 5.734 kB / 0.5273 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.3859, allocations: 1.344 kB / 0.5273 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3859, allocations: 0 / 0.5273 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.3862, allocations: 242.4 kB / 0.5275 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.736e-05/0.3863, allocations: 122.2 kB / 0.5276 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.466e-05/0.3863, allocations: 1.781 kB / 0.5277 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-05/0.3864, allocations: 3.781 kB / 0.5277 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.3865, allocations: 7.672 kB / 0.5277 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3865, allocations: 2.938 kB / 0.5277 GB, free: 14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006347/0.3871, allocations: 0.6494 MB / 0.5283 GB, free: 13.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3871, allocations: 0 / 0.5283 GB, free: 13.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.3874, allocations: 30.27 kB / 0.5283 GB, free: 13.67 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.001088/0.3885, allocations: 464.1 kB / 0.5288 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002415/0.3887, allocations: 70.88 kB / 0.5288 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3887, allocations: 0 / 0.5288 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.117e-05/0.3888, allocations: 34.27 kB / 0.5289 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.3892, allocations: 29.7 kB / 0.5289 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.3904, allocations: 0.8087 MB / 0.5297 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.3908, allocations: 0.8331 MB / 0.5305 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.617e-05/0.3909, allocations: 8.359 kB / 0.5305 GB, free: 12.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.391, allocations: 16.86 kB / 0.5305 GB, free: 12.16 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.391, allocations: 1.062 kB / 0.5305 GB, free: 12.16 MB / 398.1 MB Notification: Performance of Templates: time 0.005097/0.3961, allocations: 1.712 MB / 0.5322 GB, free: 11.3 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches