Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 114.4 kB / 17.78 MB, free: 5.246 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.001069/0.001069, allocations: 183 kB / 18.71 MB, free: 4.32 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.404/1.404, 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.2045/0.2045, allocations: 44.19 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 55.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4751/0.4767, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.003765/0.4805, allocations: 1.562 MB / 0.5204 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.4814, allocations: 405.2 kB / 0.5208 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.4815, allocations: 9.062 kB / 0.5208 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.4818, allocations: 33.62 kB / 0.5209 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.4821, allocations: 32.88 kB / 0.5209 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.4824, allocations: 115.2 kB / 0.521 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.4826, allocations: 50.8 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.4828, allocations: 17.73 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.498e-05/0.4828, allocations: 18.36 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.836e-05/0.4829, allocations: 20.33 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.029e-05/0.4829, allocations: 2.625 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.483, allocations: 33.5 kB / 0.5211 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.4831, allocations: 16.08 kB / 0.5212 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.4832, allocations: 29.08 kB / 0.5212 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.4834, allocations: 72.52 kB / 0.5213 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4834, allocations: 0 / 0.5213 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4834, allocations: 5.188 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.4834, allocations: 0 / 0.5213 GB, free: 2.051 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004629/0.4839, allocations: 384.5 kB / 0.5216 GB, free: 1.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.4839, allocations: 9.891 kB / 0.5216 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.484, allocations: 8.594 kB / 0.5216 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.4842, allocations: 195.7 kB / 0.5218 GB, free: 1.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4842, allocations: 5.984 kB / 0.5218 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.4842, allocations: 1.562 kB / 0.5218 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.4844, allocations: 62.16 kB / 0.5219 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4844, allocations: 4.516 kB / 0.5219 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.4844, allocations: 1.094 kB / 0.5219 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4844, allocations: 3.938 kB / 0.5219 GB, free: 1.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.4845, allocations: 24.25 kB / 0.5219 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.4849, allocations: 277.1 kB / 0.5222 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002244/0.4851, allocations: 54.09 kB / 0.5223 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.4852, allocations: 15.33 kB / 0.5223 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.4852, allocations: 0 / 0.5223 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/0.4853, allocations: 36.47 kB / 0.5223 GB, free: 1.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.4853, allocations: 1.281 kB / 0.5223 GB, free: 1.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006128/0.4859, allocations: 154.6 kB / 0.5224 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.4859, allocations: 53.73 kB / 0.5225 GB, free: 0.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.4861, allocations: 165.3 kB / 0.5227 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.4861, allocations: 25.7 kB / 0.5227 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.4862, allocations: 95.17 kB / 0.5228 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.302e-05/0.4862, allocations: 11.66 kB / 0.5228 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.4862, allocations: 17.98 kB / 0.5228 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.4863, allocations: 324.9 kB / 0.5231 GB, free: 296 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.716e-05/0.4864, allocations: 24.69 kB / 0.5231 GB, free: 288 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.575e-05/0.4865, allocations: 20.91 kB / 0.5232 GB, free: 284 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.4866, allocations: 54.81 kB / 0.5232 GB, free: 260 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4866, allocations: 1.469 kB / 0.5232 GB, free: 260 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001852/0.4868, allocations: 85.05 kB / 0.5233 GB, free: 212 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4868, allocations: 6.031 kB / 0.5233 GB, free: 212 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4868, allocations: 4 kB / 0.5233 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.4868, allocations: 0 / 0.5233 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.4869, allocations: 13.58 kB / 0.5233 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4869, allocations: 0 / 0.5233 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.205e-05/0.487, allocations: 5.891 kB / 0.5233 GB, free: 208 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.487, allocations: 0.9375 kB / 0.5233 GB, free: 208 kB / 382.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 (5): * Single equations (assignments): 5 * 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.229e-05/0.4871, allocations: 126.6 kB / 0.5234 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.349e-05/0.4871, allocations: 16.03 kB / 0.5235 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.4874, allocations: 100.9 kB / 0.5236 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.4874, allocations: 0 / 0.5236 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4874, allocations: 0 / 0.5236 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4874, allocations: 0.6094 kB / 0.5236 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004795/0.4879, allocations: 363.3 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-06/0.4879, allocations: 1.219 kB / 0.5239 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.488, allocations: 16.27 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.488, allocations: 4 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.488, allocations: 1.062 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.488, allocations: 4.781 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.488, allocations: 1.25 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.4883, allocations: 177.8 kB / 0.5241 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.171e-05/0.4883, allocations: 86.92 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.4883, allocations: 5.891 kB / 0.5242 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.405e-05/0.4884, allocations: 13.05 kB / 0.5242 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.4885, allocations: 7.875 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.4885, allocations: 1.281 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.4886, allocations: 128.9 kB / 0.5243 GB, free: 15.31 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4886, allocations: 0 / 0.5243 GB, free: 15.31 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002544/0.4889, allocations: 15.92 kB / 0.5243 GB, free: 15.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009253/0.4898, allocations: 401.6 kB / 0.5247 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.49, allocations: 48.91 kB / 0.5248 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.49, allocations: 0 / 0.5248 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.994e-05/0.4901, allocations: 33.38 kB / 0.5248 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.4904, allocations: 26.38 kB / 0.5248 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004159/0.4909, allocations: 188 kB / 0.525 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002664/0.4911, allocations: 0.7068 MB / 0.5257 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.818e-05/0.4912, allocations: 16.23 kB / 0.5257 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.4912, allocations: 12.36 kB / 0.5257 GB, free: 14.21 MB / 398.1 MB Notification: Performance of SimCode: time 1.9e-07/0.4912, allocations: 0 / 0.5257 GB, free: 14.21 MB / 398.1 MB Notification: Performance of Templates: time 0.004063/0.4953, allocations: 1.12 MB / 0.5268 GB, free: 14.05 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches