Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 118.4 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.001247/0.001247, allocations: 183 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.418/1.418, 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.2191/0.2191, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 59.89 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3796, allocations: 60.83 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.002762/0.3824, allocations: 1.585 MB / 0.5205 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006834/0.3831, allocations: 418.3 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.3832, allocations: 1.562 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.3835, allocations: 102.5 kB / 0.521 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.3837, allocations: 80.55 kB / 0.5211 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.384, allocations: 112.4 kB / 0.5212 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.3842, allocations: 79.78 kB / 0.5212 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3843, allocations: 18.75 kB / 0.5213 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.655e-05/0.3844, allocations: 47.2 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.3845, allocations: 65.53 kB / 0.5214 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.3846, allocations: 3 kB / 0.5214 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.096e-05/0.3847, allocations: 43.19 kB / 0.5214 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.3847, allocations: 26.16 kB / 0.5214 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.3848, allocations: 34.78 kB / 0.5215 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.385, allocations: 113.7 kB / 0.5216 GB, free: 1.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.385, allocations: 0 / 0.5216 GB, free: 1.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.385, allocations: 0 / 0.5216 GB, free: 1.969 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.385, allocations: 1.094 kB / 0.5216 GB, free: 1.969 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004729/0.3855, allocations: 414.2 kB / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3855, allocations: 9.219 kB / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.3856, allocations: 9.5 kB / 0.522 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.3857, allocations: 204.7 kB / 0.5222 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.3857, allocations: 5.844 kB / 0.5222 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.3858, allocations: 2.906 kB / 0.5222 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.3859, allocations: 64.55 kB / 0.5222 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.386, allocations: 5.344 kB / 0.5223 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.386, allocations: 0.75 kB / 0.5223 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.543e-06/0.386, allocations: 5.219 kB / 0.5223 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.3861, allocations: 25.62 kB / 0.5223 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.3865, allocations: 312.2 kB / 0.5226 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.3866, allocations: 49.36 kB / 0.5226 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.3867, allocations: 27.23 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.3867, allocations: 1.219 kB / 0.5227 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.3868, allocations: 31.62 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3868, allocations: 1.094 kB / 0.5227 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009522/0.3877, allocations: 244.6 kB / 0.5229 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.3878, allocations: 51.41 kB / 0.523 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.388, allocations: 240.2 kB / 0.5232 GB, free: 0.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.388, allocations: 29.7 kB / 0.5232 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.839e-05/0.3881, allocations: 114.5 kB / 0.5233 GB, free: 452 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.3881, allocations: 33.7 kB / 0.5234 GB, free: 424 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.3882, allocations: 21.45 kB / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.523e-05/0.3883, allocations: 323.9 kB / 0.5237 GB, free: 80 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.22e-05/0.3884, allocations: 29.39 kB / 0.5237 GB, free: 72 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.132e-05/0.3884, allocations: 35.27 kB / 0.5238 GB, free: 60 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001936/0.3886, allocations: 75.17 kB / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3887, allocations: 0 / 0.5238 GB, free: 28 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002508/0.3889, allocations: 106.7 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3889, allocations: 4.25 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3889, allocations: 1.281 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.389, allocations: 0.5625 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.3891, allocations: 17.72 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.3891, allocations: 3.938 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.3892, allocations: 13.89 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.3892, allocations: 5.469 kB / 0.524 GB, free: 15.96 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.0001139/0.3893, allocations: 127.4 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.956e-05/0.3893, allocations: 15.77 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003219/0.3897, allocations: 132.8 kB / 0.5242 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3897, allocations: 0.7031 kB / 0.5242 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.3897, allocations: 5.25 kB / 0.5242 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3897, allocations: 4.609 kB / 0.5243 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.3903, allocations: 415.4 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.3903, allocations: 6.234 kB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-05/0.3904, allocations: 28.08 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3904, allocations: 2.281 kB / 0.5247 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.3904, allocations: 4.609 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3904, allocations: 1.719 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3904, allocations: 4.828 kB / 0.5247 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.3907, allocations: 214.2 kB / 0.5249 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.3908, allocations: 96.59 kB / 0.525 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.3908, allocations: 2.484 kB / 0.525 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/0.3909, allocations: 5.344 kB / 0.525 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.3909, allocations: 17.7 kB / 0.525 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.3909, allocations: 2.188 kB / 0.525 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001733/0.3911, allocations: 183.5 kB / 0.5252 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3911, allocations: 0 / 0.5252 GB, free: 14.99 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.3914, allocations: 24.25 kB / 0.5252 GB, free: 14.98 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.001093/0.3925, allocations: 457.6 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003009/0.3928, allocations: 71.19 kB / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3928, allocations: 0 / 0.5257 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.3929, allocations: 38.17 kB / 0.5258 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.3933, allocations: 26.97 kB / 0.5258 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006422/0.3939, allocations: 285.6 kB / 0.5261 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.3944, allocations: 0.7182 MB / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.716e-05/0.3945, allocations: 20.64 kB / 0.5268 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.3945, allocations: 17.56 kB / 0.5268 GB, free: 13.82 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3945, allocations: 1.031 kB / 0.5268 GB, free: 13.82 MB / 398.1 MB Notification: Performance of Templates: time 0.004321/0.3988, allocations: 1.38 MB / 0.5281 GB, free: 13.36 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches