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.001023/0.001023, allocations: 110.3 kB / 17.78 MB, free: 5.25 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.001041/0.001041, allocations: 187.1 kB / 18.71 MB, free: 4.324 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.248/1.248, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.1962/0.1962, allocations: 44.19 MB / 336.7 MB, free: 2.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.89 kB / 470.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2965, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.002537/0.2991, allocations: 1.564 MB / 0.5204 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006353/0.2997, allocations: 409.9 kB / 0.5208 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/0.2998, allocations: 1.625 kB / 0.5208 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.3, allocations: 27.36 kB / 0.5209 GB, free: 2.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.3002, allocations: 45.42 kB / 0.5209 GB, free: 2.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.3005, allocations: 104.1 kB / 0.521 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.3006, allocations: 55.73 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.3007, allocations: 16.16 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.85e-05/0.3008, allocations: 23.02 kB / 0.5211 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.432e-05/0.3009, allocations: 20.03 kB / 0.5211 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.3009, allocations: 2.656 kB / 0.5211 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.988e-05/0.3009, allocations: 28.67 kB / 0.5211 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.301, allocations: 21.33 kB / 0.5212 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.301, allocations: 24.27 kB / 0.5212 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001566/0.3012, allocations: 73.53 kB / 0.5213 GB, free: 2.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3012, allocations: 0 / 0.5213 GB, free: 2.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3012, allocations: 0 / 0.5213 GB, free: 2.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.3012, allocations: 0 / 0.5213 GB, free: 2.039 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.0003504/0.3016, allocations: 389.9 kB / 0.5216 GB, free: 1.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.3016, allocations: 9.406 kB / 0.5216 GB, free: 1.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.3017, allocations: 17.64 kB / 0.5217 GB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.3018, allocations: 186.6 kB / 0.5218 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.3018, allocations: 6.281 kB / 0.5218 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.3018, allocations: 2.812 kB / 0.5218 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.302, allocations: 53.31 kB / 0.5219 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.302, allocations: 4.609 kB / 0.5219 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.302, allocations: 1.031 kB / 0.5219 GB, free: 1.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.302, allocations: 8 kB / 0.5219 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.3021, allocations: 23.92 kB / 0.5219 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.3025, allocations: 282.1 kB / 0.5222 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.3027, allocations: 49.47 kB / 0.5222 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.014e-05/0.3027, allocations: 18.81 kB / 0.5223 GB, free: 1.035 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3028, allocations: 5.672 kB / 0.5223 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.3028, allocations: 31.78 kB / 0.5223 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3028, allocations: 0 / 0.5223 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005454/0.3033, allocations: 151.5 kB / 0.5224 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.3034, allocations: 52.41 kB / 0.5225 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.3035, allocations: 168.2 kB / 0.5226 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.3035, allocations: 26.89 kB / 0.5227 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.3036, allocations: 95.05 kB / 0.5228 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.3036, allocations: 14.55 kB / 0.5228 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.3036, allocations: 19.7 kB / 0.5228 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.335e-05/0.3037, allocations: 323.8 kB / 0.5231 GB, free: 276 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.229e-05/0.3038, allocations: 20.73 kB / 0.5231 GB, free: 272 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.725e-05/0.3038, allocations: 20.75 kB / 0.5231 GB, free: 268 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.304, allocations: 60.14 kB / 0.5232 GB, free: 240 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.304, allocations: 0 / 0.5232 GB, free: 240 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001581/0.3041, allocations: 81.59 kB / 0.5233 GB, free: 196 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.3042, allocations: 4.938 kB / 0.5233 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.3042, allocations: 1.344 kB / 0.5233 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3042, allocations: 0 / 0.5233 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.048e-05/0.3043, allocations: 12.92 kB / 0.5233 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3043, allocations: 4 kB / 0.5233 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.3043, allocations: 8.609 kB / 0.5233 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.3043, allocations: 6.672 kB / 0.5233 GB, free: 184 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 6.329e-05/0.3044, allocations: 122.1 kB / 0.5234 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.3044, allocations: 12.8 kB / 0.5234 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.3047, allocations: 102.2 kB / 0.5235 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3047, allocations: 1.125 kB / 0.5235 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3047, allocations: 5.812 kB / 0.5236 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3047, allocations: 4 kB / 0.5236 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.3052, allocations: 359.9 kB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3052, allocations: 4.547 kB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.3052, allocations: 11.05 kB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3052, allocations: 1.344 kB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3053, allocations: 0.5156 kB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.3053, allocations: 5.375 kB / 0.5239 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3053, allocations: 4.609 kB / 0.5239 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.3055, allocations: 183.1 kB / 0.5241 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.3055, allocations: 81.02 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.3056, allocations: 2.062 kB / 0.5242 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.64e-05/0.3056, allocations: 10.59 kB / 0.5242 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.3057, allocations: 4.047 kB / 0.5242 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-06/0.3057, allocations: 4 kB / 0.5242 GB, free: 15.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.564e-05/0.3058, allocations: 130.9 kB / 0.5243 GB, free: 15.29 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3058, allocations: 0 / 0.5243 GB, free: 15.29 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.3061, allocations: 15.14 kB / 0.5243 GB, free: 15.29 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.000883/0.3069, allocations: 402.8 kB / 0.5247 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001884/0.3071, allocations: 51.89 kB / 0.5248 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3072, allocations: 4 kB / 0.5248 GB, free: 15.08 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.39e-05/0.3072, allocations: 30.34 kB / 0.5248 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.3075, allocations: 21.78 kB / 0.5248 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.3079, allocations: 192.8 kB / 0.525 GB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.3082, allocations: 0.6978 MB / 0.5257 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.486e-05/0.3082, allocations: 15.22 kB / 0.5257 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.3083, allocations: 12.58 kB / 0.5257 GB, free: 14.2 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3083, allocations: 0 / 0.5257 GB, free: 14.2 MB / 398.1 MB Notification: Performance of Templates: time 0.003765/0.312, allocations: 1.137 MB / 0.5268 GB, free: 14.02 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