Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test25",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.001294/0.001295, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001279/0.001279, allocations: 183 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.414/1.414, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.217/0.217, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 67.89 kB / 470.1 MB, free: 13.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3867, allocations: 60.82 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.002768/0.3896, allocations: 1.65 MB / 0.5201 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007159/0.3903, allocations: 450.6 kB / 0.5205 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.723e-05/0.3904, allocations: 5.344 kB / 0.5205 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.3907, allocations: 49.75 kB / 0.5205 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.3909, allocations: 51.78 kB / 0.5206 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.3913, allocations: 171.7 kB / 0.5208 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.3914, allocations: 82.22 kB / 0.5208 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3915, allocations: 17.86 kB / 0.5209 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.501e-05/0.3916, allocations: 34.41 kB / 0.5209 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001067/0.3917, allocations: 42.62 kB / 0.5209 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.3917, allocations: 4.156 kB / 0.5209 GB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.3918, allocations: 55.23 kB / 0.521 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.297e-05/0.3919, allocations: 25.66 kB / 0.521 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.87e-05/0.3919, allocations: 31.3 kB / 0.521 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.3921, allocations: 111.9 kB / 0.5211 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3922, allocations: 1.062 kB / 0.5211 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3922, allocations: 0 / 0.5211 GB, free: 1.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.3922, allocations: 0 / 0.5211 GB, free: 1.555 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.0004581/0.3926, allocations: 414.5 kB / 0.5215 GB, free: 1.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3927, allocations: 10.28 kB / 0.5216 GB, free: 1.148 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.551e-05/0.3927, allocations: 45.8 kB / 0.5216 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.3928, allocations: 13.47 kB / 0.5216 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.3929, allocations: 193.8 kB / 0.5218 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3929, allocations: 6.25 kB / 0.5218 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.393, allocations: 10.61 kB / 0.5218 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.3931, allocations: 62.7 kB / 0.5219 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.3932, allocations: 5.906 kB / 0.5219 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.3932, allocations: 0 / 0.5219 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3932, allocations: 1.031 kB / 0.5219 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.3933, allocations: 47.47 kB / 0.5219 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.3937, allocations: 310.5 kB / 0.5222 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.394, allocations: 64.89 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.626e-05/0.394, allocations: 30.7 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.3941, allocations: 1.797 kB / 0.5223 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.3941, allocations: 32.39 kB / 0.5223 GB, free: 444 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3941, allocations: 0 / 0.5223 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001591/0.3957, allocations: 429.4 kB / 0.5228 GB, free: 304 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.3957, allocations: 60.41 kB / 0.5228 GB, free: 232 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.3959, allocations: 174.8 kB / 0.523 GB, free: 104 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.3959, allocations: 31.2 kB / 0.523 GB, free: 68 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/0.396, allocations: 103 kB / 0.5231 GB, free: 15.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.396, allocations: 39.86 kB / 0.5231 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.3961, allocations: 23.19 kB / 0.5232 GB, free: 15.92 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3963, allocations: 322 kB / 0.5235 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001473/0.3964, allocations: 58.67 kB / 0.5235 GB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001355/0.3966, allocations: 52.61 kB / 0.5236 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002927/0.3969, allocations: 122.9 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.3969, allocations: 0 / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003696/0.3972, allocations: 174.3 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3973, allocations: 15.94 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3973, allocations: 0 / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3973, allocations: 2.047 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3974, allocations: 25.64 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3974, allocations: 0 / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.583e-05/0.3975, allocations: 9.531 kB / 0.5239 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.3975, allocations: 3.375 kB / 0.5239 GB, free: 15.44 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.0001205/0.3977, allocations: 130.7 kB / 0.524 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.3977, allocations: 13.36 kB / 0.5241 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004369/0.3981, allocations: 193.7 kB / 0.5242 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3982, allocations: 1.875 kB / 0.5242 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3982, allocations: 0.5625 kB / 0.5242 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.3982, allocations: 6.844 kB / 0.5242 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007716/0.399, allocations: 0.4948 MB / 0.5247 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.399, allocations: 4.656 kB / 0.5247 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.912e-05/0.3991, allocations: 25.52 kB / 0.5248 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3991, allocations: 1.938 kB / 0.5248 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3991, allocations: 8.25 kB / 0.5248 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3991, allocations: 0 / 0.5248 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3991, allocations: 0.6094 kB / 0.5248 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.3996, allocations: 275.3 kB / 0.525 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.871e-05/0.3997, allocations: 94.19 kB / 0.5251 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.3997, allocations: 6.766 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.767e-05/0.3998, allocations: 8.938 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.3999, allocations: 12.77 kB / 0.5251 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.3999, allocations: 4.25 kB / 0.5252 GB, free: 14.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.4, allocations: 133.1 kB / 0.5253 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4, allocations: 0 / 0.5253 GB, free: 14.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.4003, allocations: 35.61 kB / 0.5253 GB, free: 14.4 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.002378/0.4027, allocations: 1.144 MB / 0.5264 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003839/0.4031, allocations: 132.3 kB / 0.5266 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4031, allocations: 0 / 0.5266 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.4033, allocations: 69.05 kB / 0.5266 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.4037, allocations: 22.55 kB / 0.5266 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.4064, allocations: 1.87 MB / 0.5285 GB, free: 12.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004279/0.4068, allocations: 0.7153 MB / 0.5292 GB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.4069, allocations: 34.95 kB / 0.5292 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.564e-05/0.407, allocations: 35.67 kB / 0.5292 GB, free: 11.32 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.407, allocations: 3.938 kB / 0.5292 GB, free: 11.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.4337, allocations: 3.378 MB / 0.5325 GB, free: 9.602 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.97/8.403, allocations: 8.391 kB / 0.5325 GB, free: 9.598 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_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_Test25.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches