Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.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.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009724/0.0009725, allocations: 114.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.0009621/0.0009621, allocations: 187.8 kB / 18.71 MB, free: 4.344 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.205/1.205, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.1771/0.1771, allocations: 44.19 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3018, allocations: 60.82 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002703/0.3045, allocations: 1.964 MB / 0.5208 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.3057, allocations: 0.8461 MB / 0.5217 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-05/0.3058, allocations: 2.531 kB / 0.5217 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004735/0.3063, allocations: 250.7 kB / 0.5219 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.3066, allocations: 188.2 kB / 0.5221 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008792/0.3075, allocations: 496.5 kB / 0.5226 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.3078, allocations: 284.3 kB / 0.5228 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.3079, allocations: 70 kB / 0.5229 GB, free: 1.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.3081, allocations: 134.7 kB / 0.523 GB, free: 1.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.3084, allocations: 188.4 kB / 0.5232 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.731e-05/0.3084, allocations: 10.12 kB / 0.5232 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.3086, allocations: 73.17 kB / 0.5233 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.3087, allocations: 91.52 kB / 0.5234 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.257e-05/0.3088, allocations: 105.7 kB / 0.5235 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.3092, allocations: 291.5 kB / 0.5237 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3092, allocations: 0.6562 kB / 0.5237 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3092, allocations: 2.812 kB / 0.5237 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3092, allocations: 0 / 0.5237 GB, free: 0.7852 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005792/0.3098, allocations: 0.6154 MB / 0.5243 GB, free: 248 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.3098, allocations: 12.56 kB / 0.5244 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.3099, allocations: 42.36 kB / 0.5244 GB, free: 220 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.3102, allocations: 294.3 kB / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3102, allocations: 6.234 kB / 0.5247 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.3102, allocations: 14.59 kB / 0.5247 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.3105, allocations: 110.2 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3105, allocations: 1.719 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3105, allocations: 9.125 kB / 0.5248 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3105, allocations: 2.406 kB / 0.5248 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.3107, allocations: 71.2 kB / 0.5249 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.3114, allocations: 482.4 kB / 0.5253 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.3115, allocations: 91.41 kB / 0.5254 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.433e-05/0.3116, allocations: 37.83 kB / 0.5255 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.3116, allocations: 2.359 kB / 0.5255 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.3117, allocations: 31.94 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.143e-06/0.3117, allocations: 1.406 kB / 0.5255 GB, free: 15.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008556/0.3125, allocations: 377.1 kB / 0.5259 GB, free: 15.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3126, allocations: 54.16 kB / 0.5259 GB, free: 15.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005009/0.3131, allocations: 0.5238 MB / 0.5264 GB, free: 14.88 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3131, allocations: 27.08 kB / 0.5265 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.3133, allocations: 191.6 kB / 0.5266 GB, free: 14.67 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.3133, allocations: 65.95 kB / 0.5267 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.148e-05/0.3134, allocations: 30.09 kB / 0.5267 GB, free: 14.59 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3135, allocations: 356.4 kB / 0.5271 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.3136, allocations: 51.47 kB / 0.5271 GB, free: 14.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.978e-05/0.3137, allocations: 51.47 kB / 0.5272 GB, free: 14.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.3139, allocations: 120 kB / 0.5273 GB, free: 14.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.314, allocations: 3.938 kB / 0.5273 GB, free: 14.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003247/0.3143, allocations: 194.8 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.3143, allocations: 4.25 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3143, allocations: 1.312 kB / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3143, allocations: 0 / 0.5275 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.3145, allocations: 39.42 kB / 0.5275 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3145, allocations: 1.875 kB / 0.5275 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.195e-05/0.3146, allocations: 6.547 kB / 0.5275 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.3146, allocations: 9.188 kB / 0.5275 GB, free: 14 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 (17): * Single equations (assignments): 17 * 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.0001499/0.3147, allocations: 170.7 kB / 0.5277 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.3148, allocations: 35.78 kB / 0.5277 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.3152, allocations: 245.1 kB / 0.528 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3153, allocations: 1.531 kB / 0.528 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3153, allocations: 3.938 kB / 0.528 GB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3153, allocations: 5.328 kB / 0.528 GB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007531/0.316, allocations: 0.6024 MB / 0.5286 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.316, allocations: 1.094 kB / 0.5286 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.3162, allocations: 34.72 kB / 0.5286 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3162, allocations: 0 / 0.5286 GB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.3162, allocations: 14.31 kB / 0.5286 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.3162, allocations: 1.375 kB / 0.5286 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3162, allocations: 3.938 kB / 0.5286 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.3165, allocations: 288.6 kB / 0.5289 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.3166, allocations: 104.9 kB / 0.529 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.3167, allocations: 5.375 kB / 0.529 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.3167, allocations: 10.95 kB / 0.529 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.3168, allocations: 18.2 kB / 0.529 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.3168, allocations: 4.406 kB / 0.529 GB, free: 12.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003599/0.3172, allocations: 388.9 kB / 0.5294 GB, free: 12.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3172, allocations: 0 / 0.5294 GB, free: 12.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.3175, allocations: 53.42 kB / 0.5294 GB, free: 12.6 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 (17): * Single equations (assignments): 17 * 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.001456/0.3189, allocations: 0.6825 MB / 0.5301 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002969/0.3192, allocations: 132.5 kB / 0.5302 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3193, allocations: 0 / 0.5302 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3194, allocations: 75.17 kB / 0.5303 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005026/0.3199, allocations: 79.72 kB / 0.5304 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008346/0.3207, allocations: 0.6579 MB / 0.531 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.3211, allocations: 0.8031 MB / 0.5318 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.3212, allocations: 48.02 kB / 0.5319 GB, free: 11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.316e-05/0.3213, allocations: 23.47 kB / 0.5319 GB, free: 11 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3213, allocations: 4.812 kB / 0.5319 GB, free: 11 MB / 398.1 MB Notification: Performance of Templates: time 0.006327/0.3276, allocations: 3.218 MB / 0.535 GB, free: 9.359 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches