Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001194/0.001194, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001238/0.001238, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 74.2 kB / 417.7 MB, free: 19.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1037, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.4095/0.5133, allocations: 150.5 MB / 0.6159 GB, free: 12.72 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007582/0.5209, allocations: 5.589 MB / 0.6213 GB, free: 7.121 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006831/0.5217, allocations: 23.81 kB / 0.6213 GB, free: 7.098 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.5227, allocations: 322 kB / 0.6217 GB, free: 6.781 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.5248, allocations: 0.8589 MB / 0.6225 GB, free: 5.918 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.5276, allocations: 1.035 MB / 0.6235 GB, free: 4.895 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002215/0.5298, allocations: 1.798 MB / 0.6253 GB, free: 3.094 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007634/0.5306, allocations: 463.1 kB / 0.6257 GB, free: 2.633 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001467/0.5321, allocations: 0.7591 MB / 0.6264 GB, free: 1.871 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/0.5334, allocations: 0.7163 MB / 0.6271 GB, free: 1.152 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.5336, allocations: 64 kB / 0.6272 GB, free: 1.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.5349, allocations: 0.5419 MB / 0.6277 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000377/0.5353, allocations: 263.3 kB / 0.628 GB, free: 296 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006327/0.5359, allocations: 398.2 kB / 0.6284 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.5374, allocations: 1.122 MB / 0.6295 GB, free: 14.77 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5374, allocations: 7.938 kB / 0.6295 GB, free: 14.77 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5374, allocations: 0 / 0.6295 GB, free: 14.77 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.5375, allocations: 0 / 0.6295 GB, free: 14.77 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002095/0.5396, allocations: 1.052 MB / 0.6305 GB, free: 13.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5396, allocations: 12.03 kB / 0.6305 GB, free: 13.65 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.5397, allocations: 99.5 kB / 0.6306 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003955/0.5401, allocations: 96.02 kB / 0.6307 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00077/0.5409, allocations: 0.5093 MB / 0.6312 GB, free: 12.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.907e-05/0.541, allocations: 105 kB / 0.6313 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-05/0.5411, allocations: 44.38 kB / 0.6313 GB, free: 12.74 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.5423, allocations: 0.8271 MB / 0.6321 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.5424, allocations: 7.938 kB / 0.6321 GB, free: 11.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.1e-05/0.5425, allocations: 24 kB / 0.6322 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.506e-05/0.5425, allocations: 37.73 kB / 0.6322 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.5436, allocations: 0.6479 MB / 0.6328 GB, free: 11.14 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004328/0.5479, allocations: 3.986 MB / 0.6367 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007993/0.5487, allocations: 424.3 kB / 0.6371 GB, free: 6.445 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003315/0.5491, allocations: 201.4 kB / 0.6373 GB, free: 6.246 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006329/0.5497, allocations: 0.7366 MB / 0.638 GB, free: 5.344 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.5498, allocations: 43.22 kB / 0.6381 GB, free: 5.293 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.515e-06/0.5498, allocations: 0 / 0.6381 GB, free: 5.293 MB / 478.1 MB Notification: Performance of matching and sorting (n=45): time 0.003211/0.553, allocations: 1.537 MB / 0.6396 GB, free: 3.68 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.26e-05/0.5531, allocations: 136.5 kB / 0.6397 GB, free: 3.516 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006701/0.5537, allocations: 0.5693 MB / 0.6403 GB, free: 2.938 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.5538, allocations: 33.7 kB / 0.6403 GB, free: 2.898 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002573/0.5541, allocations: 358.9 kB / 0.6406 GB, free: 2.543 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5542, allocations: 157.8 kB / 0.6408 GB, free: 2.387 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/0.5544, allocations: 146.5 kB / 0.6409 GB, free: 2.238 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.5546, allocations: 374.8 kB / 0.6413 GB, free: 1.863 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.555, allocations: 213.9 kB / 0.6415 GB, free: 1.652 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/0.5557, allocations: 0.5084 MB / 0.642 GB, free: 1.008 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009893/0.5567, allocations: 0.7679 MB / 0.6427 GB, free: 112 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5567, allocations: 0 / 0.6427 GB, free: 112 kB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001675/0.5584, allocations: 0.9103 MB / 0.6436 GB, free: 15.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.5584, allocations: 11.94 kB / 0.6436 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.5584, allocations: 16.09 kB / 0.6437 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.5598, allocations: 288.5 kB / 0.6439 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.5602, allocations: 115.8 kB / 0.644 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009863/0.5612, allocations: 0.8964 MB / 0.6449 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004394/0.5617, allocations: 28 kB / 0.6449 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/0.5618, allocations: 35.98 kB / 0.645 GB, free: 13.78 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003189/0.5621, allocations: 253.4 kB / 0.6452 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/0.5622, allocations: 67.31 kB / 0.6453 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.5635, allocations: 0.7708 MB / 0.646 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.5635, allocations: 4 kB / 0.646 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.5636, allocations: 0 / 0.646 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.5636, allocations: 7.922 kB / 0.6461 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.5656, allocations: 1.416 MB / 0.6474 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5656, allocations: 0 / 0.6474 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.5666, allocations: 195.8 kB / 0.6476 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.246e-05/0.5667, allocations: 33.02 kB / 0.6477 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.5668, allocations: 16 kB / 0.6477 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/0.569, allocations: 2.87 MB / 0.6505 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.569, allocations: 4.031 kB / 0.6505 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.5706, allocations: 1.007 MB / 0.6515 GB, free: 6.68 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.5709, allocations: 204.3 kB / 0.6517 GB, free: 6.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.5711, allocations: 8 kB / 0.6517 GB, free: 6.453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004281/0.5715, allocations: 19.98 kB / 0.6517 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.5716, allocations: 39.83 kB / 0.6517 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.712e-05/0.5717, allocations: 27.98 kB / 0.6517 GB, free: 6.367 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005612/0.5722, allocations: 427 kB / 0.6522 GB, free: 5.949 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5723, allocations: 4 kB / 0.6522 GB, free: 5.945 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000934/0.5732, allocations: 223.9 kB / 0.6524 GB, free: 5.727 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002368/0.5756, allocations: 1.722 MB / 0.6541 GB, free: 3.953 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.577, allocations: 0.6576 MB / 0.6547 GB, free: 3.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.5771, allocations: 4 kB / 0.6547 GB, free: 3.289 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.5781, allocations: 454.3 kB / 0.6551 GB, free: 2.832 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.58, allocations: 368 kB / 0.6555 GB, free: 2.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.5906, allocations: 6.719 MB / 0.662 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006647/0.5913, allocations: 0.9384 MB / 0.663 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0008745/0.5922, allocations: 218.8 kB / 0.6632 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/0.5926, allocations: 235.4 kB / 0.6634 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.5926, allocations: 0 / 0.6634 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05356/0.6462, allocations: 22.3 MB / 0.6852 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.8, allocations: 15.39 kB / 0.6852 GB, free: 3.938 MB / 0.5137 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p