Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 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 / 241.6 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 99.06 kB / 291.8 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3327/0.3327, allocations: 44.14 MB / 386.1 MB, free: 37.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.00107, allocations: 55.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3813, allocations: 60.8 MB / 0.5064 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003002/0.3843, allocations: 1.642 MB / 0.508 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007637/0.3851, allocations: 422 kB / 0.5084 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.084e-05/0.3852, allocations: 4 kB / 0.5084 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002977/0.3855, allocations: 68.69 kB / 0.5085 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001527/0.3857, allocations: 52.58 kB / 0.5085 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.3859, allocations: 99.89 kB / 0.5086 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.3861, allocations: 76.17 kB / 0.5087 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3862, allocations: 20.25 kB / 0.5087 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.073e-05/0.3863, allocations: 29.72 kB / 0.5087 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3864, allocations: 53.03 kB / 0.5088 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.3864, allocations: 0 / 0.5088 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.939e-05/0.3865, allocations: 48.77 kB / 0.5088 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.839e-05/0.3866, allocations: 20 kB / 0.5088 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.3866, allocations: 25.5 kB / 0.5089 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.3868, allocations: 102 kB / 0.509 GB, free: 36.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3868, allocations: 3.094 kB / 0.509 GB, free: 36.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3868, allocations: 4 kB / 0.509 GB, free: 36.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.3868, allocations: 0 / 0.509 GB, free: 36.79 MB / 378.7 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.0004272/0.3872, allocations: 406.5 kB / 0.5094 GB, free: 36.38 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.3873, allocations: 8.875 kB / 0.5094 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.3873, allocations: 10.22 kB / 0.5094 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.3875, allocations: 206.3 kB / 0.5096 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3875, allocations: 384 / 0.5096 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.3875, allocations: 3 kB / 0.5096 GB, free: 36.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.3877, allocations: 57.66 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3877, allocations: 7.031 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3877, allocations: 0 / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3877, allocations: 0 / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.83e-05/0.3878, allocations: 26.69 kB / 0.5097 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.3882, allocations: 301.4 kB / 0.51 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.3883, allocations: 46.23 kB / 0.51 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.3884, allocations: 20.39 kB / 0.51 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.3884, allocations: 2.906 kB / 0.51 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.3884, allocations: 30.56 kB / 0.51 GB, free: 35.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3884, allocations: 3.938 kB / 0.5101 GB, free: 35.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008757/0.3893, allocations: 243.3 kB / 0.5103 GB, free: 35.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.3893, allocations: 58.12 kB / 0.5103 GB, free: 35.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3895, allocations: 209.3 kB / 0.5105 GB, free: 35.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.3895, allocations: 29.7 kB / 0.5106 GB, free: 35.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.043e-05/0.3896, allocations: 98.52 kB / 0.5107 GB, free: 35.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.3896, allocations: 29.34 kB / 0.5107 GB, free: 35.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.3897, allocations: 27 kB / 0.5107 GB, free: 35.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.917e-05/0.3898, allocations: 321.1 kB / 0.511 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.788e-05/0.3898, allocations: 31.88 kB / 0.5111 GB, free: 34.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/0.3899, allocations: 29.39 kB / 0.5111 GB, free: 34.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.3901, allocations: 73.66 kB / 0.5111 GB, free: 34.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3901, allocations: 0 / 0.5111 GB, free: 34.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001945/0.3903, allocations: 110 kB / 0.5113 GB, free: 34.84 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3903, allocations: 9.375 kB / 0.5113 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3903, allocations: 0 / 0.5113 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3903, allocations: 0 / 0.5113 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.633e-05/0.3904, allocations: 16.34 kB / 0.5113 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3904, allocations: 3.938 kB / 0.5113 GB, free: 34.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.962e-05/0.3905, allocations: 13.06 kB / 0.5113 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.3905, allocations: 6.562 kB / 0.5113 GB, free: 34.82 MB / 378.7 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 7.603e-05/0.3906, allocations: 129 kB / 0.5114 GB, free: 34.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.3906, allocations: 14.67 kB / 0.5114 GB, free: 34.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002656/0.3909, allocations: 136.4 kB / 0.5116 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3909, allocations: 2.656 kB / 0.5116 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.3909, allocations: 3.938 kB / 0.5116 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3909, allocations: 0 / 0.5116 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.3914, allocations: 417.7 kB / 0.512 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3914, allocations: 0 / 0.512 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.181e-05/0.3914, allocations: 23.45 kB / 0.512 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3915, allocations: 0 / 0.512 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.3915, allocations: 0 / 0.512 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3915, allocations: 2.844 kB / 0.512 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3915, allocations: 0 / 0.512 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004474/0.3919, allocations: 0.8163 MB / 0.5128 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.392, allocations: 84.02 kB / 0.5129 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.392, allocations: 0 / 0.5129 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.3921, allocations: 12.88 kB / 0.5129 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.3921, allocations: 10.94 kB / 0.5129 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3921, allocations: 2.719 kB / 0.5129 GB, free: 33.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.142e-05/0.3922, allocations: 160.2 kB / 0.5131 GB, free: 33.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3922, allocations: 0 / 0.5131 GB, free: 33.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003276/0.3926, allocations: 26.31 kB / 0.5131 GB, free: 33.26 MB / 378.7 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.0009363/0.3935, allocations: 458.6 kB / 0.5135 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.3937, allocations: 69.25 kB / 0.5136 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3937, allocations: 0 / 0.5136 GB, free: 33.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-05/0.3938, allocations: 41.73 kB / 0.5136 GB, free: 33.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.3942, allocations: 21.91 kB / 0.5136 GB, free: 33.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004829/0.3947, allocations: 404.2 kB / 0.514 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.3949, allocations: 0.7221 MB / 0.5147 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.039e-05/0.3949, allocations: 18.78 kB / 0.5148 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.395, allocations: 17.22 kB / 0.5148 GB, free: 31.97 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.395, allocations: 0 / 0.5148 GB, free: 31.97 MB / 378.7 MB Notification: Performance of Templates: time 0.003516/0.3985, allocations: 1.33 MB / 0.5161 GB, free: 31.8 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches