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.001162/0.001162, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001062/0.001062, allocations: 179.1 kB / 18.71 MB, free: 4.363 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.328/1.328, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.1963/0.1963, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 63.91 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3722, allocations: 60.83 MB / 0.5189 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.002954/0.3752, allocations: 1.638 MB / 0.5205 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000827/0.3761, allocations: 456.8 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.222e-05/0.3762, allocations: 1.094 kB / 0.521 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007078/0.3769, allocations: 450.6 kB / 0.5214 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004909/0.3774, allocations: 257.4 kB / 0.5216 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000564/0.378, allocations: 172.1 kB / 0.5218 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000428/0.3785, allocations: 168.6 kB / 0.522 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.3786, allocations: 24.69 kB / 0.522 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.3789, allocations: 108.2 kB / 0.5221 GB, free: 2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.3792, allocations: 216.7 kB / 0.5223 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.3793, allocations: 7.375 kB / 0.5223 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001479/0.3794, allocations: 46.89 kB / 0.5224 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.3795, allocations: 90.55 kB / 0.5224 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.629e-05/0.3796, allocations: 100.4 kB / 0.5225 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.3801, allocations: 270 kB / 0.5228 GB, free: 1.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3801, allocations: 5 kB / 0.5228 GB, free: 1.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3801, allocations: 0 / 0.5228 GB, free: 1.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.3801, allocations: 0 / 0.5228 GB, free: 1.723 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.0007378/0.3808, allocations: 0.6534 MB / 0.5234 GB, free: 1.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.3809, allocations: 13.23 kB / 0.5234 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.477e-05/0.381, allocations: 47.77 kB / 0.5235 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.3812, allocations: 294.3 kB / 0.5238 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3812, allocations: 2.062 kB / 0.5238 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.3812, allocations: 3.344 kB / 0.5238 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3814, allocations: 70.39 kB / 0.5238 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3814, allocations: 1.594 kB / 0.5238 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3814, allocations: 4 kB / 0.5239 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3815, allocations: 1.344 kB / 0.5239 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3816, allocations: 33 kB / 0.5239 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.3821, allocations: 414 kB / 0.5243 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.905e-05/0.3822, allocations: 44.97 kB / 0.5243 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.914e-05/0.3822, allocations: 25.3 kB / 0.5243 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.3823, allocations: 0 / 0.5243 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.3823, allocations: 36.86 kB / 0.5244 GB, free: 356 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3823, allocations: 0 / 0.5244 GB, free: 356 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009462/0.3833, allocations: 327.8 kB / 0.5247 GB, free: 196 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.3833, allocations: 60.72 kB / 0.5248 GB, free: 124 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.3843, allocations: 0.8606 MB / 0.5256 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.3844, allocations: 29.7 kB / 0.5256 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.3846, allocations: 221.2 kB / 0.5258 GB, free: 15.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.3846, allocations: 31.05 kB / 0.5259 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.3847, allocations: 20.69 kB / 0.5259 GB, free: 15.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.3848, allocations: 356.2 kB / 0.5262 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.711e-05/0.3849, allocations: 32.5 kB / 0.5263 GB, free: 15.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.385, allocations: 37.16 kB / 0.5263 GB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.3852, allocations: 74.56 kB / 0.5264 GB, free: 15.1 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3852, allocations: 0 / 0.5264 GB, free: 15.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002836/0.3855, allocations: 146.7 kB / 0.5265 GB, free: 15.01 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3855, allocations: 5.25 kB / 0.5265 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.3855, allocations: 1.406 kB / 0.5265 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3855, allocations: 7.938 kB / 0.5265 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.3857, allocations: 18.86 kB / 0.5265 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.3857, allocations: 3.938 kB / 0.5265 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.114e-05/0.3857, allocations: 6.953 kB / 0.5265 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.3858, allocations: 2.688 kB / 0.5265 GB, free: 14.99 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.0001963/0.386, allocations: 215.3 kB / 0.5267 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.179e-05/0.386, allocations: 42.69 kB / 0.5268 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.3864, allocations: 177.6 kB / 0.527 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3864, allocations: 1.375 kB / 0.527 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3864, allocations: 7.875 kB / 0.527 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3864, allocations: 1.375 kB / 0.527 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006765/0.3871, allocations: 0.5098 MB / 0.5275 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3871, allocations: 7.922 kB / 0.5275 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.638e-05/0.3872, allocations: 18.91 kB / 0.5275 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.3872, allocations: 0 / 0.5275 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.3872, allocations: 5.312 kB / 0.5275 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3873, allocations: 5.047 kB / 0.5275 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3873, allocations: 5.312 kB / 0.5275 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.3876, allocations: 250.5 kB / 0.5277 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.3878, allocations: 115 kB / 0.5279 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.9e-05/0.3878, allocations: 1.656 kB / 0.5279 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.388, allocations: 6.734 kB / 0.5279 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.388, allocations: 8.281 kB / 0.5279 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.388, allocations: 2.625 kB / 0.5279 GB, free: 13.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008752/0.3889, allocations: 0.6501 MB / 0.5285 GB, free: 13.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3889, allocations: 1.156 kB / 0.5285 GB, free: 13.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004245/0.3894, allocations: 29.62 kB / 0.5285 GB, free: 13.58 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.001346/0.3907, allocations: 451.1 kB / 0.529 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.391, allocations: 88.06 kB / 0.5291 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3911, allocations: 0 / 0.5291 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.3912, allocations: 44.91 kB / 0.5291 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005334/0.3917, allocations: 31.23 kB / 0.5291 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.3929, allocations: 0.816 MB / 0.5299 GB, free: 12.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004222/0.3934, allocations: 0.8395 MB / 0.5307 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.319e-05/0.3934, allocations: 25.16 kB / 0.5308 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.835e-05/0.3935, allocations: 13.28 kB / 0.5308 GB, free: 12.05 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3935, allocations: 0 / 0.5308 GB, free: 12.05 MB / 398.1 MB Notification: Performance of Templates: time 0.005131/0.3986, allocations: 1.749 MB / 0.5325 GB, free: 11.18 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