Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test24",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.001151/0.001151, allocations: 113.2 kB / 17.78 MB, free: 5.129 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.001454/0.001454, allocations: 181 kB / 18.71 MB, free: 4.207 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.359/1.359, 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.208/0.208, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3232, allocations: 60.82 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002451/0.3257, allocations: 1.635 MB / 0.5201 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006754/0.3264, allocations: 454.8 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.3264, allocations: 0.9375 kB / 0.5205 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.3267, allocations: 56.08 kB / 0.5205 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.3269, allocations: 48.23 kB / 0.5206 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003901/0.3273, allocations: 167.3 kB / 0.5207 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.3274, allocations: 77.61 kB / 0.5208 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.3275, allocations: 29.09 kB / 0.5208 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.813e-05/0.3276, allocations: 31.02 kB / 0.5209 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3277, allocations: 40.39 kB / 0.5209 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.3277, allocations: 4.062 kB / 0.5209 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.3279, allocations: 56.11 kB / 0.521 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.318e-05/0.3279, allocations: 20.55 kB / 0.521 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.582e-05/0.328, allocations: 31.56 kB / 0.521 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000222/0.3282, allocations: 107.8 kB / 0.5211 GB, free: 1.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3282, allocations: 5.812 kB / 0.5211 GB, free: 1.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3282, allocations: 0 / 0.5211 GB, free: 1.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3282, allocations: 3.938 kB / 0.5211 GB, free: 1.578 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.0005121/0.3288, allocations: 412.6 kB / 0.5215 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.3288, allocations: 9.281 kB / 0.5215 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.08e-05/0.3289, allocations: 38.11 kB / 0.5216 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.3289, allocations: 17.69 kB / 0.5216 GB, free: 1.121 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.3291, allocations: 198.5 kB / 0.5218 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3291, allocations: 13.33 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.3291, allocations: 7.391 kB / 0.5218 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.3293, allocations: 62.48 kB / 0.5219 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3293, allocations: 4.547 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3293, allocations: 5.094 kB / 0.5219 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.3294, allocations: 5.312 kB / 0.5219 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.3295, allocations: 42.31 kB / 0.5219 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.3299, allocations: 316.1 kB / 0.5222 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.3302, allocations: 60.3 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.105e-05/0.3303, allocations: 26.05 kB / 0.5223 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.3303, allocations: 5.219 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.3303, allocations: 40.33 kB / 0.5223 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3304, allocations: 0 / 0.5223 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001529/0.3319, allocations: 429.7 kB / 0.5227 GB, free: 316 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.3319, allocations: 52.5 kB / 0.5228 GB, free: 252 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.3321, allocations: 176.8 kB / 0.523 GB, free: 120 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.3321, allocations: 31.02 kB / 0.523 GB, free: 84 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.268e-05/0.3322, allocations: 106.9 kB / 0.5231 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.3322, allocations: 40.05 kB / 0.5231 GB, free: 15.95 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.637e-05/0.3323, allocations: 23.39 kB / 0.5232 GB, free: 15.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3324, allocations: 325.8 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.3325, allocations: 55.19 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3327, allocations: 53.25 kB / 0.5236 GB, free: 15.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.333, allocations: 122 kB / 0.5237 GB, free: 15.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.333, allocations: 1.125 kB / 0.5237 GB, free: 15.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003459/0.3333, allocations: 169 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3334, allocations: 9.406 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3334, allocations: 0.5625 kB / 0.5239 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3334, allocations: 5.125 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.3335, allocations: 25.47 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.3335, allocations: 0.5625 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.8e-05/0.3336, allocations: 14.47 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.3336, allocations: 2.656 kB / 0.5239 GB, free: 15.45 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.0001009/0.3337, allocations: 129.8 kB / 0.524 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.3338, allocations: 13.69 kB / 0.524 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.3342, allocations: 187.7 kB / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.3342, allocations: 1.438 kB / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3342, allocations: 0 / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3343, allocations: 0.7031 kB / 0.5242 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000792/0.3351, allocations: 0.503 MB / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3351, allocations: 2.016 kB / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.3352, allocations: 24.91 kB / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3352, allocations: 1.594 kB / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.3352, allocations: 3.172 kB / 0.5247 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3352, allocations: 5.062 kB / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3352, allocations: 1.438 kB / 0.5248 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004165/0.3357, allocations: 275.2 kB / 0.525 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.3357, allocations: 94.47 kB / 0.5251 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.3358, allocations: 2.5 kB / 0.5251 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3359, allocations: 13.89 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.3359, allocations: 7 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.824e-06/0.3359, allocations: 4.172 kB / 0.5251 GB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001118/0.3361, allocations: 138.3 kB / 0.5253 GB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3361, allocations: 0 / 0.5253 GB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002753/0.3363, allocations: 33.12 kB / 0.5253 GB, free: 14.42 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.001541/0.3379, allocations: 1.149 MB / 0.5264 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003552/0.3383, allocations: 125.4 kB / 0.5265 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3383, allocations: 5.375 kB / 0.5265 GB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.3384, allocations: 69.86 kB / 0.5266 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.3388, allocations: 19.56 kB / 0.5266 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.3411, allocations: 1.868 MB / 0.5285 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.3414, allocations: 0.7212 MB / 0.5292 GB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.3415, allocations: 34.23 kB / 0.5292 GB, free: 11.36 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.185e-05/0.3416, allocations: 35.27 kB / 0.5292 GB, free: 11.34 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3416, allocations: 0 / 0.5292 GB, free: 11.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01961/0.3612, allocations: 3.379 MB / 0.5325 GB, free: 9.629 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.589/7.951, allocations: 10.69 kB / 0.5325 GB, free: 9.625 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_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_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches