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.0007808/0.0007806, allocations: 97.75 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009579/0.0009581, allocations: 200.8 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2507/0.2507, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002639, allocations: 4 kB / 419.6 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1126, allocations: 63.55 MB / 483.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4011/0.5137, allocations: 148.4 MB / 0.6167 GB, free: 264 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002054/0.5158, allocations: 1.62 MB / 0.6183 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.5158, allocations: 0 / 0.6183 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.5162, allocations: 48.28 kB / 0.6183 GB, free: 14.6 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.5173, allocations: 367 kB / 0.6187 GB, free: 14.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/0.5178, allocations: 155.1 kB / 0.6188 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.5181, allocations: 243.2 kB / 0.6191 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.885e-05/0.5182, allocations: 6.25 kB / 0.6191 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001738/0.5184, allocations: 75.69 kB / 0.6192 GB, free: 13.78 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.5185, allocations: 59.77 kB / 0.6192 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.5186, allocations: 4 kB / 0.6192 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.5197, allocations: 0.7094 MB / 0.6199 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.5198, allocations: 39.89 kB / 0.6199 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.675e-05/0.5199, allocations: 74.05 kB / 0.62 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006114/0.5205, allocations: 446.8 kB / 0.6204 GB, free: 12.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5205, allocations: 0 / 0.6204 GB, free: 12.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5205, allocations: 0 / 0.6204 GB, free: 12.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.571e-06/0.5205, allocations: 0 / 0.6204 GB, free: 12.45 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.0006966/0.5212, allocations: 412.1 kB / 0.6208 GB, free: 12 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.972e-05/0.5213, allocations: 12.81 kB / 0.6208 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.695e-05/0.5214, allocations: 42.73 kB / 0.6209 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00238/0.5238, allocations: 196.6 kB / 0.6211 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.5241, allocations: 211.9 kB / 0.6213 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.5241, allocations: 11.98 kB / 0.6213 GB, free: 11.49 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/0.5242, allocations: 12 kB / 0.6213 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.5246, allocations: 197.5 kB / 0.6215 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.5247, allocations: 0 / 0.6215 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.385e-05/0.5247, allocations: 15.94 kB / 0.6215 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.5247, allocations: 3.938 kB / 0.6215 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/0.5253, allocations: 227.9 kB / 0.6217 GB, free: 11.04 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.001774/0.5271, allocations: 0.669 MB / 0.6224 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.5275, allocations: 190.5 kB / 0.6226 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.5278, allocations: 92.81 kB / 0.6226 GB, free: 10.03 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.528, allocations: 89.09 kB / 0.6227 GB, free: 9.922 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.528, allocations: 38.5 kB / 0.6228 GB, free: 9.875 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/0.528, allocations: 4 kB / 0.6228 GB, free: 9.871 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.005851/0.5339, allocations: 1.527 MB / 0.6243 GB, free: 8.234 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.5339, allocations: 55.41 kB / 0.6243 GB, free: 8.168 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.534, allocations: 117.7 kB / 0.6244 GB, free: 8.043 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.5341, allocations: 29.7 kB / 0.6245 GB, free: 8.008 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.5342, allocations: 100.4 kB / 0.6246 GB, free: 7.906 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/0.5342, allocations: 70.94 kB / 0.6246 GB, free: 7.836 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.5343, allocations: 21.72 kB / 0.6246 GB, free: 7.809 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5344, allocations: 322.8 kB / 0.6249 GB, free: 7.484 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.5346, allocations: 91.95 kB / 0.625 GB, free: 7.395 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.5349, allocations: 123.3 kB / 0.6252 GB, free: 7.262 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.5353, allocations: 230.6 kB / 0.6254 GB, free: 7.027 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5353, allocations: 11.92 kB / 0.6254 GB, free: 7.016 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000631/0.536, allocations: 282.2 kB / 0.6257 GB, free: 6.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.536, allocations: 4 kB / 0.6257 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.536, allocations: 0 / 0.6257 GB, free: 6.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001279/0.5361, allocations: 28.94 kB / 0.6257 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.5366, allocations: 48.84 kB / 0.6257 GB, free: 6.648 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003584/0.537, allocations: 0.5367 MB / 0.6263 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003122/0.5373, allocations: 19.86 kB / 0.6263 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.5373, allocations: 8 kB / 0.6263 GB, free: 6.059 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.0001212/0.5375, allocations: 129.9 kB / 0.6264 GB, free: 5.922 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.5375, allocations: 11.91 kB / 0.6264 GB, free: 5.91 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007624/0.5383, allocations: 303.2 kB / 0.6267 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.5383, allocations: 7.938 kB / 0.6267 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5383, allocations: 0 / 0.6267 GB, free: 5.594 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.5384, allocations: 3.984 kB / 0.6267 GB, free: 5.59 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.5394, allocations: 0.6749 MB / 0.6274 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5395, allocations: 0 / 0.6274 GB, free: 4.852 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004515/0.5399, allocations: 51.89 kB / 0.6274 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-05/0.54, allocations: 20.84 kB / 0.6274 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.54, allocations: 4 kB / 0.6275 GB, free: 4.773 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008911/0.5409, allocations: 1.273 MB / 0.6287 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5409, allocations: 7.969 kB / 0.6287 GB, free: 3.359 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/0.5418, allocations: 445.8 kB / 0.6291 GB, free: 2.898 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.372e-05/0.5419, allocations: 85.05 kB / 0.6292 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.5419, allocations: 15.92 kB / 0.6292 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.5423, allocations: 8.062 kB / 0.6292 GB, free: 2.773 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.5423, allocations: 19.97 kB / 0.6292 GB, free: 2.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.5424, allocations: 8 kB / 0.6293 GB, free: 2.746 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.916e-05/0.5424, allocations: 91.27 kB / 0.6293 GB, free: 2.656 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5424, allocations: 3.938 kB / 0.6293 GB, free: 2.652 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005723/0.543, allocations: 139.9 kB / 0.6295 GB, free: 2.516 MB / 462.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.001832/0.5448, allocations: 1.137 MB / 0.6306 GB, free: 1.34 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006514/0.5455, allocations: 235.5 kB / 0.6308 GB, free: 1.113 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5455, allocations: 3.938 kB / 0.6308 GB, free: 1.109 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003993/0.5459, allocations: 238.5 kB / 0.631 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/0.5464, allocations: 46.44 kB / 0.6311 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.5496, allocations: 2.226 MB / 0.6333 GB, free: 14.47 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.5499, allocations: 0.7087 MB / 0.634 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004357/0.5503, allocations: 54.09 kB / 0.634 GB, free: 13.69 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.5505, allocations: 35.42 kB / 0.634 GB, free: 13.65 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5505, allocations: 0 / 0.634 GB, free: 13.65 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01955/0.57, allocations: 7.583 MB / 0.6414 GB, free: 6.23 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.5703, allocations: 234 kB / 0.6417 GB, free: 5.965 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.527, allocations: 0 / 0.6417 GB, free: 5.965 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