Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.00163/0.00163, allocations: 116.8 kB / 18.5 MB, free: 4.434 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.001889/0.001889, allocations: 189.2 kB / 21.44 MB, free: 1.504 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.486/1.486, allocations: 225.6 MB / 249.8 MB, free: 3.723 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.2188/0.2188, allocations: 44.92 MB / 349.6 MB, free: 1.723 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.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 63 kB / 491.8 MB, free: 29.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1277, allocations: 64.26 MB / 0.543 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4459/0.5736, allocations: 149.8 MB / 0.6893 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.5749, allocations: 0.9666 MB / 0.6902 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.372e-05/0.5749, allocations: 3.219 kB / 0.6902 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.5752, allocations: 30.55 kB / 0.6903 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005982/0.5758, allocations: 255.5 kB / 0.6905 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.5762, allocations: 118 kB / 0.6906 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002209/0.5764, allocations: 169.5 kB / 0.6908 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.5764, allocations: 6.703 kB / 0.6908 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.5766, allocations: 84.06 kB / 0.6909 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.247e-05/0.5767, allocations: 54.73 kB / 0.6909 GB, free: 4.359 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.5767, allocations: 10.56 kB / 0.6909 GB, free: 4.359 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004491/0.5772, allocations: 265.9 kB / 0.6912 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.929e-05/0.5772, allocations: 21.17 kB / 0.6912 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.818e-05/0.5773, allocations: 46.55 kB / 0.6912 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004004/0.5777, allocations: 272.1 kB / 0.6915 GB, free: 4.055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.5777, allocations: 0 / 0.6915 GB, free: 4.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5777, allocations: 0 / 0.6915 GB, free: 4.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.5777, allocations: 0 / 0.6915 GB, free: 4.055 MB / 494.1 MB 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.0005238/0.5782, allocations: 415 kB / 0.6919 GB, free: 3.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.5783, allocations: 12.23 kB / 0.6919 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.5783, allocations: 43.22 kB / 0.692 GB, free: 3.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001917/0.5802, allocations: 186.3 kB / 0.6921 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003756/0.5806, allocations: 214.3 kB / 0.6923 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.5806, allocations: 6.438 kB / 0.6923 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/0.5807, allocations: 11.31 kB / 0.6924 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/0.5812, allocations: 225.9 kB / 0.6926 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5812, allocations: 0 / 0.6926 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.5812, allocations: 11.16 kB / 0.6926 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5812, allocations: 0 / 0.6926 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/0.5816, allocations: 167.8 kB / 0.6927 GB, free: 2.996 MB / 494.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.001107/0.5827, allocations: 0.5817 MB / 0.6933 GB, free: 2.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.5831, allocations: 135 kB / 0.6934 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.5832, allocations: 69.95 kB / 0.6935 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.5832, allocations: 2.625 kB / 0.6935 GB, free: 2.305 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.5832, allocations: 34.56 kB / 0.6935 GB, free: 2.262 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.5832, allocations: 0 / 0.6935 GB, free: 2.262 MB / 494.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005012/0.5883, allocations: 1.294 MB / 0.6948 GB, free: 1.395 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.5883, allocations: 65.88 kB / 0.6949 GB, free: 1.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/0.5884, allocations: 116.5 kB / 0.695 GB, free: 1.207 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/0.5884, allocations: 25.7 kB / 0.695 GB, free: 1.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.5885, allocations: 98.5 kB / 0.6951 GB, free: 1.078 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.5886, allocations: 71.36 kB / 0.6952 GB, free: 1.016 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.025e-05/0.5886, allocations: 58.97 kB / 0.6952 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.5888, allocations: 321.3 kB / 0.6955 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.5889, allocations: 67.53 kB / 0.6956 GB, free: 0.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.5891, allocations: 106.7 kB / 0.6957 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.5894, allocations: 182.5 kB / 0.6959 GB, free: 456 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5894, allocations: 4 kB / 0.6959 GB, free: 452 kB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004595/0.5899, allocations: 254.3 kB / 0.6961 GB, free: 312 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.5899, allocations: 7.969 kB / 0.6961 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.5899, allocations: 0 / 0.6961 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.5901, allocations: 53.42 kB / 0.6962 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.5904, allocations: 54.02 kB / 0.6962 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004526/0.5908, allocations: 0.5656 MB / 0.6968 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.591, allocations: 13.23 kB / 0.6968 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.591, allocations: 23.84 kB / 0.6968 GB, free: 15.71 MB / 0.4981 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.0001267/0.5912, allocations: 119.2 kB / 0.6969 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.5912, allocations: 9.422 kB / 0.6969 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00074/0.592, allocations: 357.2 kB / 0.6973 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.592, allocations: 2.438 kB / 0.6973 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.592, allocations: 2.594 kB / 0.6973 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.592, allocations: 0 / 0.6973 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009898/0.593, allocations: 0.6274 MB / 0.6979 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.593, allocations: 3.625 kB / 0.6979 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/0.5933, allocations: 60.92 kB / 0.698 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.356e-05/0.5934, allocations: 27.66 kB / 0.698 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/0.5934, allocations: 15.64 kB / 0.698 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.5944, allocations: 1.364 MB / 0.6993 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5944, allocations: 0 / 0.6993 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000656/0.5951, allocations: 441 kB / 0.6997 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.5951, allocations: 89.83 kB / 0.6998 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.5952, allocations: 6.906 kB / 0.6998 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.5954, allocations: 10.81 kB / 0.6999 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.5954, allocations: 20.25 kB / 0.6999 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.645e-05/0.5955, allocations: 31.05 kB / 0.6999 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.519e-05/0.5955, allocations: 88.02 kB / 0.7 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5955, allocations: 2.625 kB / 0.7 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003944/0.5959, allocations: 78.06 kB / 0.7001 GB, free: 12.84 MB / 0.4981 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.001193/0.5971, allocations: 1.015 MB / 0.7011 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004976/0.5976, allocations: 202.7 kB / 0.7012 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5976, allocations: 0 / 0.7012 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.598, allocations: 223.3 kB / 0.7015 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.5984, allocations: 40.52 kB / 0.7015 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/0.6013, allocations: 2.073 MB / 0.7035 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.6017, allocations: 0.7085 MB / 0.7042 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002944/0.602, allocations: 73.39 kB / 0.7043 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.6022, allocations: 67.41 kB / 0.7043 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.6022, allocations: 0 / 0.7043 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05031/0.6525, allocations: 7.328 MB / 0.7115 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.78, allocations: 7.922 kB / 0.7115 GB, free: 1.137 MB / 0.4981 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 15.851805288810283]