Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 106.5 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002273/0.002273, allocations: 192.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2076/0.2076, allocations: 43.52 MB / 313.9 MB, free: 0.5195 MB / 254.1 MB 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.001476/0.001476, allocations: 66.61 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1155, allocations: 57.79 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4689/0.5844, allocations: 150.6 MB / 0.5773 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.5856, allocations: 0.9745 MB / 0.5783 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.301e-05/0.5856, allocations: 0 / 0.5783 GB, free: 12.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.5859, allocations: 37.27 kB / 0.5783 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006082/0.5866, allocations: 240.7 kB / 0.5786 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.5869, allocations: 119.9 kB / 0.5787 GB, free: 12.35 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.5872, allocations: 169.2 kB / 0.5788 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.5872, allocations: 5.188 kB / 0.5788 GB, free: 12.31 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.5874, allocations: 85.97 kB / 0.5789 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.073e-05/0.5875, allocations: 50.58 kB / 0.579 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.5875, allocations: 4.406 kB / 0.579 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005007/0.588, allocations: 272.2 kB / 0.5792 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.5881, allocations: 20.95 kB / 0.5792 GB, free: 12.28 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.5882, allocations: 45.61 kB / 0.5793 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.5886, allocations: 277.6 kB / 0.5796 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.5886, allocations: 2.406 kB / 0.5796 GB, free: 12.26 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5886, allocations: 0 / 0.5796 GB, free: 12.26 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.5886, allocations: 0 / 0.5796 GB, free: 12.26 MB / 430.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.0005114/0.5891, allocations: 405.9 kB / 0.5799 GB, free: 11.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.5892, allocations: 15.19 kB / 0.58 GB, free: 11.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.5892, allocations: 46.06 kB / 0.58 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/0.5914, allocations: 188 kB / 0.5802 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.5917, allocations: 202.5 kB / 0.5804 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.5917, allocations: 11.53 kB / 0.5804 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.5918, allocations: 10.88 kB / 0.5804 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/0.5923, allocations: 231.8 kB / 0.5806 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5923, allocations: 0 / 0.5806 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.5923, allocations: 0 / 0.5806 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.5923, allocations: 6.516 kB / 0.5806 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.5928, allocations: 172.9 kB / 0.5808 GB, free: 11.55 MB / 430.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.00103/0.5938, allocations: 0.5828 MB / 0.5814 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.5941, allocations: 140.4 kB / 0.5815 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001414/0.5943, allocations: 67.77 kB / 0.5816 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.5943, allocations: 5.297 kB / 0.5816 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.669e-05/0.5944, allocations: 40.78 kB / 0.5816 GB, free: 11.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 2.204e-06/0.5944, allocations: 0 / 0.5816 GB, free: 11.02 MB / 430.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.0055/0.5999, allocations: 1.304 MB / 0.5829 GB, free: 10.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.6, allocations: 53.94 kB / 0.5829 GB, free: 10.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.467e-05/0.6001, allocations: 107.8 kB / 0.583 GB, free: 10.35 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.6001, allocations: 32.05 kB / 0.5831 GB, free: 10.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.972e-05/0.6002, allocations: 92.19 kB / 0.5831 GB, free: 10.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.524e-05/0.6003, allocations: 78.19 kB / 0.5832 GB, free: 10.18 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.035e-05/0.6003, allocations: 48.61 kB / 0.5833 GB, free: 10.16 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6005, allocations: 326.8 kB / 0.5836 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.6006, allocations: 68.38 kB / 0.5836 GB, free: 9.848 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.6008, allocations: 112.3 kB / 0.5838 GB, free: 9.809 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.6011, allocations: 183.6 kB / 0.5839 GB, free: 9.762 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.6011, allocations: 3.938 kB / 0.5839 GB, free: 9.758 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004655/0.6016, allocations: 261.2 kB / 0.5842 GB, free: 9.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.6016, allocations: 5.125 kB / 0.5842 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.6016, allocations: 2.719 kB / 0.5842 GB, free: 9.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001819/0.6018, allocations: 46.14 kB / 0.5842 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.6021, allocations: 56.47 kB / 0.5843 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006084/0.6028, allocations: 0.567 MB / 0.5848 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.603, allocations: 8.188 kB / 0.5848 GB, free: 9.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.603, allocations: 28.64 kB / 0.5849 GB, free: 9.109 MB / 430.1 MB 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.0001505/0.6032, allocations: 136.1 kB / 0.585 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.6032, allocations: 9.188 kB / 0.585 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008676/0.6041, allocations: 332.8 kB / 0.5853 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.6041, allocations: 6.594 kB / 0.5853 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6041, allocations: 2.688 kB / 0.5853 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.6042, allocations: 4.609 kB / 0.5853 GB, free: 8.855 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.6051, allocations: 0.6215 MB / 0.5859 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6052, allocations: 0 / 0.5859 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.6055, allocations: 61.39 kB / 0.586 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.405e-05/0.6056, allocations: 22.56 kB / 0.586 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.6056, allocations: 15.39 kB / 0.586 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.6067, allocations: 1.369 MB / 0.5874 GB, free: 7.027 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-05/0.6067, allocations: 6.922 kB / 0.5874 GB, free: 7.023 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006879/0.6074, allocations: 435.5 kB / 0.5878 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.6075, allocations: 85.89 kB / 0.5879 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.6075, allocations: 9.734 kB / 0.5879 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.6078, allocations: 7.469 kB / 0.5879 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.6078, allocations: 24.12 kB / 0.5879 GB, free: 6.691 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.307e-05/0.6079, allocations: 30.48 kB / 0.588 GB, free: 6.688 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.532e-05/0.6079, allocations: 86.31 kB / 0.588 GB, free: 6.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6079, allocations: 64 / 0.588 GB, free: 6.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004328/0.6084, allocations: 88.39 kB / 0.5881 GB, free: 6.598 MB / 430.1 MB 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.001305/0.6097, allocations: 0.9983 MB / 0.5891 GB, free: 5.844 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005516/0.6103, allocations: 228.5 kB / 0.5893 GB, free: 5.789 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6103, allocations: 3.938 kB / 0.5893 GB, free: 5.785 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003427/0.6106, allocations: 229.6 kB / 0.5895 GB, free: 5.641 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.6111, allocations: 44.81 kB / 0.5896 GB, free: 5.629 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.6138, allocations: 2.051 MB / 0.5916 GB, free: 4.082 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.6142, allocations: 0.7096 MB / 0.5923 GB, free: 3.371 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004349/0.6147, allocations: 77.05 kB / 0.5923 GB, free: 3.332 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.6149, allocations: 72.2 kB / 0.5924 GB, free: 3.305 MB / 430.1 MB Notification: Performance of SimCode: time 7.52e-07/0.6149, allocations: 0 / 0.5924 GB, free: 3.305 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03964/0.6545, allocations: 7.259 MB / 0.5995 GB, free: 15.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.27, allocations: 13.39 kB / 0.5995 GB, free: 15.51 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches