Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.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.001485/0.001485, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001372/0.001372, allocations: 202.9 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.366/1.366, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.MixtureGases,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 55.86 kB / 377.7 MB, free: 3.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2316, allocations: 53.37 MB / 431.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3789/0.6105, allocations: 134.2 MB / 0.552 GB, free: 15.97 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003395/0.6139, allocations: 3.611 MB / 0.5555 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.614, allocations: 3.531 kB / 0.5555 GB, free: 15.89 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003837/0.6144, allocations: 96.41 kB / 0.5556 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002388/0.6168, allocations: 1.212 MB / 0.5568 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008429/0.6176, allocations: 401.5 kB / 0.5572 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.6181, allocations: 461.8 kB / 0.5576 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.6182, allocations: 12.16 kB / 0.5576 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003376/0.6185, allocations: 254.8 kB / 0.5579 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001879/0.6187, allocations: 149.5 kB / 0.558 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.6187, allocations: 16.28 kB / 0.558 GB, free: 15.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002657/0.6214, allocations: 1.849 MB / 0.5598 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001123/0.6215, allocations: 140.4 kB / 0.56 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000154/0.6217, allocations: 150 kB / 0.5601 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.6232, allocations: 1.468 MB / 0.5615 GB, free: 15.73 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6232, allocations: 2.531 kB / 0.5616 GB, free: 15.73 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.6232, allocations: 0 / 0.5616 GB, free: 15.73 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.6232, allocations: 1.203 kB / 0.5616 GB, free: 15.73 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002047/0.6253, allocations: 0.7103 MB / 0.5622 GB, free: 15.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.6253, allocations: 11.56 kB / 0.5623 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.896e-05/0.6254, allocations: 71.58 kB / 0.5623 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006711/0.6261, allocations: 104.8 kB / 0.5624 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004356/0.6265, allocations: 221.7 kB / 0.5626 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.6265, allocations: 24.19 kB / 0.5627 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/0.6266, allocations: 26.23 kB / 0.5627 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.6277, allocations: 0.9046 MB / 0.5636 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.6277, allocations: 6.109 kB / 0.5636 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.488e-05/0.6278, allocations: 9.719 kB / 0.5636 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.6278, allocations: 22.89 kB / 0.5636 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.6289, allocations: 0.6457 MB / 0.5642 GB, free: 14.68 MB / 462.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.002717/0.6316, allocations: 1.181 MB / 0.5654 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008667/0.6325, allocations: 349.6 kB / 0.5657 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/0.6329, allocations: 168.4 kB / 0.5659 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001907/0.6348, allocations: 480.6 kB / 0.5663 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.6348, allocations: 50.59 kB / 0.5664 GB, free: 14.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.014e-06/0.6348, allocations: 0 / 0.5664 GB, free: 14.14 MB / 462.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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01415/0.649, allocations: 3.182 MB / 0.5695 GB, free: 13.37 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.649, allocations: 85.03 kB / 0.5696 GB, free: 13.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.6492, allocations: 192.3 kB / 0.5698 GB, free: 13.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.664e-05/0.6493, allocations: 32.42 kB / 0.5698 GB, free: 13.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.6494, allocations: 191.2 kB / 0.57 GB, free: 12.97 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.6496, allocations: 179.9 kB / 0.5701 GB, free: 12.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.6498, allocations: 116.7 kB / 0.5703 GB, free: 12.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.65, allocations: 339.4 kB / 0.5706 GB, free: 12.52 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/0.6506, allocations: 265 kB / 0.5708 GB, free: 12.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007766/0.6514, allocations: 424.3 kB / 0.5712 GB, free: 12.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.6528, allocations: 0.6964 MB / 0.5719 GB, free: 12.15 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6528, allocations: 0 / 0.5719 GB, free: 12.15 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001759/0.6546, allocations: 0.7862 MB / 0.5727 GB, free: 12.07 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.6546, allocations: 6.125 kB / 0.5727 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.6546, allocations: 4.875 kB / 0.5727 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002304/0.6548, allocations: 63.22 kB / 0.5728 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.656, allocations: 182.5 kB / 0.5729 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008591/0.6569, allocations: 1.072 MB / 0.574 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007417/0.6576, allocations: 45.84 kB / 0.574 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.4e-05/0.6577, allocations: 38.33 kB / 0.5741 GB, free: 11.01 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002796/0.658, allocations: 180.3 kB / 0.5742 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.6581, allocations: 33.28 kB / 0.5743 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002004/0.6601, allocations: 0.7896 MB / 0.575 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.6601, allocations: 6.469 kB / 0.575 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6601, allocations: 0 / 0.575 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.6601, allocations: 4.156 kB / 0.575 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.6632, allocations: 1.461 MB / 0.5765 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.6632, allocations: 3.578 kB / 0.5765 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.6642, allocations: 146.1 kB / 0.5766 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001383/0.6644, allocations: 48.7 kB / 0.5767 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/0.6644, allocations: 23.95 kB / 0.5767 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/0.6664, allocations: 2.519 MB / 0.5791 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.6664, allocations: 5.344 kB / 0.5791 GB, free: 7.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002308/0.6687, allocations: 1.074 MB / 0.5802 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.6687, allocations: 25.66 kB / 0.5802 GB, free: 7.402 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.205e-05/0.6688, allocations: 11.88 kB / 0.5802 GB, free: 7.402 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007828/0.6696, allocations: 36.55 kB / 0.5803 GB, free: 7.402 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.6697, allocations: 50.91 kB / 0.5803 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.511e-05/0.6697, allocations: 45.45 kB / 0.5804 GB, free: 7.387 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.341e-05/0.6698, allocations: 127.3 kB / 0.5805 GB, free: 7.309 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6698, allocations: 0 / 0.5805 GB, free: 7.309 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001371/0.6712, allocations: 393.1 kB / 0.5809 GB, free: 7.258 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.004782/0.676, allocations: 2.374 MB / 0.5832 GB, free: 6.281 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.6776, allocations: 0.6327 MB / 0.5838 GB, free: 6.258 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6776, allocations: 3.469 kB / 0.5838 GB, free: 6.258 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009897/0.6786, allocations: 0.5204 MB / 0.5843 GB, free: 6.031 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007435/0.6794, allocations: 100.4 kB / 0.5844 GB, free: 6.02 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007294/0.6867, allocations: 4.267 MB / 0.5886 GB, free: 3.785 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001696/0.6868, allocations: 169.2 kB / 0.5887 GB, free: 3.668 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008286/0.6877, allocations: 194.7 kB / 0.5889 GB, free: 3.551 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.688, allocations: 130.7 kB / 0.589 GB, free: 3.52 MB / 462.1 MB Notification: Performance of SimCode: time 8.12e-07/0.688, allocations: 0 / 0.589 GB, free: 3.52 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0742/0.7622, allocations: 21.15 MB / 0.6097 GB, free: 4.82 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.99/13.76, allocations: 8.047 kB / 0.6097 GB, free: 4.812 MB / 478.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_MixtureGases.fmu > Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.MixtureGases.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: 16.336949860997265]