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.001791/0.001791, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002374/0.002374, allocations: 209 kB / 23.73 MB, free: 4.387 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.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2277/0.2277, allocations: 46.96 MB / 360.9 MB, free: 3.988 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 71.88 kB / 0.4961 GB, free: 7.676 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3061, allocations: 66.04 MB / 0.5606 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1712/0.4773, allocations: 131.3 MB / 0.6888 GB, free: 328 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001495/0.4788, allocations: 0.9539 MB / 0.6898 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.462e-05/0.4789, allocations: 4 kB / 0.6898 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.4791, allocations: 35.77 kB / 0.6898 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007091/0.4798, allocations: 268.4 kB / 0.6901 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.4802, allocations: 123.4 kB / 0.6902 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.4804, allocations: 183.2 kB / 0.6904 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.4805, allocations: 4 kB / 0.6904 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002077/0.4807, allocations: 95.61 kB / 0.6905 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.4808, allocations: 55.75 kB / 0.6905 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.4808, allocations: 8 kB / 0.6905 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005303/0.4814, allocations: 259.7 kB / 0.6908 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.4814, allocations: 23.98 kB / 0.6908 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.087e-05/0.4815, allocations: 47.78 kB / 0.6908 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004683/0.482, allocations: 283.2 kB / 0.6911 GB, free: 14 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.482, allocations: 0 / 0.6911 GB, free: 14 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.482, allocations: 0 / 0.6911 GB, free: 14 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.482, allocations: 0 / 0.6911 GB, free: 14 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.0005115/0.4825, allocations: 333.8 kB / 0.6914 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4825, allocations: 12.03 kB / 0.6914 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.4826, allocations: 42.73 kB / 0.6915 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/0.4847, allocations: 196.6 kB / 0.6917 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.485, allocations: 153.6 kB / 0.6918 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.485, allocations: 8 kB / 0.6918 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.743e-05/0.4851, allocations: 8 kB / 0.6918 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.4856, allocations: 293.2 kB / 0.6921 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.4856, allocations: 0 / 0.6921 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.4857, allocations: 8 kB / 0.6921 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4857, allocations: 7.938 kB / 0.6921 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004571/0.4861, allocations: 171.8 kB / 0.6923 GB, free: 12.7 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.001063/0.4872, allocations: 0.5356 MB / 0.6928 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.4876, allocations: 134.5 kB / 0.6929 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.4877, allocations: 64.83 kB / 0.693 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.4877, allocations: 7.984 kB / 0.693 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.4878, allocations: 38.81 kB / 0.693 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.382e-06/0.4878, allocations: 0 / 0.693 GB, free: 11.85 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.005313/0.4931, allocations: 1.158 MB / 0.6942 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.4931, allocations: 51.41 kB / 0.6942 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.809e-05/0.4932, allocations: 113.8 kB / 0.6943 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.4932, allocations: 29.7 kB / 0.6944 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.364e-05/0.4933, allocations: 104 kB / 0.6945 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.676e-05/0.4934, allocations: 71.38 kB / 0.6945 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.4935, allocations: 53.69 kB / 0.6946 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4936, allocations: 326.7 kB / 0.6949 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.4938, allocations: 71.95 kB / 0.695 GB, free: 9.785 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.494, allocations: 108.9 kB / 0.6951 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.4944, allocations: 179.3 kB / 0.6952 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4944, allocations: 0 / 0.6952 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005209/0.4949, allocations: 255.8 kB / 0.6955 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.4949, allocations: 8 kB / 0.6955 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4949, allocations: 0 / 0.6955 GB, free: 9.215 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.4951, allocations: 48.83 kB / 0.6955 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.4954, allocations: 59.89 kB / 0.6956 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004722/0.4959, allocations: 0.5642 MB / 0.6961 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.4961, allocations: 7.984 kB / 0.6961 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.4961, allocations: 24 kB / 0.6962 GB, free: 8.484 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.0001245/0.4962, allocations: 121.8 kB / 0.6963 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.4963, allocations: 23.78 kB / 0.6963 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007804/0.4971, allocations: 357.4 kB / 0.6967 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.4971, allocations: 4 kB / 0.6967 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.4971, allocations: 0 / 0.6967 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4971, allocations: 4 kB / 0.6967 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.4981, allocations: 0.5714 MB / 0.6972 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4982, allocations: 4 kB / 0.6972 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.4985, allocations: 59.95 kB / 0.6973 GB, free: 7.277 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.2e-05/0.4986, allocations: 20.78 kB / 0.6973 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.147e-05/0.4986, allocations: 12 kB / 0.6973 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.4996, allocations: 1.263 MB / 0.6985 GB, free: 5.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4996, allocations: 4.031 kB / 0.6985 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007163/0.5004, allocations: 426.6 kB / 0.699 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.5004, allocations: 15.98 kB / 0.699 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.5004, allocations: 0 / 0.699 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.5006, allocations: 20.14 kB / 0.699 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.5007, allocations: 23.97 kB / 0.699 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.5007, allocations: 27.98 kB / 0.699 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.449e-05/0.5008, allocations: 91.2 kB / 0.6991 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5008, allocations: 0 / 0.6991 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004058/0.5012, allocations: 79.94 kB / 0.6992 GB, free: 5.164 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.001314/0.5025, allocations: 1.012 MB / 0.7002 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005111/0.503, allocations: 195.7 kB / 0.7004 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.503, allocations: 8.188 kB / 0.7004 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003935/0.5034, allocations: 216.6 kB / 0.7006 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.5038, allocations: 42.78 kB / 0.7006 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.5067, allocations: 2.099 MB / 0.7027 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.063e-05/0.5068, allocations: 85.98 kB / 0.7028 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003139/0.5071, allocations: 77.38 kB / 0.7028 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002035/0.5073, allocations: 71.39 kB / 0.7029 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/0.5073, allocations: 3.938 kB / 0.7029 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05277/0.5601, allocations: 7.868 MB / 0.7106 GB, free: 9.469 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.01/13.57, allocations: 4.062 kB / 0.7106 GB, free: 9.465 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.465086094103754]