Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.001266/0.001266, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001552/0.001552, allocations: 213.4 kB / 24.52 MB, free: 3.941 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2326/0.2326, allocations: 46.97 MB / 361.7 MB, free: 4.047 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.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 59.91 kB / 0.4969 GB, free: 7.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3147, allocations: 66.03 MB / 0.5613 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1688/0.4835, allocations: 131.3 MB / 0.6895 GB, free: 0.5 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.4849, allocations: 0.9539 MB / 0.6905 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.485, allocations: 0 / 0.6905 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002262/0.4852, allocations: 23.84 kB / 0.6905 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007738/0.486, allocations: 288.4 kB / 0.6908 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.4864, allocations: 115 kB / 0.6909 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.4867, allocations: 183.2 kB / 0.691 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.4867, allocations: 11.97 kB / 0.691 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000227/0.4869, allocations: 91.69 kB / 0.6911 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.487, allocations: 59.69 kB / 0.6912 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.4871, allocations: 12 kB / 0.6912 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005359/0.4876, allocations: 267.7 kB / 0.6915 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.4877, allocations: 19.91 kB / 0.6915 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.879e-05/0.4877, allocations: 43.86 kB / 0.6915 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005263/0.4883, allocations: 287.2 kB / 0.6918 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4883, allocations: 0 / 0.6918 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4883, allocations: 0 / 0.6918 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.4883, allocations: 0 / 0.6918 GB, free: 14.17 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005459/0.4888, allocations: 333.8 kB / 0.6921 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.4889, allocations: 12.03 kB / 0.6921 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.294e-05/0.4889, allocations: 4.188 kB / 0.6921 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.955e-05/0.4889, allocations: 38.75 kB / 0.6922 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.491, allocations: 200.5 kB / 0.6924 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003354/0.4913, allocations: 149.5 kB / 0.6925 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.4913, allocations: 7.938 kB / 0.6925 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.4914, allocations: 15.92 kB / 0.6925 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.492, allocations: 305.2 kB / 0.6928 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.492, allocations: 0 / 0.6928 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.492, allocations: 4 kB / 0.6928 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.4921, allocations: 4 kB / 0.6928 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.4925, allocations: 167.8 kB / 0.693 GB, free: 12.86 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.00105/0.4935, allocations: 0.5317 MB / 0.6935 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003546/0.4939, allocations: 142.4 kB / 0.6936 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.494, allocations: 68.83 kB / 0.6937 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.4941, allocations: 0 / 0.6937 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.4941, allocations: 42.48 kB / 0.6937 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.4941, allocations: 0 / 0.6937 GB, free: 12.01 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.005275/0.4994, allocations: 1.151 MB / 0.6949 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.4994, allocations: 55.41 kB / 0.6949 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.4995, allocations: 117.8 kB / 0.695 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.4996, allocations: 25.7 kB / 0.6951 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.448e-05/0.4997, allocations: 99.98 kB / 0.6951 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/0.4997, allocations: 71.38 kB / 0.6952 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.4998, allocations: 53.7 kB / 0.6953 GB, free: 10.35 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5, allocations: 322.8 kB / 0.6956 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.5002, allocations: 71.95 kB / 0.6956 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.5003, allocations: 104.9 kB / 0.6957 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.5007, allocations: 187.3 kB / 0.6959 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5007, allocations: 0 / 0.6959 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005199/0.5012, allocations: 255.7 kB / 0.6962 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5013, allocations: 4 kB / 0.6962 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5013, allocations: 4 kB / 0.6962 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/0.5014, allocations: 56.92 kB / 0.6962 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003185/0.5018, allocations: 55.84 kB / 0.6963 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000456/0.5022, allocations: 0.5601 MB / 0.6968 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.5024, allocations: 8.031 kB / 0.6968 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.101e-05/0.5024, allocations: 31.98 kB / 0.6969 GB, free: 8.641 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.0001303/0.5026, allocations: 121.8 kB / 0.697 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.5026, allocations: 19.81 kB / 0.697 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008895/0.5035, allocations: 357.4 kB / 0.6973 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.5035, allocations: 0 / 0.6973 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5035, allocations: 0 / 0.6973 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5035, allocations: 4 kB / 0.6973 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.5046, allocations: 0.5714 MB / 0.6979 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.5046, allocations: 0 / 0.6979 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.505, allocations: 59.95 kB / 0.698 GB, free: 7.445 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.47e-05/0.5051, allocations: 24.94 kB / 0.698 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.5051, allocations: 15.98 kB / 0.698 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.5062, allocations: 1.263 MB / 0.6992 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.5062, allocations: 4.031 kB / 0.6992 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.5069, allocations: 434.7 kB / 0.6997 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.794e-05/0.5069, allocations: 7.984 kB / 0.6997 GB, free: 5.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.5069, allocations: 8 kB / 0.6997 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.5072, allocations: 4 kB / 0.6997 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.5072, allocations: 27.95 kB / 0.6997 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/0.5073, allocations: 35.86 kB / 0.6997 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.041e-05/0.5073, allocations: 87.28 kB / 0.6998 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5073, allocations: 0 / 0.6998 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000438/0.5078, allocations: 83.92 kB / 0.6999 GB, free: 5.32 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 (21): * Single equations (assignments): 20 * 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.001297/0.5091, allocations: 1.007 MB / 0.7009 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005085/0.5096, allocations: 205.4 kB / 0.7011 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5096, allocations: 0 / 0.7011 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.5099, allocations: 218.6 kB / 0.7013 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004344/0.5104, allocations: 48.22 kB / 0.7013 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.5132, allocations: 2.089 MB / 0.7034 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.126e-05/0.5133, allocations: 93.97 kB / 0.7035 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002997/0.5136, allocations: 81.47 kB / 0.7035 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.5138, allocations: 67.39 kB / 0.7036 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.5138, allocations: 4 kB / 0.7036 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03425/0.548, allocations: 7.589 MB / 0.711 GB, free: 9.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.88, allocations: 0 / 0.711 GB, free: 9.91 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.927021824987605]