Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 119 kB / 18.5 MB, free: 4.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 190.9 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 249.8 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.254/0.254, allocations: 44.9 MB / 349.6 MB, free: 1.844 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.61 kB / 491.8 MB, free: 29.8 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1336, allocations: 64.25 MB / 0.543 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4952/0.6288, allocations: 150.3 MB / 0.6898 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004188/0.633, allocations: 3.139 MB / 0.6929 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.628e-05/0.6331, allocations: 3.938 kB / 0.6929 GB, free: 3.055 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.6335, allocations: 64.52 kB / 0.6929 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.6361, allocations: 1.035 MB / 0.694 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005756/0.6367, allocations: 194.4 kB / 0.6941 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000458/0.6371, allocations: 351 kB / 0.6945 GB, free: 1.922 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.107e-05/0.6372, allocations: 9.625 kB / 0.6945 GB, free: 1.914 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.6374, allocations: 152.3 kB / 0.6946 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.6376, allocations: 127.9 kB / 0.6947 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.6377, allocations: 12.75 kB / 0.6948 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/0.6404, allocations: 1.537 MB / 0.6963 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.6405, allocations: 81.05 kB / 0.6963 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.6407, allocations: 103.7 kB / 0.6964 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.6421, allocations: 0.9975 MB / 0.6974 GB, free: 256 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6421, allocations: 4 kB / 0.6974 GB, free: 252 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6421, allocations: 0 / 0.6974 GB, free: 252 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.6421, allocations: 0 / 0.6974 GB, free: 252 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0009777/0.6431, allocations: 0.5556 MB / 0.698 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.6431, allocations: 10 kB / 0.698 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.496e-05/0.6432, allocations: 54.11 kB / 0.698 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.6445, allocations: 210.2 kB / 0.6982 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.6449, allocations: 243.4 kB / 0.6985 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.645, allocations: 19.25 kB / 0.6985 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/0.645, allocations: 16.94 kB / 0.6985 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005869/0.6456, allocations: 373.9 kB / 0.6988 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.6456, allocations: 0 / 0.6988 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.6457, allocations: 12 kB / 0.6989 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.6457, allocations: 8 kB / 0.6989 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000584/0.6463, allocations: 399.7 kB / 0.6992 GB, free: 14.63 MB / 0.4981 GB 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.001704/0.648, allocations: 0.8125 MB / 0.7 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004069/0.6484, allocations: 225.2 kB / 0.7003 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.6486, allocations: 115.3 kB / 0.7004 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/0.6506, allocations: 0.9879 MB / 0.7013 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.752e-05/0.6506, allocations: 39.56 kB / 0.7014 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=29): time 1.413e-06/0.6506, allocations: 0 / 0.7014 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29): time 0.001156/0.6518, allocations: 363.2 kB / 0.7017 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.6518, allocations: 77.11 kB / 0.7018 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.777e-05/0.6519, allocations: 109.8 kB / 0.7019 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.6519, allocations: 33.7 kB / 0.7019 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.363e-05/0.652, allocations: 112.6 kB / 0.702 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.396e-05/0.6521, allocations: 115 kB / 0.7021 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.803e-05/0.6522, allocations: 62.02 kB / 0.7022 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.6524, allocations: 326.8 kB / 0.7025 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.6525, allocations: 100.5 kB / 0.7026 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.6528, allocations: 183.5 kB / 0.7028 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.6533, allocations: 303.7 kB / 0.7031 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.6533, allocations: 4 kB / 0.7031 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006194/0.6539, allocations: 340.9 kB / 0.7034 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.6539, allocations: 7.938 kB / 0.7034 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.6539, allocations: 4 kB / 0.7034 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.6539, allocations: 7.938 kB / 0.7034 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.6543, allocations: 76.77 kB / 0.7035 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.6543, allocations: 4.312 kB / 0.7035 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.6545, allocations: 27.84 kB / 0.7035 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.6545, allocations: 16 kB / 0.7035 GB, free: 9.852 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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.0001446/0.6547, allocations: 145.6 kB / 0.7037 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.875e-05/0.6548, allocations: 19.91 kB / 0.7037 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006603/0.6554, allocations: 323.2 kB / 0.704 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.6555, allocations: 4 kB / 0.704 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6555, allocations: 0 / 0.704 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.6555, allocations: 7.109 kB / 0.704 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005662/0.656, allocations: 327.1 kB / 0.7043 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.656, allocations: 4 kB / 0.7043 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.6564, allocations: 55.91 kB / 0.7044 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.6564, allocations: 4 kB / 0.7044 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.6564, allocations: 11.98 kB / 0.7044 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.6564, allocations: 0 / 0.7044 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6564, allocations: 0 / 0.7044 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007573/0.6572, allocations: 0.5063 MB / 0.7049 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.6572, allocations: 96.95 kB / 0.705 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.6573, allocations: 4.062 kB / 0.705 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003098/0.6576, allocations: 15.98 kB / 0.705 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.6576, allocations: 19.97 kB / 0.705 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.6576, allocations: 15.98 kB / 0.705 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.229e-05/0.6577, allocations: 91.22 kB / 0.7051 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.6577, allocations: 0 / 0.7051 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008333/0.6585, allocations: 239.3 kB / 0.7054 GB, free: 7.895 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * 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.001955/0.6605, allocations: 1.372 MB / 0.7067 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000512/0.661, allocations: 248.2 kB / 0.7069 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.661, allocations: 0 / 0.7069 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/0.6612, allocations: 121.9 kB / 0.707 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.6618, allocations: 84.95 kB / 0.7071 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003463/0.6653, allocations: 2.695 MB / 0.7098 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.6657, allocations: 0.7285 MB / 0.7105 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002983/0.666, allocations: 75.22 kB / 0.7105 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.6661, allocations: 59.42 kB / 0.7106 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.6661, allocations: 0 / 0.7106 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03831/0.7044, allocations: 10.49 MB / 0.7208 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.371/9.076, allocations: 11.5 kB / 0.7209 GB, free: 7.949 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MixIdealGasAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.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: 12.273227132391185]