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.001234/0.001234, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001443/0.001443, allocations: 175.1 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.418/1.418, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2365/0.2365, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.91 kB / 470.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3703, allocations: 60.82 MB / 0.5184 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003587/0.3739, allocations: 2.035 MB / 0.5204 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.3758, allocations: 1.053 MB / 0.5215 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001666/0.376, allocations: 7.094 kB / 0.5215 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.3763, allocations: 44.61 kB / 0.5215 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005328/0.3769, allocations: 145.2 kB / 0.5216 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.378, allocations: 428.3 kB / 0.522 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.3784, allocations: 285.2 kB / 0.5223 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.3787, allocations: 71.12 kB / 0.5224 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.3789, allocations: 125.6 kB / 0.5225 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002646/0.3791, allocations: 190.3 kB / 0.5227 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.3792, allocations: 14.84 kB / 0.5227 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.3793, allocations: 52.84 kB / 0.5228 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.3795, allocations: 145.6 kB / 0.5229 GB, free: 0.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.3797, allocations: 176.8 kB / 0.5231 GB, free: 380 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005168/0.3802, allocations: 403.8 kB / 0.5234 GB, free: 212 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3802, allocations: 0 / 0.5234 GB, free: 212 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3802, allocations: 0 / 0.5234 GB, free: 212 kB / 382.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.3802, allocations: 0 / 0.5234 GB, free: 212 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.001205/0.3815, allocations: 0.8145 MB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.3815, allocations: 9.609 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.3816, allocations: 43.97 kB / 0.5243 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.3817, allocations: 61.83 kB / 0.5244 GB, free: 15.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.3823, allocations: 468.7 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.3824, allocations: 6.344 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.54e-05/0.3824, allocations: 10.53 kB / 0.5248 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.3828, allocations: 139.8 kB / 0.5249 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3828, allocations: 3.938 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.3828, allocations: 9.781 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.3828, allocations: 3.547 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003209/0.3832, allocations: 103.5 kB / 0.5251 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.3843, allocations: 0.6823 MB / 0.5257 GB, free: 14.56 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003503/0.3847, allocations: 127.5 kB / 0.5259 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/0.3849, allocations: 60.05 kB / 0.5259 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.3849, allocations: 1.891 kB / 0.5259 GB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.385, allocations: 40.55 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.385, allocations: 1.375 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.002263/0.3872, allocations: 0.688 MB / 0.5266 GB, free: 14.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.3873, allocations: 79.28 kB / 0.5267 GB, free: 14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.3883, allocations: 0.8781 MB / 0.5276 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3884, allocations: 30.98 kB / 0.5276 GB, free: 13.59 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.3886, allocations: 264.4 kB / 0.5278 GB, free: 13.35 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.444e-05/0.3886, allocations: 68.12 kB / 0.5279 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.393e-05/0.3887, allocations: 38.81 kB / 0.5279 GB, free: 13.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.3889, allocations: 368.7 kB / 0.5283 GB, free: 12.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.3892, allocations: 89.2 kB / 0.5284 GB, free: 12.87 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.3895, allocations: 111.9 kB / 0.5285 GB, free: 12.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005784/0.3901, allocations: 205.3 kB / 0.5287 GB, free: 12.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3901, allocations: 5.781 kB / 0.5287 GB, free: 12.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007847/0.3909, allocations: 298.8 kB / 0.529 GB, free: 12.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3909, allocations: 9.75 kB / 0.529 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.391, allocations: 7.875 kB / 0.529 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.391, allocations: 2.125 kB / 0.529 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.3913, allocations: 61.69 kB / 0.529 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3913, allocations: 1.75 kB / 0.529 GB, free: 12.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.3916, allocations: 24.69 kB / 0.5291 GB, free: 12.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.3916, allocations: 10.27 kB / 0.5291 GB, free: 12.5 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.0002227/0.3918, allocations: 203.8 kB / 0.5293 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.392, allocations: 60.84 kB / 0.5293 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008649/0.3928, allocations: 349.1 kB / 0.5297 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3928, allocations: 2.875 kB / 0.5297 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3929, allocations: 1.594 kB / 0.5297 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3929, allocations: 3.984 kB / 0.5297 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.3944, allocations: 0.8836 MB / 0.5305 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3944, allocations: 1.125 kB / 0.5305 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002807/0.3947, allocations: 61.06 kB / 0.5306 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.3947, allocations: 6.125 kB / 0.5306 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.3947, allocations: 2.281 kB / 0.5306 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3947, allocations: 1.188 kB / 0.5306 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3947, allocations: 1.781 kB / 0.5306 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008327/0.3956, allocations: 487.9 kB / 0.5311 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001857/0.3958, allocations: 158.1 kB / 0.5312 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.276e-05/0.3958, allocations: 1.125 kB / 0.5312 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.3962, allocations: 21.42 kB / 0.5312 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.314e-05/0.3962, allocations: 20.94 kB / 0.5313 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/0.3963, allocations: 8.172 kB / 0.5313 GB, free: 10.89 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007767/0.397, allocations: 0.6403 MB / 0.5319 GB, free: 10.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3971, allocations: 0 / 0.5319 GB, free: 10.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004932/0.3976, allocations: 65.64 kB / 0.532 GB, free: 10.58 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.001885/0.3994, allocations: 1.311 MB / 0.5332 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006708/0.4001, allocations: 225.2 kB / 0.5335 GB, free: 9.504 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4001, allocations: 0 / 0.5335 GB, free: 9.504 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003262/0.4005, allocations: 123.4 kB / 0.5336 GB, free: 9.453 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000826/0.4013, allocations: 93.34 kB / 0.5337 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007818/0.4091, allocations: 5.168 MB / 0.5387 GB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/0.4098, allocations: 0.8637 MB / 0.5396 GB, free: 5.699 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002867/0.4101, allocations: 81.03 kB / 0.5396 GB, free: 5.664 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.4104, allocations: 177.3 kB / 0.5398 GB, free: 5.516 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4104, allocations: 0 / 0.5398 GB, free: 5.516 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03495/0.4454, allocations: 10.03 MB / 0.5496 GB, free: 11.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.283/8.729, allocations: 12.31 kB / 0.5496 GB, free: 11.95 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