Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001154, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2254/0.2254, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 83.86 kB / 480.8 MB, free: 4.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4228, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003577/0.4264, allocations: 2.038 MB / 0.5325 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.4286, allocations: 1.358 MB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.4287, allocations: 2.75 kB / 0.5338 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.429, allocations: 49.03 kB / 0.5339 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004764/0.4295, allocations: 218.6 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.4309, allocations: 0.5991 MB / 0.5347 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000418/0.4313, allocations: 323.1 kB / 0.535 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001941/0.4315, allocations: 69.97 kB / 0.5351 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002413/0.4317, allocations: 136.6 kB / 0.5352 GB, free: 9.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002516/0.432, allocations: 185.9 kB / 0.5354 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.4321, allocations: 21.97 kB / 0.5354 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.4322, allocations: 68.56 kB / 0.5355 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.4324, allocations: 144.2 kB / 0.5356 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.4326, allocations: 174.6 kB / 0.5358 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005369/0.4331, allocations: 422.4 kB / 0.5362 GB, free: 9.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.4331, allocations: 0 / 0.5362 GB, free: 9.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4331, allocations: 0 / 0.5362 GB, free: 9.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.4331, allocations: 0 / 0.5362 GB, free: 9.285 MB / 398.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.001157/0.4343, allocations: 0.8275 MB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.4344, allocations: 13.06 kB / 0.537 GB, free: 8.555 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.4344, allocations: 43.33 kB / 0.537 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/0.4347, allocations: 77.31 kB / 0.5371 GB, free: 8.469 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007506/0.4355, allocations: 494.7 kB / 0.5376 GB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4355, allocations: 8.219 kB / 0.5376 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.4356, allocations: 15.28 kB / 0.5376 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003163/0.4359, allocations: 145.4 kB / 0.5377 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.4359, allocations: 0 / 0.5377 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.4359, allocations: 6 kB / 0.5377 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.436, allocations: 1.812 kB / 0.5377 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000244/0.4362, allocations: 97.17 kB / 0.5378 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.4373, allocations: 0.7082 MB / 0.5385 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.4375, allocations: 117.3 kB / 0.5386 GB, free: 7.246 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.4377, allocations: 45.34 kB / 0.5387 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.4377, allocations: 6.844 kB / 0.5387 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.4377, allocations: 36.12 kB / 0.5387 GB, free: 7.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.263e-06/0.4377, allocations: 0 / 0.5387 GB, free: 7.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001566/0.4393, allocations: 0.5684 MB / 0.5393 GB, free: 6.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/0.4394, allocations: 88.05 kB / 0.5394 GB, free: 6.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.4405, allocations: 0.9255 MB / 0.5403 GB, free: 6.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.4405, allocations: 25.7 kB / 0.5403 GB, free: 6.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.4408, allocations: 278.2 kB / 0.5405 GB, free: 6.016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.4409, allocations: 62.19 kB / 0.5406 GB, free: 5.961 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/0.4409, allocations: 33.67 kB / 0.5406 GB, free: 5.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4411, allocations: 319.6 kB / 0.5409 GB, free: 5.617 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.4413, allocations: 66.42 kB / 0.541 GB, free: 5.586 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/0.4415, allocations: 80 kB / 0.5411 GB, free: 5.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/0.4418, allocations: 159.5 kB / 0.5412 GB, free: 5.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.4418, allocations: 5.438 kB / 0.5412 GB, free: 5.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005416/0.4424, allocations: 251.7 kB / 0.5415 GB, free: 5.312 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.4424, allocations: 7.781 kB / 0.5415 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4424, allocations: 0 / 0.5415 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.4425, allocations: 2.312 kB / 0.5415 GB, free: 5.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.4427, allocations: 40.06 kB / 0.5415 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.4427, allocations: 1.156 kB / 0.5415 GB, free: 5.301 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.4428, allocations: 11.77 kB / 0.5415 GB, free: 5.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.4429, allocations: 8.844 kB / 0.5415 GB, free: 5.293 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 (16): * Single equations (assignments): 16 * 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.0002492/0.4431, allocations: 223.1 kB / 0.5418 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.4433, allocations: 62.3 kB / 0.5418 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006572/0.4439, allocations: 284.3 kB / 0.5421 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.4439, allocations: 6.25 kB / 0.5421 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4439, allocations: 1.125 kB / 0.5421 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.444, allocations: 0 / 0.5421 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001267/0.4452, allocations: 0.8227 MB / 0.5429 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4452, allocations: 1.062 kB / 0.5429 GB, free: 4.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.4454, allocations: 43.16 kB / 0.5429 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.4454, allocations: 1.031 kB / 0.5429 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.4454, allocations: 2.156 kB / 0.5429 GB, free: 4.262 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4455, allocations: 6.031 kB / 0.543 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4455, allocations: 0 / 0.543 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006059/0.4461, allocations: 429.5 kB / 0.5434 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.4463, allocations: 162.9 kB / 0.5435 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.4463, allocations: 1.125 kB / 0.5435 GB, free: 3.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001997/0.4465, allocations: 19.92 kB / 0.5435 GB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.4466, allocations: 10.7 kB / 0.5435 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.4466, allocations: 4.406 kB / 0.5436 GB, free: 3.773 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008619/0.4475, allocations: 0.6854 MB / 0.5442 GB, free: 3.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4475, allocations: 0 / 0.5442 GB, free: 3.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003643/0.4479, allocations: 59.92 kB / 0.5443 GB, free: 3.336 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 (16): * Single equations (assignments): 16 * 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.001778/0.4497, allocations: 1.249 MB / 0.5455 GB, free: 2.195 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004553/0.4501, allocations: 155.8 kB / 0.5456 GB, free: 2.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4501, allocations: 3.938 kB / 0.5457 GB, free: 2.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.4503, allocations: 91.88 kB / 0.5457 GB, free: 1.949 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006413/0.451, allocations: 86.95 kB / 0.5458 GB, free: 1.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006714/0.4577, allocations: 5.204 MB / 0.5509 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.4583, allocations: 0.8801 MB / 0.5518 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002644/0.4586, allocations: 91.22 kB / 0.5519 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.4589, allocations: 183.4 kB / 0.552 GB, free: 11.4 MB / 414.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4589, allocations: 4 kB / 0.552 GB, free: 11.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.4924, allocations: 10.12 MB / 0.5619 GB, free: 1.359 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.485/8.977, allocations: 8.828 kB / 0.5619 GB, free: 1.352 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches