Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",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.001463/0.001463, allocations: 117.2 kB / 17.78 MB, free: 5.254 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.001194/0.001194, allocations: 185 kB / 18.72 MB, free: 4.332 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.433/1.433, 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.2193/0.2193, allocations: 44.2 MB / 336.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 67.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.371, allocations: 60.81 MB / 0.5185 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.002707/0.3738, allocations: 1.641 MB / 0.5201 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006302/0.3745, allocations: 430.9 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.3745, allocations: 1.094 kB / 0.5205 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006104/0.3751, allocations: 450.4 kB / 0.5209 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.3755, allocations: 252.8 kB / 0.5211 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.3759, allocations: 136 kB / 0.5213 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.3761, allocations: 164.9 kB / 0.5214 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.918e-05/0.3763, allocations: 19.19 kB / 0.5214 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001284/0.3764, allocations: 108.2 kB / 0.5216 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.3766, allocations: 214.2 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.3767, allocations: 3.469 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.3768, allocations: 51.14 kB / 0.5218 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.232e-05/0.3769, allocations: 81.42 kB / 0.5219 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.3769, allocations: 113.8 kB / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003133/0.3773, allocations: 269.4 kB / 0.5223 GB, free: 1.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3773, allocations: 0 / 0.5223 GB, free: 1.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3773, allocations: 0 / 0.5223 GB, free: 1.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.3773, allocations: 1.062 kB / 0.5223 GB, free: 1.414 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.0005686/0.3779, allocations: 0.6631 MB / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3779, allocations: 9.75 kB / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.712e-05/0.3779, allocations: 33.67 kB / 0.5229 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.454e-05/0.378, allocations: 42.09 kB / 0.523 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.3782, allocations: 309.1 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3782, allocations: 1.781 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.3782, allocations: 2.812 kB / 0.5233 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.3784, allocations: 58.66 kB / 0.5233 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3784, allocations: 5.375 kB / 0.5233 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.3784, allocations: 0 / 0.5233 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3784, allocations: 5.531 kB / 0.5233 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.88e-05/0.3785, allocations: 34.59 kB / 0.5234 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.3789, allocations: 399.3 kB / 0.5238 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.985e-05/0.379, allocations: 42.84 kB / 0.5238 GB, free: 56 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.379, allocations: 20.52 kB / 0.5238 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.3791, allocations: 4 kB / 0.5238 GB, free: 40 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.3791, allocations: 32.86 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.3791, allocations: 0 / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009306/0.38, allocations: 309.8 kB / 0.5242 GB, free: 15.85 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.3801, allocations: 60.72 kB / 0.5242 GB, free: 15.78 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008783/0.381, allocations: 0.8589 MB / 0.525 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.381, allocations: 26.36 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.3812, allocations: 222.9 kB / 0.5253 GB, free: 15.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.3813, allocations: 29.61 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.3813, allocations: 20.55 kB / 0.5253 GB, free: 15.21 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3815, allocations: 359.1 kB / 0.5257 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.68e-05/0.3816, allocations: 34.66 kB / 0.5257 GB, free: 14.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.132e-05/0.3817, allocations: 30.48 kB / 0.5257 GB, free: 14.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.3818, allocations: 61.52 kB / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.3818, allocations: 0 / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002387/0.3821, allocations: 131.7 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3821, allocations: 4.156 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3821, allocations: 1.5 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.3821, allocations: 4.609 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3822, allocations: 24.38 kB / 0.526 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3823, allocations: 2.094 kB / 0.526 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.3823, allocations: 13.36 kB / 0.526 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.3823, allocations: 1.984 kB / 0.526 GB, free: 14.74 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 (8): * Single equations (assignments): 8 * 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.0002007/0.3825, allocations: 212.5 kB / 0.5262 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.3826, allocations: 44.09 kB / 0.5262 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.3829, allocations: 163.8 kB / 0.5264 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3829, allocations: 5.312 kB / 0.5264 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.383, allocations: 4.781 kB / 0.5264 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.383, allocations: 3.938 kB / 0.5264 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006683/0.3836, allocations: 0.4992 MB / 0.5269 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3837, allocations: 9.531 kB / 0.5269 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.753e-05/0.3837, allocations: 21.33 kB / 0.5269 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.3837, allocations: 1.094 kB / 0.5269 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.445e-06/0.3837, allocations: 1.094 kB / 0.5269 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3838, allocations: 1.5 kB / 0.5269 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3838, allocations: 0 / 0.5269 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.3841, allocations: 246.8 kB / 0.5271 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.113e-05/0.3842, allocations: 118.2 kB / 0.5273 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3842, allocations: 1.375 kB / 0.5273 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.3843, allocations: 11.77 kB / 0.5273 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.3843, allocations: 3.344 kB / 0.5273 GB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.3843, allocations: 7.25 kB / 0.5273 GB, free: 13.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006285/0.385, allocations: 0.6518 MB / 0.5279 GB, free: 13.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.385, allocations: 1.062 kB / 0.5279 GB, free: 13.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002743/0.3853, allocations: 25.41 kB / 0.5279 GB, free: 13.39 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 (8): * Single equations (assignments): 8 * 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.002093/0.3874, allocations: 1.134 MB / 0.529 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.3876, allocations: 62.52 kB / 0.5291 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3876, allocations: 1.469 kB / 0.5291 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/0.3877, allocations: 32.8 kB / 0.5291 GB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.3881, allocations: 36.2 kB / 0.5292 GB, free: 12.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.3918, allocations: 3.284 MB / 0.5324 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.3923, allocations: 0.832 MB / 0.5332 GB, free: 9.574 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.001e-05/0.3924, allocations: 19.47 kB / 0.5332 GB, free: 9.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.3925, allocations: 107.1 kB / 0.5333 GB, free: 9.465 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3925, allocations: 3.938 kB / 0.5333 GB, free: 9.461 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02932/0.4219, allocations: 6.28 MB / 0.5394 GB, free: 6.281 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.587/9.009, allocations: 8.219 kB / 0.5395 GB, free: 6.281 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_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_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches