Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001042, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.948/0.948, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2583/0.2583, allocations: 34.25 MB / 294.8 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 180] 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.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 442.1 MB, free: 1.574 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.404e-05, allocations: 5.234 kB / 442.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2975/0.2975, allocations: 131.5 MB / 0.5602 GB, free: 13 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2988, allocations: 1.433 MB / 0.5616 GB, free: 11.56 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.427e-05/0.2989, allocations: 4 kB / 0.5616 GB, free: 11.56 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.2992, allocations: 47.73 kB / 0.5617 GB, free: 11.51 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007132/0.2999, allocations: 429.6 kB / 0.5621 GB, free: 11.09 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004256/0.3004, allocations: 171.4 kB / 0.5623 GB, free: 10.92 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.3006, allocations: 179.2 kB / 0.5624 GB, free: 10.75 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.22e-05/0.3006, allocations: 8 kB / 0.5624 GB, free: 10.74 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.3008, allocations: 107.7 kB / 0.5625 GB, free: 10.63 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.3009, allocations: 55.81 kB / 0.5626 GB, free: 10.58 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3009, allocations: 8 kB / 0.5626 GB, free: 10.57 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008359/0.3017, allocations: 0.5492 MB / 0.5631 GB, free: 10.02 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.71e-05/0.3018, allocations: 31.89 kB / 0.5632 GB, free: 9.988 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.3018, allocations: 43.91 kB / 0.5632 GB, free: 9.945 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004828/0.3023, allocations: 446.9 kB / 0.5636 GB, free: 9.508 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3023, allocations: 0 / 0.5636 GB, free: 9.508 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3023, allocations: 3.938 kB / 0.5636 GB, free: 9.504 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3023, allocations: 4 kB / 0.5636 GB, free: 9.5 MB / 474.7 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.0004929/0.3028, allocations: 350.5 kB / 0.564 GB, free: 9.133 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.3029, allocations: 12.03 kB / 0.564 GB, free: 9.121 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.3029, allocations: 47.58 kB / 0.564 GB, free: 9.066 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.3041, allocations: 203.9 kB / 0.5642 GB, free: 8.871 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.3043, allocations: 149.6 kB / 0.5644 GB, free: 8.699 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3043, allocations: 16.12 kB / 0.5644 GB, free: 8.684 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.3043, allocations: 8 kB / 0.5644 GB, free: 8.676 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.3047, allocations: 274.6 kB / 0.5647 GB, free: 8.383 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3047, allocations: 3.984 kB / 0.5647 GB, free: 8.379 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.3047, allocations: 0 / 0.5647 GB, free: 8.379 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.3047, allocations: 4 kB / 0.5647 GB, free: 8.375 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.3051, allocations: 233.1 kB / 0.5649 GB, free: 8.148 MB / 474.7 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.001052/0.3061, allocations: 0.5796 MB / 0.5655 GB, free: 7.559 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.3064, allocations: 186.5 kB / 0.5656 GB, free: 7.367 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.3065, allocations: 92.81 kB / 0.5657 GB, free: 7.273 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.3066, allocations: 11.98 kB / 0.5657 GB, free: 7.262 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.3066, allocations: 30.56 kB / 0.5658 GB, free: 7.223 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 2.084e-06/0.3067, allocations: 4 kB / 0.5658 GB, free: 7.219 MB / 474.7 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.003162/0.3098, allocations: 1.396 MB / 0.5671 GB, free: 5.766 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.3098, allocations: 59.41 kB / 0.5672 GB, free: 5.695 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.3099, allocations: 109.8 kB / 0.5673 GB, free: 5.578 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.3099, allocations: 33.7 kB / 0.5673 GB, free: 5.539 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.062e-05/0.31, allocations: 92.36 kB / 0.5674 GB, free: 5.445 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.31, allocations: 71.42 kB / 0.5675 GB, free: 5.375 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/0.3101, allocations: 45.69 kB / 0.5675 GB, free: 5.324 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.3102, allocations: 322.8 kB / 0.5678 GB, free: 5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.3103, allocations: 87.95 kB / 0.5679 GB, free: 4.914 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.3105, allocations: 123.4 kB / 0.568 GB, free: 4.781 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/0.3107, allocations: 224.6 kB / 0.5682 GB, free: 4.551 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3107, allocations: 3.938 kB / 0.5682 GB, free: 4.547 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003951/0.3111, allocations: 282.2 kB / 0.5685 GB, free: 4.262 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3112, allocations: 12.09 kB / 0.5685 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3112, allocations: 0 / 0.5685 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000135/0.3113, allocations: 28.78 kB / 0.5686 GB, free: 4.219 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.3115, allocations: 55.95 kB / 0.5686 GB, free: 4.164 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002924/0.3118, allocations: 0.5367 MB / 0.5691 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.3119, allocations: 8.031 kB / 0.5691 GB, free: 3.594 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.673e-05/0.312, allocations: 15.98 kB / 0.5692 GB, free: 3.578 MB / 474.7 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 9.536e-05/0.3121, allocations: 127 kB / 0.5693 GB, free: 3.445 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.666e-05/0.3121, allocations: 11.95 kB / 0.5693 GB, free: 3.434 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004553/0.3126, allocations: 311.7 kB / 0.5696 GB, free: 3.117 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3126, allocations: 8 kB / 0.5696 GB, free: 3.109 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3126, allocations: 3.938 kB / 0.5696 GB, free: 3.105 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3126, allocations: 0 / 0.5696 GB, free: 3.105 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008328/0.3134, allocations: 0.6158 MB / 0.5702 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3134, allocations: 0 / 0.5702 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.3136, allocations: 51.89 kB / 0.5702 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-05/0.3137, allocations: 24.94 kB / 0.5703 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.895e-05/0.3137, allocations: 7.984 kB / 0.5703 GB, free: 2.348 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006693/0.3143, allocations: 1.252 MB / 0.5715 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3143, allocations: 4.031 kB / 0.5715 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.3149, allocations: 457.7 kB / 0.5719 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.298e-05/0.3149, allocations: 11.92 kB / 0.572 GB, free: 0.4922 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.3149, allocations: 4 kB / 0.572 GB, free: 500 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.3151, allocations: 12 kB / 0.572 GB, free: 488 kB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.3151, allocations: 11.97 kB / 0.572 GB, free: 476 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.3152, allocations: 15.98 kB / 0.572 GB, free: 460 kB / 474.7 MB Notification: Performance of sorting global known variables: time 4.256e-05/0.3152, allocations: 87.27 kB / 0.5721 GB, free: 372 kB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3152, allocations: 0 / 0.5721 GB, free: 372 kB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004474/0.3156, allocations: 131.7 kB / 0.5722 GB, free: 240 kB / 474.7 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.001195/0.3168, allocations: 1.152 MB / 0.5733 GB, free: 15.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004216/0.3173, allocations: 234.9 kB / 0.5736 GB, free: 14.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3173, allocations: 0 / 0.5736 GB, free: 14.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002691/0.3175, allocations: 228 kB / 0.5738 GB, free: 14.58 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/0.3179, allocations: 56.05 kB / 0.5738 GB, free: 14.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.3201, allocations: 2.07 MB / 0.5758 GB, free: 12.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.552e-05/0.3202, allocations: 94.09 kB / 0.5759 GB, free: 12.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002054/0.3204, allocations: 49.45 kB / 0.576 GB, free: 12.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.3205, allocations: 40.48 kB / 0.576 GB, free: 12.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3205, allocations: 4 kB / 0.576 GB, free: 12.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.3465, allocations: 8.826 MB / 0.5846 GB, free: 3.465 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/8.571, allocations: 0 / 0.5846 GB, free: 3.465 MB / 490.7 MB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.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 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.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: 10.768776289187372]