Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.0016/0.0016, allocations: 112.8 kB / 17.77 MB, free: 5.383 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.001828/0.001828, allocations: 184.8 kB / 18.71 MB, free: 4.457 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.49/1.49, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2146/0.2146, allocations: 44.19 MB / 336.7 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 75.88 kB / 470.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3268, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002632/0.3295, allocations: 1.662 MB / 0.5201 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007344/0.3302, allocations: 476.2 kB / 0.5205 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.3303, allocations: 1.062 kB / 0.5205 GB, free: 1.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.3305, allocations: 31.23 kB / 0.5205 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.3307, allocations: 44.27 kB / 0.5206 GB, free: 1.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.3311, allocations: 186.2 kB / 0.5208 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.3313, allocations: 88.2 kB / 0.5208 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3314, allocations: 20.53 kB / 0.5209 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.942e-05/0.3315, allocations: 33.77 kB / 0.5209 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.426e-05/0.3316, allocations: 40.05 kB / 0.5209 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.3316, allocations: 9.938 kB / 0.5209 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.3317, allocations: 55.16 kB / 0.521 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.65e-05/0.3318, allocations: 21.45 kB / 0.521 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.118e-05/0.3318, allocations: 34.08 kB / 0.5211 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002243/0.332, allocations: 125.8 kB / 0.5212 GB, free: 1.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3321, allocations: 4 kB / 0.5212 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3321, allocations: 0 / 0.5212 GB, free: 1.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3321, allocations: 1.469 kB / 0.5212 GB, free: 1.504 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005299/0.3326, allocations: 427.7 kB / 0.5216 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.3327, allocations: 8.656 kB / 0.5216 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.3327, allocations: 38.12 kB / 0.5216 GB, free: 1.055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.3327, allocations: 8.984 kB / 0.5216 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.3329, allocations: 202.7 kB / 0.5218 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3329, allocations: 9.312 kB / 0.5218 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.333, allocations: 7.828 kB / 0.5218 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.3332, allocations: 87.39 kB / 0.5219 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3333, allocations: 4 kB / 0.5219 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3333, allocations: 1.766 kB / 0.5219 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3333, allocations: 1.125 kB / 0.5219 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.3336, allocations: 80.81 kB / 0.522 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005104/0.3341, allocations: 337.4 kB / 0.5223 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.3344, allocations: 81.7 kB / 0.5224 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.3345, allocations: 49.97 kB / 0.5225 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.3346, allocations: 0 / 0.5225 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.3346, allocations: 32.66 kB / 0.5225 GB, free: 360 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.3346, allocations: 0 / 0.5225 GB, free: 360 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001605/0.3362, allocations: 414.5 kB / 0.5229 GB, free: 240 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.3363, allocations: 82.17 kB / 0.523 GB, free: 140 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.3364, allocations: 150.4 kB / 0.5231 GB, free: 20 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.3364, allocations: 34.34 kB / 0.5231 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.3365, allocations: 99.11 kB / 0.5232 GB, free: 15.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.3365, allocations: 29.89 kB / 0.5233 GB, free: 15.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.3366, allocations: 31.06 kB / 0.5233 GB, free: 15.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3367, allocations: 321.9 kB / 0.5236 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000315/0.3371, allocations: 80.12 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.3374, allocations: 100.1 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006152/0.338, allocations: 166.5 kB / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.338, allocations: 0 / 0.5239 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007056/0.3387, allocations: 209.2 kB / 0.5241 GB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3388, allocations: 13.69 kB / 0.5241 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3388, allocations: 0.6094 kB / 0.5241 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3388, allocations: 2.094 kB / 0.5241 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.339, allocations: 39.97 kB / 0.5242 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.339, allocations: 4.594 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.3392, allocations: 27.66 kB / 0.5242 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.3392, allocations: 2.188 kB / 0.5242 GB, free: 15.34 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 (10): * Single equations (assignments): 10 * 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.0001078/0.3393, allocations: 126.7 kB / 0.5243 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.3394, allocations: 13.8 kB / 0.5244 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007395/0.3401, allocations: 223.5 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3401, allocations: 1.688 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3402, allocations: 3.938 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.3402, allocations: 0.5156 kB / 0.5246 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.3412, allocations: 0.5171 MB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3412, allocations: 0 / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.3414, allocations: 34.69 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.3414, allocations: 2.062 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.3414, allocations: 3.031 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3414, allocations: 3.938 kB / 0.5251 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3414, allocations: 4.656 kB / 0.5251 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007154/0.3422, allocations: 301.2 kB / 0.5254 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.3422, allocations: 94.52 kB / 0.5255 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3423, allocations: 8.5 kB / 0.5255 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.3425, allocations: 27.59 kB / 0.5255 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.3425, allocations: 13.53 kB / 0.5255 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.3425, allocations: 1.375 kB / 0.5255 GB, free: 14.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.3426, allocations: 119.5 kB / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3426, allocations: 0 / 0.5257 GB, free: 14.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.3429, allocations: 37.45 kB / 0.5257 GB, free: 14.35 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 (9): * Single equations (assignments): 9 * 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.002522/0.3454, allocations: 1.175 MB / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.3462, allocations: 173.3 kB / 0.527 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3462, allocations: 5.5 kB / 0.527 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.3465, allocations: 87.19 kB / 0.5271 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.3469, allocations: 28.69 kB / 0.5271 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.35, allocations: 1.891 MB / 0.529 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.3503, allocations: 0.7125 MB / 0.5297 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000131/0.3505, allocations: 29.64 kB / 0.5297 GB, free: 11.19 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/0.3506, allocations: 31.61 kB / 0.5297 GB, free: 11.16 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3506, allocations: 384 / 0.5297 GB, free: 11.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.3763, allocations: 3.92 MB / 0.5336 GB, free: 9.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.179/8.556, allocations: 18.66 kB / 0.5336 GB, free: 8.996 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches