Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 115.5 kB / 18.45 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00219/0.00219, allocations: 215.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 207.6 MB / 231.8 MB, free: 4.086 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 56.39 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09762/0.09934, allocations: 49.13 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.4178/0.5171, allocations: 151.3 MB / 0.53 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.5191, allocations: 1.493 MB / 0.5314 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.5192, allocations: 8 kB / 0.5315 GB, free: 9.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003529/0.5195, allocations: 51.73 kB / 0.5315 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.5207, allocations: 386 kB / 0.5319 GB, free: 9.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005281/0.5212, allocations: 175.4 kB / 0.532 GB, free: 9.312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.5215, allocations: 191.2 kB / 0.5322 GB, free: 9.125 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.5215, allocations: 4 kB / 0.5322 GB, free: 9.121 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.5217, allocations: 83.69 kB / 0.5323 GB, free: 9.039 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.5218, allocations: 63.75 kB / 0.5324 GB, free: 8.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.5218, allocations: 8 kB / 0.5324 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.523, allocations: 0.5885 MB / 0.533 GB, free: 8.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.523, allocations: 31.89 kB / 0.533 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.945e-05/0.5231, allocations: 47.8 kB / 0.533 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006325/0.5237, allocations: 397.2 kB / 0.5334 GB, free: 7.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.5237, allocations: 0 / 0.5334 GB, free: 7.914 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5237, allocations: 0 / 0.5334 GB, free: 7.914 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.5238, allocations: 0 / 0.5334 GB, free: 7.914 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0006642/0.5244, allocations: 432.5 kB / 0.5338 GB, free: 7.445 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.5245, allocations: 12.03 kB / 0.5338 GB, free: 7.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.965e-05/0.5245, allocations: 46.67 kB / 0.5339 GB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/0.5269, allocations: 188.6 kB / 0.5341 GB, free: 7.195 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003021/0.5272, allocations: 204.5 kB / 0.5342 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.5272, allocations: 11.94 kB / 0.5343 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.5273, allocations: 11.95 kB / 0.5343 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000538/0.5278, allocations: 213.4 kB / 0.5345 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.5278, allocations: 0 / 0.5345 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.5278, allocations: 4 kB / 0.5345 GB, free: 6.715 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.5279, allocations: 4 kB / 0.5345 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006657/0.5285, allocations: 235.8 kB / 0.5347 GB, free: 6.48 MB / 414.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.001899/0.5304, allocations: 0.6739 MB / 0.5354 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.5309, allocations: 182.4 kB / 0.5355 GB, free: 5.566 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.5311, allocations: 98.77 kB / 0.5356 GB, free: 5.469 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/0.5313, allocations: 97.09 kB / 0.5357 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.5314, allocations: 30.56 kB / 0.5358 GB, free: 5.316 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.813e-06/0.5314, allocations: 0 / 0.5358 GB, free: 5.316 MB / 414.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.00628/0.5376, allocations: 1.54 MB / 0.5373 GB, free: 3.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.5377, allocations: 55.41 kB / 0.5373 GB, free: 3.602 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.5378, allocations: 109.8 kB / 0.5374 GB, free: 3.484 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.5378, allocations: 25.7 kB / 0.5374 GB, free: 3.453 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.5379, allocations: 104.3 kB / 0.5375 GB, free: 3.348 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/0.538, allocations: 75.42 kB / 0.5376 GB, free: 3.273 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.5381, allocations: 41.7 kB / 0.5377 GB, free: 3.227 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.5382, allocations: 322.8 kB / 0.538 GB, free: 2.902 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002337/0.5385, allocations: 87.95 kB / 0.538 GB, free: 2.816 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.5387, allocations: 127.2 kB / 0.5382 GB, free: 2.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004974/0.5392, allocations: 219.4 kB / 0.5384 GB, free: 2.453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5392, allocations: 3.938 kB / 0.5384 GB, free: 2.449 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006878/0.5399, allocations: 294.1 kB / 0.5387 GB, free: 2.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5399, allocations: 4 kB / 0.5387 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5399, allocations: 0 / 0.5387 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.5401, allocations: 24.84 kB / 0.5387 GB, free: 2.121 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.5406, allocations: 59.89 kB / 0.5387 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004581/0.541, allocations: 0.5368 MB / 0.5393 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003014/0.5413, allocations: 8.031 kB / 0.5393 GB, free: 1.492 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.5414, allocations: 15.98 kB / 0.5393 GB, free: 1.477 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.5415, allocations: 125.7 kB / 0.5394 GB, free: 1.344 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.533e-05/0.5416, allocations: 11.95 kB / 0.5394 GB, free: 1.332 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008097/0.5424, allocations: 315.5 kB / 0.5397 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.5424, allocations: 4 kB / 0.5397 GB, free: 1.008 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.5424, allocations: 3.938 kB / 0.5397 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5424, allocations: 0 / 0.5397 GB, free: 1.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.5437, allocations: 0.687 MB / 0.5404 GB, free: 256 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.5437, allocations: 4 kB / 0.5404 GB, free: 252 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000474/0.5442, allocations: 47.95 kB / 0.5405 GB, free: 204 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-05/0.5442, allocations: 20.84 kB / 0.5405 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.5443, allocations: 12.09 kB / 0.5405 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.5454, allocations: 1.36 MB / 0.5418 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5454, allocations: 1.188 kB / 0.5418 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009222/0.5463, allocations: 454.7 kB / 0.5422 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.5464, allocations: 89.03 kB / 0.5423 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.5464, allocations: 7.984 kB / 0.5423 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.5468, allocations: 8 kB / 0.5423 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.5468, allocations: 19.97 kB / 0.5424 GB, free: 14.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.5469, allocations: 11.94 kB / 0.5424 GB, free: 14.04 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.331e-05/0.5469, allocations: 95.31 kB / 0.5425 GB, free: 13.95 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5469, allocations: 0 / 0.5425 GB, free: 13.95 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005997/0.5475, allocations: 135.7 kB / 0.5426 GB, free: 13.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (19): * Single equations (assignments): 18 * 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): 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.001855/0.5494, allocations: 1.125 MB / 0.5437 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006927/0.5501, allocations: 223.7 kB / 0.5439 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.5501, allocations: 4 kB / 0.5439 GB, free: 12.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004499/0.5505, allocations: 230.9 kB / 0.5441 GB, free: 12.19 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004758/0.551, allocations: 52.44 kB / 0.5442 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.5544, allocations: 2.139 MB / 0.5463 GB, free: 9.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003568/0.5548, allocations: 0.7046 MB / 0.547 GB, free: 9.145 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002901/0.5551, allocations: 57.77 kB / 0.547 GB, free: 9.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.5552, allocations: 35.42 kB / 0.547 GB, free: 9.055 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5552, allocations: 0 / 0.547 GB, free: 9.055 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03919/0.5944, allocations: 8.044 MB / 0.5549 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.58, allocations: 4.062 kB / 0.5549 GB, free: 0.9453 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.271437201998197]