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) 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007659/0.0007659, allocations: 93.8 kB / 17.35 MB, free: 6.371 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.0007647/0.0007647, allocations: 171.6 kB / 18.25 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.3 MB / 242.3 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2223/0.2223, allocations: 44.24 MB / 337.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003052, allocations: 8.188 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3701/0.4913, allocations: 145.3 MB / 0.6031 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.4925, allocations: 0.9921 MB / 0.6041 GB, free: 436 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.045e-05/0.4925, allocations: 4 kB / 0.6041 GB, free: 432 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002142/0.4927, allocations: 23.89 kB / 0.6041 GB, free: 408 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000486/0.4932, allocations: 217.9 kB / 0.6043 GB, free: 192 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.4935, allocations: 95.8 kB / 0.6044 GB, free: 96 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.4938, allocations: 211.2 kB / 0.6046 GB, free: 15.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.4939, allocations: 6.25 kB / 0.6046 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.4941, allocations: 87.69 kB / 0.6047 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.4942, allocations: 55.7 kB / 0.6048 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.4942, allocations: 4 kB / 0.6048 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.4946, allocations: 263.7 kB / 0.605 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.027e-05/0.4947, allocations: 15.97 kB / 0.605 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.795e-05/0.4948, allocations: 81.44 kB / 0.6051 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003721/0.4952, allocations: 275.4 kB / 0.6054 GB, free: 15.11 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4952, allocations: 0 / 0.6054 GB, free: 15.11 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4952, allocations: 0 / 0.6054 GB, free: 15.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.4952, allocations: 0 / 0.6054 GB, free: 15.11 MB / 446.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.0004074/0.4956, allocations: 396 kB / 0.6058 GB, free: 14.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.4956, allocations: 12.03 kB / 0.6058 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.4957, allocations: 38.75 kB / 0.6058 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.4977, allocations: 188.6 kB / 0.606 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002014/0.498, allocations: 207.8 kB / 0.6062 GB, free: 14.19 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.498, allocations: 7.938 kB / 0.6062 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.502e-05/0.498, allocations: 15.91 kB / 0.6062 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.4985, allocations: 218.3 kB / 0.6064 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.4985, allocations: 4 kB / 0.6064 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.4986, allocations: 4.875 kB / 0.6064 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.4986, allocations: 4 kB / 0.6064 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/0.499, allocations: 174.2 kB / 0.6066 GB, free: 13.76 MB / 446.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.0009446/0.5, allocations: 0.5758 MB / 0.6072 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.5003, allocations: 134.5 kB / 0.6073 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.5004, allocations: 72.83 kB / 0.6074 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.5005, allocations: 0 / 0.6074 GB, free: 12.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.5005, allocations: 38.55 kB / 0.6074 GB, free: 12.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.5005, allocations: 4 kB / 0.6074 GB, free: 12.86 MB / 446.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.005135/0.5056, allocations: 1.305 MB / 0.6087 GB, free: 11.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.5057, allocations: 59.41 kB / 0.6087 GB, free: 11.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.5058, allocations: 117.8 kB / 0.6088 GB, free: 11.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.5058, allocations: 29.7 kB / 0.6089 GB, free: 11.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.5059, allocations: 92.03 kB / 0.609 GB, free: 11.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/0.506, allocations: 74.89 kB / 0.609 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.506, allocations: 25.64 kB / 0.6091 GB, free: 11.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.5061, allocations: 322.8 kB / 0.6094 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.5063, allocations: 67.97 kB / 0.6094 GB, free: 10.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001676/0.5065, allocations: 107.2 kB / 0.6095 GB, free: 10.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.5068, allocations: 183.3 kB / 0.6097 GB, free: 10.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.5068, allocations: 0 / 0.6097 GB, free: 10.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004695/0.5073, allocations: 261.3 kB / 0.61 GB, free: 10.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5073, allocations: 4 kB / 0.61 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.5073, allocations: 0 / 0.61 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.5075, allocations: 52.81 kB / 0.61 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003207/0.5078, allocations: 55.91 kB / 0.6101 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003887/0.5082, allocations: 0.5719 MB / 0.6106 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.5084, allocations: 11.97 kB / 0.6106 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.5085, allocations: 20 kB / 0.6106 GB, free: 9.34 MB / 446.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.000114/0.5086, allocations: 125.8 kB / 0.6108 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.5087, allocations: 7.906 kB / 0.6108 GB, free: 9.199 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007822/0.5094, allocations: 349.7 kB / 0.6111 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5095, allocations: 7.938 kB / 0.6111 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5095, allocations: 0 / 0.6111 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.5095, allocations: 3.984 kB / 0.6111 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009057/0.5104, allocations: 0.615 MB / 0.6117 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5104, allocations: 4.094 kB / 0.6117 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.5107, allocations: 63.95 kB / 0.6118 GB, free: 8.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.072e-05/0.5108, allocations: 20.78 kB / 0.6118 GB, free: 8.066 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.5109, allocations: 15.98 kB / 0.6118 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008186/0.5117, allocations: 1.273 MB / 0.6131 GB, free: 6.645 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5117, allocations: 4.031 kB / 0.6131 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006342/0.5123, allocations: 433.9 kB / 0.6135 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.5124, allocations: 88.98 kB / 0.6136 GB, free: 6.086 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.5124, allocations: 8 kB / 0.6136 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.5127, allocations: 15.92 kB / 0.6136 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/0.5127, allocations: 15.98 kB / 0.6136 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-05/0.5128, allocations: 35.98 kB / 0.6136 GB, free: 6.012 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.502e-05/0.5128, allocations: 91.27 kB / 0.6137 GB, free: 5.922 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5128, allocations: 0 / 0.6137 GB, free: 5.922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003867/0.5132, allocations: 79.94 kB / 0.6138 GB, free: 5.844 MB / 446.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.001072/0.5143, allocations: 1.003 MB / 0.6148 GB, free: 4.805 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004409/0.5147, allocations: 207.8 kB / 0.615 GB, free: 4.602 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5147, allocations: 0 / 0.615 GB, free: 4.602 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.5151, allocations: 222.5 kB / 0.6152 GB, free: 4.371 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.5155, allocations: 48.92 kB / 0.6152 GB, free: 4.324 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.5179, allocations: 2.18 MB / 0.6174 GB, free: 2.031 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.5182, allocations: 0.7015 MB / 0.6181 GB, free: 1.305 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004134/0.5186, allocations: 81.53 kB / 0.6181 GB, free: 1.227 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.5188, allocations: 71.33 kB / 0.6182 GB, free: 1.156 MB / 446.1 MB Notification: Performance of SimCode: time 4.5e-07/0.5188, allocations: 0 / 0.6182 GB, free: 1.156 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01862/0.5374, allocations: 6.911 MB / 0.6249 GB, free: 10.39 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.5376, allocations: 221.8 kB / 0.6252 GB, free: 10.14 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.394, allocations: 3.938 kB / 0.6252 GB, free: 10.14 MB / 462.1 MB (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 --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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches