Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001198/0.001198, allocations: 114 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001493/0.001493, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2363/0.2363, allocations: 46.11 MB / 343.8 MB, free: 11.74 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 75 kB / 417.1 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1364, allocations: 62.45 MB / 479.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4646/0.601, allocations: 150.4 MB / 0.6152 GB, free: 13.34 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.6029, allocations: 1.59 MB / 0.6167 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.603, allocations: 0 / 0.6167 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.6033, allocations: 42.3 kB / 0.6168 GB, free: 11.72 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000846/0.6042, allocations: 377.4 kB / 0.6171 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004224/0.6047, allocations: 162.8 kB / 0.6173 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.6049, allocations: 179.3 kB / 0.6175 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.605, allocations: 14.19 kB / 0.6175 GB, free: 11.01 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.6051, allocations: 79.64 kB / 0.6176 GB, free: 10.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.6052, allocations: 59.8 kB / 0.6176 GB, free: 10.88 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.6053, allocations: 8 kB / 0.6176 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009129/0.6062, allocations: 0.6236 MB / 0.6182 GB, free: 10.24 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.6063, allocations: 35.83 kB / 0.6183 GB, free: 10.21 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.6063, allocations: 47.8 kB / 0.6183 GB, free: 10.16 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005937/0.6069, allocations: 450.9 kB / 0.6187 GB, free: 9.719 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6069, allocations: 3.938 kB / 0.6187 GB, free: 9.715 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.607, allocations: 0 / 0.6187 GB, free: 9.715 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.607, allocations: 0 / 0.6187 GB, free: 9.715 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000581/0.6076, allocations: 428.1 kB / 0.6191 GB, free: 9.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.6076, allocations: 12.03 kB / 0.6192 GB, free: 9.238 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.818e-05/0.6077, allocations: 42.73 kB / 0.6192 GB, free: 9.188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.6099, allocations: 196.6 kB / 0.6194 GB, free: 8.996 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.6101, allocations: 211.9 kB / 0.6196 GB, free: 8.75 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.6101, allocations: 8 kB / 0.6196 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.6102, allocations: 12 kB / 0.6196 GB, free: 8.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004642/0.6107, allocations: 200.5 kB / 0.6198 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.6107, allocations: 3.984 kB / 0.6198 GB, free: 8.527 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.288e-05/0.6107, allocations: 4 kB / 0.6198 GB, free: 8.523 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.6107, allocations: 11.94 kB / 0.6198 GB, free: 8.512 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.6113, allocations: 227.9 kB / 0.62 GB, free: 8.289 MB / 462.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.001689/0.613, allocations: 0.6685 MB / 0.6207 GB, free: 7.566 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.6134, allocations: 190.4 kB / 0.6209 GB, free: 7.371 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.6137, allocations: 92.81 kB / 0.621 GB, free: 7.277 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.6138, allocations: 93.09 kB / 0.621 GB, free: 7.168 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.6139, allocations: 30.56 kB / 0.6211 GB, free: 7.129 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.6139, allocations: 0 / 0.6211 GB, free: 7.129 MB / 462.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.005736/0.6196, allocations: 1.537 MB / 0.6226 GB, free: 5.484 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.6196, allocations: 55.41 kB / 0.6226 GB, free: 5.418 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.489e-05/0.6197, allocations: 113.8 kB / 0.6227 GB, free: 5.297 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.6198, allocations: 25.7 kB / 0.6228 GB, free: 5.266 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.6198, allocations: 100.3 kB / 0.6229 GB, free: 5.164 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.708e-05/0.6199, allocations: 71.03 kB / 0.6229 GB, free: 5.094 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.774e-05/0.62, allocations: 37.7 kB / 0.623 GB, free: 5.051 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6201, allocations: 326.8 kB / 0.6233 GB, free: 4.723 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.6204, allocations: 91.89 kB / 0.6234 GB, free: 4.633 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.6206, allocations: 123.4 kB / 0.6235 GB, free: 4.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/0.6211, allocations: 230.6 kB / 0.6237 GB, free: 4.266 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.6211, allocations: 0 / 0.6237 GB, free: 4.266 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006198/0.6217, allocations: 282.2 kB / 0.624 GB, free: 3.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.6217, allocations: 4 kB / 0.624 GB, free: 3.977 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.6218, allocations: 16.02 kB / 0.624 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.6219, allocations: 22.53 kB / 0.624 GB, free: 3.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.6224, allocations: 59.84 kB / 0.6241 GB, free: 3.879 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003872/0.6228, allocations: 0.529 MB / 0.6246 GB, free: 3.324 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003061/0.6231, allocations: 20.06 kB / 0.6246 GB, free: 3.305 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.6231, allocations: 7.984 kB / 0.6246 GB, free: 3.297 MB / 462.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.0001401/0.6233, allocations: 125.8 kB / 0.6247 GB, free: 3.164 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.029e-05/0.6234, allocations: 7.906 kB / 0.6247 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008064/0.6242, allocations: 317.7 kB / 0.625 GB, free: 2.836 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.6242, allocations: 3.938 kB / 0.625 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.6242, allocations: 3.984 kB / 0.625 GB, free: 2.828 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.6242, allocations: 4 kB / 0.6251 GB, free: 2.824 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.6254, allocations: 0.6835 MB / 0.6257 GB, free: 2.074 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.6254, allocations: 0 / 0.6257 GB, free: 2.074 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004511/0.6259, allocations: 47.95 kB / 0.6258 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.832e-05/0.626, allocations: 24.84 kB / 0.6258 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.626, allocations: 4.531 kB / 0.6258 GB, free: 1.996 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009511/0.627, allocations: 1.373 MB / 0.6271 GB, free: 496 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.627, allocations: 3.938 kB / 0.6271 GB, free: 492 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008814/0.6279, allocations: 446.7 kB / 0.6276 GB, free: 16 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.628, allocations: 85.02 kB / 0.6276 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.106e-05/0.628, allocations: 8.672 kB / 0.6277 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003438/0.6283, allocations: 12 kB / 0.6277 GB, free: 15.89 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.6284, allocations: 15.91 kB / 0.6277 GB, free: 15.88 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.6284, allocations: 8 kB / 0.6277 GB, free: 15.87 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.192e-05/0.6285, allocations: 95.33 kB / 0.6278 GB, free: 15.78 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6285, allocations: 0 / 0.6278 GB, free: 15.78 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000572/0.6291, allocations: 135.9 kB / 0.6279 GB, free: 15.64 MB / 478.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 (19): * Single equations (assignments): 18 * 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.00182/0.6309, allocations: 1.129 MB / 0.629 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006959/0.6316, allocations: 243.6 kB / 0.6292 GB, free: 14.24 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6316, allocations: 0 / 0.6292 GB, free: 14.24 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004233/0.6321, allocations: 235 kB / 0.6295 GB, free: 14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.6325, allocations: 46.84 kB / 0.6295 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.6357, allocations: 2.169 MB / 0.6316 GB, free: 11.67 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.636, allocations: 0.7085 MB / 0.6323 GB, free: 10.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004086/0.6364, allocations: 53.53 kB / 0.6324 GB, free: 10.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.6365, allocations: 43.41 kB / 0.6324 GB, free: 10.84 MB / 478.1 MB Notification: Performance of SimCode: time 3.51e-07/0.6366, allocations: 0 / 0.6324 GB, free: 10.84 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.6622, allocations: 7.823 MB / 0.6401 GB, free: 3.168 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/0.6624, allocations: 240.4 kB / 0.6403 GB, free: 2.902 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.095/2.757, allocations: 0 / 0.6403 GB, free: 2.902 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches