Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 116.6 kB / 17.78 MB, free: 5.262 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.001219/0.001219, allocations: 183.8 kB / 18.72 MB, free: 4.336 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.4/1.4, 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.2136/0.2136, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 67.88 kB / 470.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3218, allocations: 60.82 MB / 0.5185 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003014/0.3249, allocations: 1.643 MB / 0.5201 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007785/0.3257, allocations: 466.8 kB / 0.5205 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.3e-05/0.3258, allocations: 0 / 0.5205 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007036/0.3265, allocations: 451.7 kB / 0.5209 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004743/0.327, allocations: 256.1 kB / 0.5212 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005071/0.3276, allocations: 169 kB / 0.5213 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000448/0.328, allocations: 175.1 kB / 0.5215 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3281, allocations: 25.17 kB / 0.5215 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002854/0.3284, allocations: 114.3 kB / 0.5216 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003615/0.3288, allocations: 221 kB / 0.5218 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.3288, allocations: 3.25 kB / 0.5219 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001716/0.329, allocations: 48.38 kB / 0.5219 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.3292, allocations: 83.41 kB / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.3293, allocations: 105.6 kB / 0.5221 GB, free: 1.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004423/0.3297, allocations: 281.2 kB / 0.5223 GB, free: 1.359 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3297, allocations: 1.188 kB / 0.5223 GB, free: 1.359 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3297, allocations: 0 / 0.5223 GB, free: 1.359 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.3298, allocations: 0 / 0.5223 GB, free: 1.359 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008626/0.3306, allocations: 0.6776 MB / 0.523 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3307, allocations: 8.75 kB / 0.523 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.015e-05/0.3307, allocations: 33.81 kB / 0.523 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/0.3308, allocations: 43.55 kB / 0.5231 GB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002629/0.3311, allocations: 305.6 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.3311, allocations: 3.031 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.805e-05/0.3311, allocations: 4.828 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.3313, allocations: 70.92 kB / 0.5235 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3313, allocations: 5.094 kB / 0.5235 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.3313, allocations: 8.453 kB / 0.5235 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3313, allocations: 1.344 kB / 0.5235 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.3315, allocations: 43 kB / 0.5235 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.332, allocations: 423.1 kB / 0.5239 GB, free: 16 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.3323, allocations: 60.14 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.631e-05/0.3324, allocations: 31.05 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.3324, allocations: 1.156 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.3324, allocations: 32.22 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.3324, allocations: 0 / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001639/0.3341, allocations: 0.5022 MB / 0.5245 GB, free: 15.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.3341, allocations: 53.5 kB / 0.5246 GB, free: 15.67 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.3351, allocations: 0.8582 MB / 0.5254 GB, free: 15.35 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.3352, allocations: 31.08 kB / 0.5254 GB, free: 15.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.3354, allocations: 209.6 kB / 0.5256 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-05/0.3354, allocations: 42.41 kB / 0.5257 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.3355, allocations: 24.5 kB / 0.5257 GB, free: 15.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.3357, allocations: 368.8 kB / 0.5261 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.3358, allocations: 52.17 kB / 0.5261 GB, free: 14.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.336, allocations: 57.12 kB / 0.5262 GB, free: 14.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.3362, allocations: 120.3 kB / 0.5263 GB, free: 14.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3363, allocations: 4 kB / 0.5263 GB, free: 14.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003805/0.3366, allocations: 201.3 kB / 0.5265 GB, free: 14.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.3367, allocations: 4.719 kB / 0.5265 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.3367, allocations: 1.531 kB / 0.5265 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.3367, allocations: 3.938 kB / 0.5265 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.3368, allocations: 27.73 kB / 0.5265 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.3368, allocations: 1.594 kB / 0.5265 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.3369, allocations: 18.2 kB / 0.5265 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3369, allocations: 2.062 kB / 0.5265 GB, free: 14.5 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 (11): * Single equations (assignments): 11 * 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.0002106/0.3372, allocations: 220 kB / 0.5267 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.3372, allocations: 46.95 kB / 0.5268 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004526/0.3377, allocations: 234.2 kB / 0.527 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3377, allocations: 9.656 kB / 0.527 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3377, allocations: 0 / 0.527 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3377, allocations: 7.922 kB / 0.527 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008879/0.3386, allocations: 0.5941 MB / 0.5276 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3386, allocations: 0 / 0.5276 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.3387, allocations: 33.59 kB / 0.5276 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3387, allocations: 1.594 kB / 0.5276 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3388, allocations: 1.062 kB / 0.5276 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3388, allocations: 5.281 kB / 0.5276 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3388, allocations: 1.688 kB / 0.5276 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.3392, allocations: 314.3 kB / 0.5279 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.622e-05/0.3393, allocations: 114.5 kB / 0.5281 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.3393, allocations: 1.781 kB / 0.5281 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3395, allocations: 11.08 kB / 0.5281 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.3395, allocations: 12.61 kB / 0.5281 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.3395, allocations: 3.312 kB / 0.5281 GB, free: 13.28 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006605/0.3402, allocations: 0.6521 MB / 0.5287 GB, free: 12.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3402, allocations: 4 kB / 0.5287 GB, free: 12.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002711/0.3405, allocations: 28.88 kB / 0.5288 GB, free: 12.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002242/0.3427, allocations: 1.201 MB / 0.5299 GB, free: 12.06 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003909/0.3431, allocations: 131.9 kB / 0.53 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3431, allocations: 0 / 0.53 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.3433, allocations: 70.73 kB / 0.5301 GB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.3438, allocations: 26.89 kB / 0.5301 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.3481, allocations: 3.51 MB / 0.5336 GB, free: 9.699 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005148/0.3486, allocations: 0.8347 MB / 0.5344 GB, free: 8.93 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.3487, allocations: 38.59 kB / 0.5344 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.3489, allocations: 122.8 kB / 0.5345 GB, free: 8.801 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3489, allocations: 0 / 0.5345 GB, free: 8.801 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/0.3786, allocations: 6.613 MB / 0.541 GB, free: 4.789 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.465/8.843, allocations: 3.531 kB / 0.541 GB, free: 4.789 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches