Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009706/0.0009709, allocations: 106.4 kB / 17.78 MB, free: 5.289 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.0009675/0.0009676, allocations: 187.9 kB / 18.7 MB, free: 4.371 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.213/1.213, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.1778/0.1778, allocations: 44.18 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 67.89 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2904, allocations: 60.82 MB / 0.5189 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002703/0.2931, allocations: 1.965 MB / 0.5208 GB, free: 2.227 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.2946, allocations: 1.143 MB / 0.5219 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.122e-05/0.2947, allocations: 2.688 kB / 0.522 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.2949, allocations: 48.39 kB / 0.522 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004088/0.2954, allocations: 148.2 kB / 0.5221 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.2966, allocations: 0.5861 MB / 0.5227 GB, free: 1.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003844/0.297, allocations: 275.8 kB / 0.523 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002006/0.2972, allocations: 74.78 kB / 0.523 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001958/0.2974, allocations: 125.3 kB / 0.5232 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.2977, allocations: 186.2 kB / 0.5233 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.2977, allocations: 11.75 kB / 0.5234 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.2979, allocations: 56.05 kB / 0.5234 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.2981, allocations: 142.1 kB / 0.5235 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.2982, allocations: 161.9 kB / 0.5237 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.2986, allocations: 371 kB / 0.5241 GB, free: 500 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2986, allocations: 0 / 0.5241 GB, free: 500 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2986, allocations: 1.375 kB / 0.5241 GB, free: 500 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2986, allocations: 0 / 0.5241 GB, free: 500 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009053/0.2995, allocations: 0.7464 MB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2996, allocations: 9.406 kB / 0.5248 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.673e-05/0.2997, allocations: 51.38 kB / 0.5248 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005693/0.3002, allocations: 447.7 kB / 0.5253 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3003, allocations: 9.562 kB / 0.5253 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.3003, allocations: 14.12 kB / 0.5253 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.3006, allocations: 141.8 kB / 0.5254 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3006, allocations: 2.531 kB / 0.5254 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.3006, allocations: 9.938 kB / 0.5254 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3006, allocations: 1.969 kB / 0.5254 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.3009, allocations: 89.81 kB / 0.5255 GB, free: 15.42 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009515/0.3018, allocations: 0.6762 MB / 0.5262 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.3021, allocations: 119.5 kB / 0.5263 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3022, allocations: 49.03 kB / 0.5263 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.3022, allocations: 2.219 kB / 0.5263 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.3022, allocations: 41.89 kB / 0.5264 GB, free: 14.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.557e-06/0.3022, allocations: 7.984 kB / 0.5264 GB, free: 14.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001346/0.3036, allocations: 0.5235 MB / 0.5269 GB, free: 14.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.3036, allocations: 87.8 kB / 0.527 GB, free: 14.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/0.3046, allocations: 0.8618 MB / 0.5278 GB, free: 14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.3046, allocations: 30.77 kB / 0.5279 GB, free: 13.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.3048, allocations: 242.5 kB / 0.5281 GB, free: 13.75 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.3049, allocations: 53.52 kB / 0.5281 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.3049, allocations: 34.55 kB / 0.5282 GB, free: 13.67 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3051, allocations: 375.8 kB / 0.5285 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.3053, allocations: 62.77 kB / 0.5286 GB, free: 13.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.3054, allocations: 81.11 kB / 0.5287 GB, free: 13.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.3058, allocations: 156.4 kB / 0.5288 GB, free: 13.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.3058, allocations: 3.938 kB / 0.5288 GB, free: 13.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004448/0.3062, allocations: 233.3 kB / 0.529 GB, free: 13.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.3063, allocations: 6.094 kB / 0.5291 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3063, allocations: 0 / 0.5291 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3063, allocations: 2.094 kB / 0.5291 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.3065, allocations: 43.97 kB / 0.5291 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3065, allocations: 1.125 kB / 0.5291 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.3067, allocations: 10.7 kB / 0.5291 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3067, allocations: 4.531 kB / 0.5291 GB, free: 13.01 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002116/0.3069, allocations: 227.2 kB / 0.5293 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/0.307, allocations: 51.16 kB / 0.5294 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000609/0.3076, allocations: 293.5 kB / 0.5297 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3076, allocations: 2.156 kB / 0.5297 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3076, allocations: 5.062 kB / 0.5297 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3077, allocations: 5.297 kB / 0.5297 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.3087, allocations: 0.7842 MB / 0.5304 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.3088, allocations: 1.5 kB / 0.5304 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.3089, allocations: 39.78 kB / 0.5305 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3089, allocations: 0 / 0.5305 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.309, allocations: 11.05 kB / 0.5305 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.309, allocations: 5.531 kB / 0.5305 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.309, allocations: 0 / 0.5305 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005059/0.3095, allocations: 417.1 kB / 0.5309 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001482/0.3097, allocations: 135.8 kB / 0.531 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.3097, allocations: 5.094 kB / 0.531 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.3099, allocations: 14.77 kB / 0.531 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.31, allocations: 14.7 kB / 0.5311 GB, free: 11.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.31, allocations: 3.594 kB / 0.5311 GB, free: 11.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006327/0.3106, allocations: 0.6268 MB / 0.5317 GB, free: 11.25 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3106, allocations: 0 / 0.5317 GB, free: 11.25 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.311, allocations: 55.8 kB / 0.5317 GB, free: 11.23 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 (16): * Single equations (assignments): 16 * 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.0008576/0.3118, allocations: 407.3 kB / 0.5321 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000403/0.3123, allocations: 161.7 kB / 0.5323 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3123, allocations: 0 / 0.5323 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000178/0.3124, allocations: 90.06 kB / 0.5323 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006074/0.3131, allocations: 87.88 kB / 0.5324 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3143, allocations: 0.884 MB / 0.5333 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.3147, allocations: 0.8672 MB / 0.5341 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.3149, allocations: 84.2 kB / 0.5342 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-05/0.315, allocations: 39.58 kB / 0.5343 GB, free: 9.566 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.315, allocations: 0 / 0.5343 GB, free: 9.566 MB / 398.1 MB Notification: Performance of Templates: time 0.007763/0.3227, allocations: 4.126 MB / 0.5383 GB, free: 7.539 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches