Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.00161/0.00161, allocations: 114.2 kB / 17.13 MB, free: 5.754 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.001841/0.001841, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.482/1.482, allocations: 207.6 MB / 230.4 MB, free: 3.949 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3428/0.3428, allocations: 44.23 MB / 326.5 MB, free: 6.812 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.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.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 75.89 kB / 462.2 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.285/0.2871, allocations: 60.99 MB / 0.5109 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4486/0.7357, allocations: 151.3 MB / 0.6586 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.7372, allocations: 1.494 MB / 0.6601 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.7373, allocations: 0.8438 kB / 0.6601 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002957/0.7376, allocations: 49.84 kB / 0.6602 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008015/0.7384, allocations: 390.7 kB / 0.6605 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.7388, allocations: 171.3 kB / 0.6607 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.7391, allocations: 181.1 kB / 0.6609 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.748e-05/0.7391, allocations: 10.08 kB / 0.6609 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.7393, allocations: 81.08 kB / 0.6609 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.7394, allocations: 60.67 kB / 0.661 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.7394, allocations: 6.344 kB / 0.661 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.7404, allocations: 0.5946 MB / 0.6616 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.7405, allocations: 31.16 kB / 0.6616 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.384e-05/0.7406, allocations: 52.77 kB / 0.6617 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005841/0.7412, allocations: 387.7 kB / 0.662 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.7412, allocations: 2.594 kB / 0.662 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7412, allocations: 0.8438 kB / 0.662 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.7412, allocations: 0 / 0.662 GB, free: 0.5312 MB / 0.4981 GB 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.0005926/0.7418, allocations: 432 kB / 0.6625 GB, free: 16.14 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.7418, allocations: 13.55 kB / 0.6625 GB, free: 16.13 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.7419, allocations: 42.16 kB / 0.6625 GB, free: 16.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002151/0.744, allocations: 198.1 kB / 0.6627 GB, free: 16.08 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.7443, allocations: 205.2 kB / 0.6629 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.7443, allocations: 15.56 kB / 0.6629 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.277e-05/0.7444, allocations: 8.938 kB / 0.6629 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004618/0.7448, allocations: 199.9 kB / 0.6631 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.7448, allocations: 0 / 0.6631 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.7449, allocations: 9.703 kB / 0.6631 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.7449, allocations: 2.188 kB / 0.6631 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006183/0.7455, allocations: 246.6 kB / 0.6634 GB, free: 15.84 MB / 0.5137 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.001748/0.7472, allocations: 0.6649 MB / 0.664 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.7477, allocations: 187.8 kB / 0.6642 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002141/0.7479, allocations: 90.14 kB / 0.6643 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.7481, allocations: 101.6 kB / 0.6644 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.7481, allocations: 34.72 kB / 0.6644 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.7481, allocations: 1.203 kB / 0.6644 GB, free: 15.29 MB / 0.5137 GB 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.005205/0.7533, allocations: 1.532 MB / 0.6659 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.7533, allocations: 54.41 kB / 0.6659 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.978e-05/0.7534, allocations: 110.3 kB / 0.6661 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.7535, allocations: 25.7 kB / 0.6661 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.607e-05/0.7535, allocations: 105 kB / 0.6662 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.7536, allocations: 72.81 kB / 0.6662 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.318e-05/0.7537, allocations: 46.94 kB / 0.6663 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.7538, allocations: 319.3 kB / 0.6666 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.754, allocations: 87.94 kB / 0.6667 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.7542, allocations: 131.7 kB / 0.6668 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.7546, allocations: 219.6 kB / 0.667 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.7547, allocations: 4.688 kB / 0.667 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000648/0.7553, allocations: 285 kB / 0.6673 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.7553, allocations: 6.094 kB / 0.6673 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.7553, allocations: 0.6875 kB / 0.6673 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000129/0.7555, allocations: 22.59 kB / 0.6673 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004685/0.7559, allocations: 59.83 kB / 0.6674 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004018/0.7563, allocations: 0.535 MB / 0.6679 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.7566, allocations: 11.3 kB / 0.6679 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.7566, allocations: 9.234 kB / 0.6679 GB, free: 13.36 MB / 0.5137 GB 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.0001406/0.7568, allocations: 128.8 kB / 0.668 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.065e-05/0.7568, allocations: 13.72 kB / 0.6681 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007801/0.7576, allocations: 325.2 kB / 0.6684 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.7576, allocations: 2.156 kB / 0.6684 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.7576, allocations: 5.062 kB / 0.6684 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7576, allocations: 2.906 kB / 0.6684 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.7588, allocations: 0.6754 MB / 0.669 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7588, allocations: 1.25 kB / 0.669 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.7593, allocations: 58.31 kB / 0.6691 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.037e-05/0.7593, allocations: 22.77 kB / 0.6691 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.7594, allocations: 9.719 kB / 0.6691 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/0.7604, allocations: 1.358 MB / 0.6704 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.7604, allocations: 6.109 kB / 0.6705 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007977/0.7612, allocations: 446.2 kB / 0.6709 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.7613, allocations: 95.67 kB / 0.671 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.7613, allocations: 6.188 kB / 0.671 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.7616, allocations: 11.61 kB / 0.671 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.7616, allocations: 17.27 kB / 0.671 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.7617, allocations: 17.88 kB / 0.671 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.078e-05/0.7617, allocations: 91.02 kB / 0.6711 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7617, allocations: 0.8125 kB / 0.6711 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005915/0.7623, allocations: 130.9 kB / 0.6712 GB, free: 11.06 MB / 0.5137 GB 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.001658/0.764, allocations: 1.131 MB / 0.6723 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005895/0.7646, allocations: 225 kB / 0.6726 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.7646, allocations: 0 / 0.6726 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.765, allocations: 235.5 kB / 0.6728 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.7654, allocations: 50.19 kB / 0.6728 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.7683, allocations: 2.137 MB / 0.6749 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.7687, allocations: 0.714 MB / 0.6756 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003155/0.769, allocations: 49.86 kB / 0.6757 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.7692, allocations: 42.92 kB / 0.6757 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of SimCode: time 7.42e-07/0.7692, allocations: 0 / 0.6757 GB, free: 7.996 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03607/0.8052, allocations: 8.013 MB / 0.6835 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/13.13, allocations: 6.109 kB / 0.6835 GB, free: 7.078 MB / 0.5137 GB " [Timeout remaining time 647] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 15.969248084817082]