Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 109.3 kB / 18.45 MB, free: 4.602 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.001408/0.001408, allocations: 183 kB / 19.38 MB, free: 3.684 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.21/1.21, allocations: 222.9 MB / 243.1 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.1828/0.1828, allocations: 44.18 MB / 337.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.84 kB / 471.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3032, allocations: 60.81 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002624/0.3059, allocations: 1.63 MB / 0.5212 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006601/0.3065, allocations: 412.3 kB / 0.5216 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.3066, allocations: 1.125 kB / 0.5216 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.3069, allocations: 96.81 kB / 0.5217 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.3071, allocations: 75.59 kB / 0.5217 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.3073, allocations: 91.03 kB / 0.5218 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.3075, allocations: 83 kB / 0.5219 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.3076, allocations: 34.23 kB / 0.5219 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.805e-05/0.3077, allocations: 37.66 kB / 0.522 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001016/0.3078, allocations: 56.14 kB / 0.522 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.3078, allocations: 4.188 kB / 0.522 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.241e-05/0.3079, allocations: 46.23 kB / 0.5221 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.308, allocations: 32.66 kB / 0.5221 GB, free: 2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.308, allocations: 32.14 kB / 0.5221 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.3082, allocations: 130.4 kB / 0.5223 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3082, allocations: 0 / 0.5223 GB, free: 1.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3082, allocations: 0 / 0.5223 GB, free: 1.918 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3082, allocations: 5.031 kB / 0.5223 GB, free: 1.914 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003875/0.3086, allocations: 418 kB / 0.5227 GB, free: 1.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.3087, allocations: 10.16 kB / 0.5227 GB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.3087, allocations: 10.59 kB / 0.5227 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3089, allocations: 213.1 kB / 0.5229 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.3089, allocations: 7.156 kB / 0.5229 GB, free: 1.273 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.3089, allocations: 7.406 kB / 0.5229 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3091, allocations: 75.12 kB / 0.523 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3091, allocations: 0 / 0.523 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3091, allocations: 5.688 kB / 0.523 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3091, allocations: 1.094 kB / 0.523 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.3092, allocations: 35.8 kB / 0.523 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.3096, allocations: 327.5 kB / 0.5233 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.3097, allocations: 67.5 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.3098, allocations: 23.31 kB / 0.5234 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.3098, allocations: 1.859 kB / 0.5234 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.3098, allocations: 31.62 kB / 0.5234 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.3098, allocations: 3.938 kB / 0.5234 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.000961/0.3108, allocations: 312.6 kB / 0.5237 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.3108, allocations: 53.72 kB / 0.5238 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.311, allocations: 232.3 kB / 0.524 GB, free: 492 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.311, allocations: 25.7 kB / 0.524 GB, free: 460 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.3111, allocations: 114.5 kB / 0.5241 GB, free: 352 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.3111, allocations: 45.25 kB / 0.5242 GB, free: 316 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.3111, allocations: 29.11 kB / 0.5242 GB, free: 292 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.282e-05/0.3112, allocations: 327.4 kB / 0.5245 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.467e-05/0.3113, allocations: 34.03 kB / 0.5246 GB, free: 15.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.358e-05/0.3114, allocations: 36.62 kB / 0.5246 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.3116, allocations: 94.03 kB / 0.5247 GB, free: 15.9 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3116, allocations: 2.234 kB / 0.5247 GB, free: 15.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002433/0.3118, allocations: 133.3 kB / 0.5248 GB, free: 15.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3119, allocations: 7.859 kB / 0.5248 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.3119, allocations: 1.094 kB / 0.5248 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3119, allocations: 5.094 kB / 0.5248 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.312, allocations: 24.94 kB / 0.5249 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.312, allocations: 1.703 kB / 0.5249 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.607e-05/0.3121, allocations: 16.84 kB / 0.5249 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.3121, allocations: 7.312 kB / 0.5249 GB, free: 15.82 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 (13): * Single equations (assignments): 13 * 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 9.945e-05/0.3122, allocations: 133.6 kB / 0.525 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.3122, allocations: 10.69 kB / 0.525 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003269/0.3126, allocations: 166.3 kB / 0.5252 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.3126, allocations: 7 kB / 0.5252 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.3126, allocations: 0 / 0.5252 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3126, allocations: 1.75 kB / 0.5252 GB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005628/0.3132, allocations: 477.3 kB / 0.5256 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3132, allocations: 0.5156 kB / 0.5256 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.609e-05/0.3133, allocations: 28.61 kB / 0.5257 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3133, allocations: 2.188 kB / 0.5257 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3133, allocations: 6.547 kB / 0.5257 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3133, allocations: 0 / 0.5257 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3133, allocations: 5.969 kB / 0.5257 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.3136, allocations: 242.7 kB / 0.5259 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.3136, allocations: 89.05 kB / 0.526 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.3137, allocations: 6.109 kB / 0.526 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.311e-05/0.3137, allocations: 12.62 kB / 0.526 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.3138, allocations: 13.16 kB / 0.526 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3138, allocations: 3.688 kB / 0.526 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3139, allocations: 172.4 kB / 0.5262 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3139, allocations: 0 / 0.5262 GB, free: 14.81 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.3142, allocations: 31.25 kB / 0.5262 GB, free: 14.8 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 (13): * Single equations (assignments): 13 * 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.0009329/0.3151, allocations: 450.8 kB / 0.5267 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.3154, allocations: 98.98 kB / 0.5267 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3154, allocations: 0 / 0.5267 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3155, allocations: 55.45 kB / 0.5268 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.3158, allocations: 30.88 kB / 0.5268 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004688/0.3163, allocations: 329.2 kB / 0.5271 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.3166, allocations: 0.7171 MB / 0.5278 GB, free: 13.6 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.3166, allocations: 18.47 kB / 0.5279 GB, free: 13.6 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3166, allocations: 0 / 0.5279 GB, free: 13.6 MB / 398.1 MB Notification: Performance of Templates: time 0.003542/0.3202, allocations: 2.021 MB / 0.5298 GB, free: 12.74 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches