Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.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.001267/0.001267, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001387/0.001387, allocations: 214.3 kB / 23.73 MB, free: 4.16 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.416/1.416, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2258/0.2258, allocations: 46.96 MB / 360.9 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003046/0.003046, allocations: 63.91 kB / 0.4961 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3424, allocations: 66.03 MB / 0.5606 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2104/0.5528, allocations: 131.5 MB / 0.689 GB, free: 240 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.5548, allocations: 1.429 MB / 0.6904 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.5549, allocations: 0 / 0.6904 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.5552, allocations: 43.75 kB / 0.6905 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.5563, allocations: 415.8 kB / 0.6908 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.5568, allocations: 175.4 kB / 0.691 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002622/0.5571, allocations: 187.2 kB / 0.6912 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.5571, allocations: 7.938 kB / 0.6912 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.5573, allocations: 87.62 kB / 0.6913 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.5574, allocations: 55.81 kB / 0.6913 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.5575, allocations: 4 kB / 0.6913 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.5585, allocations: 0.5533 MB / 0.6919 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.5586, allocations: 31.89 kB / 0.6919 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.955e-05/0.5586, allocations: 47.8 kB / 0.692 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006303/0.5593, allocations: 398.9 kB / 0.6923 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.5593, allocations: 7.984 kB / 0.6923 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5593, allocations: 0 / 0.6923 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.5593, allocations: 0 / 0.6923 GB, free: 12.82 MB / 0.5294 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.0005573/0.5598, allocations: 357.7 kB / 0.6927 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.5599, allocations: 8.031 kB / 0.6927 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.038e-05/0.5599, allocations: 46.73 kB / 0.6927 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.5621, allocations: 200.6 kB / 0.6929 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.5624, allocations: 157.8 kB / 0.6931 GB, free: 12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.5624, allocations: 8 kB / 0.6931 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.5625, allocations: 4 kB / 0.6931 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005519/0.563, allocations: 278.6 kB / 0.6934 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.563, allocations: 7.984 kB / 0.6934 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.5631, allocations: 7.938 kB / 0.6934 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.5631, allocations: 0 / 0.6934 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006006/0.5637, allocations: 231.9 kB / 0.6936 GB, free: 11.45 MB / 0.5294 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.001842/0.5655, allocations: 0.5629 MB / 0.6941 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.566, allocations: 190.4 kB / 0.6943 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.5662, allocations: 92.81 kB / 0.6944 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.5663, allocations: 11.98 kB / 0.6944 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.5664, allocations: 34.56 kB / 0.6945 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.784e-06/0.5664, allocations: 0 / 0.6945 GB, free: 10.5 MB / 0.5294 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.005873/0.5722, allocations: 1.394 MB / 0.6958 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.5723, allocations: 55.39 kB / 0.6959 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.5724, allocations: 109.8 kB / 0.696 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.5724, allocations: 33.64 kB / 0.696 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.5725, allocations: 100.4 kB / 0.6961 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.432e-05/0.5726, allocations: 67.42 kB / 0.6962 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.711e-05/0.5727, allocations: 49.66 kB / 0.6962 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5728, allocations: 318.8 kB / 0.6965 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002282/0.573, allocations: 95.89 kB / 0.6966 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.5733, allocations: 121 kB / 0.6967 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005182/0.5738, allocations: 225.2 kB / 0.6969 GB, free: 7.809 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.5738, allocations: 4 kB / 0.6969 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007751/0.5746, allocations: 284.3 kB / 0.6972 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.5746, allocations: 4 kB / 0.6972 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.5746, allocations: 0 / 0.6972 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.5748, allocations: 24.84 kB / 0.6972 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.5752, allocations: 59.91 kB / 0.6973 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004335/0.5757, allocations: 0.5407 MB / 0.6978 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.576, allocations: 12.02 kB / 0.6978 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.576, allocations: 8 kB / 0.6979 GB, free: 6.844 MB / 0.5294 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.0001529/0.5761, allocations: 125.8 kB / 0.698 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.5762, allocations: 7.953 kB / 0.698 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000783/0.577, allocations: 325.8 kB / 0.6983 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.577, allocations: 0 / 0.6983 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.577, allocations: 4 kB / 0.6983 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.577, allocations: 3.984 kB / 0.6983 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/0.5782, allocations: 0.6124 MB / 0.6989 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.5782, allocations: 4 kB / 0.6989 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.5787, allocations: 47.95 kB / 0.6989 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.241e-05/0.5788, allocations: 24.78 kB / 0.699 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.5788, allocations: 11.94 kB / 0.699 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.5799, allocations: 1.264 MB / 0.7002 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5799, allocations: 3.938 kB / 0.7002 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008881/0.5808, allocations: 446.6 kB / 0.7006 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.5808, allocations: 7.984 kB / 0.7007 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.5808, allocations: 8 kB / 0.7007 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003472/0.5812, allocations: 16.17 kB / 0.7007 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.5812, allocations: 19.91 kB / 0.7007 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.5812, allocations: 12 kB / 0.7007 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.87e-05/0.5813, allocations: 83.27 kB / 0.7008 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5813, allocations: 3.938 kB / 0.7008 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005846/0.5819, allocations: 147.6 kB / 0.7009 GB, free: 3.465 MB / 0.5294 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.001867/0.5838, allocations: 1.129 MB / 0.702 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006675/0.5844, allocations: 239.6 kB / 0.7023 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5844, allocations: 0 / 0.7023 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.5849, allocations: 226.6 kB / 0.7025 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.5853, allocations: 44.28 kB / 0.7025 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.5888, allocations: 2.135 MB / 0.7046 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.5889, allocations: 101.8 kB / 0.7047 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003088/0.5892, allocations: 53.77 kB / 0.7048 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.5894, allocations: 43.41 kB / 0.7048 GB, free: 15.32 MB / 0.545 GB Notification: Performance of SimCode: time 7.42e-07/0.5894, allocations: 0 / 0.7048 GB, free: 15.32 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0424/0.6318, allocations: 8.679 MB / 0.7133 GB, free: 6.789 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.8, allocations: 4.062 kB / 0.7133 GB, free: 6.785 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 16.648325209971517]