Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",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.00154/0.00154, allocations: 112.8 kB / 17.78 MB, free: 5.277 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.001646/0.001646, allocations: 180.9 kB / 18.71 MB, free: 4.363 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.438/1.438, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.2209/0.2209, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002875/0.002875, allocations: 63.89 kB / 470.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3536, allocations: 60.83 MB / 0.5184 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.002791/0.3564, allocations: 2.031 MB / 0.5204 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.358, allocations: 1.054 MB / 0.5215 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.3581, allocations: 2.344 kB / 0.5215 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.3584, allocations: 47.34 kB / 0.5215 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004041/0.3588, allocations: 150.8 kB / 0.5216 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009851/0.3598, allocations: 424.5 kB / 0.5221 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.3602, allocations: 282.7 kB / 0.5223 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.3604, allocations: 67.52 kB / 0.5224 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.3606, allocations: 129.5 kB / 0.5225 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002671/0.3609, allocations: 190.5 kB / 0.5227 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.579e-05/0.361, allocations: 13.59 kB / 0.5227 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.3611, allocations: 53.55 kB / 0.5228 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.3613, allocations: 142 kB / 0.5229 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.3614, allocations: 176 kB / 0.5231 GB, free: 400 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004167/0.3619, allocations: 406.3 kB / 0.5234 GB, free: 228 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3619, allocations: 1.984 kB / 0.5234 GB, free: 228 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3619, allocations: 0 / 0.5234 GB, free: 228 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.3619, allocations: 0 / 0.5234 GB, free: 228 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.001039/0.3629, allocations: 0.8101 MB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.363, allocations: 8.844 kB / 0.5242 GB, free: 15.57 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.363, allocations: 49.05 kB / 0.5243 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.04e-05/0.3631, allocations: 57.16 kB / 0.5243 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005529/0.3637, allocations: 464.8 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.3637, allocations: 8.406 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.755e-05/0.3638, allocations: 11.12 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.3641, allocations: 138.8 kB / 0.5249 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.3641, allocations: 3.953 kB / 0.5249 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.3642, allocations: 9.75 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.3642, allocations: 3.281 kB / 0.525 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003075/0.3645, allocations: 111.8 kB / 0.5251 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.3655, allocations: 0.6815 MB / 0.5257 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.3658, allocations: 124.2 kB / 0.5259 GB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.366, allocations: 59.89 kB / 0.5259 GB, free: 14.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.366, allocations: 10.86 kB / 0.5259 GB, free: 14.46 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.3661, allocations: 39.98 kB / 0.526 GB, free: 14.42 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.3661, allocations: 0.8438 kB / 0.526 GB, free: 14.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002001/0.3681, allocations: 0.6762 MB / 0.5266 GB, free: 14.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.3682, allocations: 80.27 kB / 0.5267 GB, free: 14.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.3692, allocations: 0.876 MB / 0.5275 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.3692, allocations: 29.7 kB / 0.5276 GB, free: 13.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.3695, allocations: 261.6 kB / 0.5278 GB, free: 13.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.174e-05/0.3695, allocations: 78.98 kB / 0.5279 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.944e-05/0.3696, allocations: 38.58 kB / 0.5279 GB, free: 13.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3698, allocations: 377.2 kB / 0.5283 GB, free: 12.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.3701, allocations: 89.62 kB / 0.5284 GB, free: 12.9 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.3704, allocations: 108.7 kB / 0.5285 GB, free: 12.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000534/0.3709, allocations: 204.5 kB / 0.5287 GB, free: 12.74 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3709, allocations: 4.219 kB / 0.5287 GB, free: 12.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007445/0.3717, allocations: 305 kB / 0.529 GB, free: 12.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3717, allocations: 8.656 kB / 0.529 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3717, allocations: 1 kB / 0.529 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.3717, allocations: 1.344 kB / 0.529 GB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002837/0.372, allocations: 53.95 kB / 0.529 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.372, allocations: 5.312 kB / 0.529 GB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.3723, allocations: 26.12 kB / 0.5291 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.3723, allocations: 9.281 kB / 0.5291 GB, free: 12.54 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 (20): * Single equations (assignments): 20 * 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.0002302/0.3725, allocations: 215.9 kB / 0.5293 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.3726, allocations: 56.91 kB / 0.5293 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008412/0.3735, allocations: 353.6 kB / 0.5297 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3735, allocations: 2.375 kB / 0.5297 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.3735, allocations: 1.219 kB / 0.5297 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3735, allocations: 0 / 0.5297 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.375, allocations: 0.8805 MB / 0.5305 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.375, allocations: 0 / 0.5305 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002511/0.3753, allocations: 54.3 kB / 0.5306 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.3753, allocations: 5.406 kB / 0.5306 GB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.3753, allocations: 10.39 kB / 0.5306 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/0.3753, allocations: 5.438 kB / 0.5306 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3753, allocations: 0 / 0.5306 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008342/0.3762, allocations: 482.9 kB / 0.5311 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.3764, allocations: 150.6 kB / 0.5312 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.3764, allocations: 1.438 kB / 0.5312 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.3767, allocations: 29.5 kB / 0.5312 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.3768, allocations: 23.31 kB / 0.5313 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.3768, allocations: 5.812 kB / 0.5313 GB, free: 10.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007828/0.3776, allocations: 0.641 MB / 0.5319 GB, free: 10.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3776, allocations: 0 / 0.5319 GB, free: 10.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.378, allocations: 63.78 kB / 0.532 GB, free: 10.62 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 (20): * Single equations (assignments): 20 * 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.002436/0.3804, allocations: 1.309 MB / 0.5332 GB, free: 9.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000683/0.3811, allocations: 236 kB / 0.5335 GB, free: 9.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3812, allocations: 4.906 kB / 0.5335 GB, free: 9.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.3815, allocations: 118.5 kB / 0.5336 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007394/0.3822, allocations: 86.31 kB / 0.5337 GB, free: 9.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007426/0.3897, allocations: 5.16 MB / 0.5387 GB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005378/0.3903, allocations: 0.8638 MB / 0.5395 GB, free: 5.742 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002516/0.3905, allocations: 89.62 kB / 0.5396 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002595/0.3908, allocations: 177.7 kB / 0.5398 GB, free: 5.551 MB / 398.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3908, allocations: 0 / 0.5398 GB, free: 5.551 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03593/0.4267, allocations: 10.03 MB / 0.5496 GB, free: 11.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.817/9.244, allocations: 9.016 kB / 0.5496 GB, free: 11.97 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches