Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009502/0.0009504, allocations: 91.88 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 203.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.7 MB / 246.8 MB, free: 9.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.19 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002893, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1515, allocations: 63.57 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4021/0.5536, allocations: 148.1 MB / 0.6165 GB, free: 336 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.5552, allocations: 1.081 MB / 0.6176 GB, free: 15.26 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.826e-05/0.5553, allocations: 4 kB / 0.6176 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.5556, allocations: 31.81 kB / 0.6176 GB, free: 15.22 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007554/0.5563, allocations: 241 kB / 0.6178 GB, free: 14.99 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.5567, allocations: 106.9 kB / 0.6179 GB, free: 14.89 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.557, allocations: 243.1 kB / 0.6182 GB, free: 14.65 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.156e-05/0.5571, allocations: 10.23 kB / 0.6182 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.5574, allocations: 87.64 kB / 0.6183 GB, free: 14.56 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.5575, allocations: 59.75 kB / 0.6183 GB, free: 14.5 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.5575, allocations: 8 kB / 0.6183 GB, free: 14.49 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006051/0.5581, allocations: 267.7 kB / 0.6186 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.352e-05/0.5582, allocations: 19.95 kB / 0.6186 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.233e-05/0.5583, allocations: 69.52 kB / 0.6187 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.5589, allocations: 283.3 kB / 0.6189 GB, free: 13.86 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5589, allocations: 10.38 kB / 0.6189 GB, free: 13.85 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.5589, allocations: 0 / 0.6189 GB, free: 13.85 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.5589, allocations: 0 / 0.6189 GB, free: 13.85 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000515/0.5594, allocations: 386.2 kB / 0.6193 GB, free: 13.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.5595, allocations: 12.88 kB / 0.6193 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.407e-05/0.5596, allocations: 42.73 kB / 0.6194 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002254/0.5618, allocations: 188.6 kB / 0.6195 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.5621, allocations: 215.8 kB / 0.6198 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.5621, allocations: 4 kB / 0.6198 GB, free: 12.93 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.682e-05/0.5622, allocations: 11.91 kB / 0.6198 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005142/0.5627, allocations: 228 kB / 0.62 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.5627, allocations: 0 / 0.62 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.5628, allocations: 8 kB / 0.62 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.5628, allocations: 0 / 0.62 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.5633, allocations: 171.8 kB / 0.6202 GB, free: 12.5 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.001069/0.5643, allocations: 0.581 MB / 0.6207 GB, free: 11.87 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003535/0.5647, allocations: 142.5 kB / 0.6209 GB, free: 11.72 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.5649, allocations: 68.83 kB / 0.6209 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.5649, allocations: 4 kB / 0.6209 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.5649, allocations: 34.56 kB / 0.621 GB, free: 11.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 3.116e-06/0.565, allocations: 0 / 0.621 GB, free: 11.6 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.0055/0.5705, allocations: 1.314 MB / 0.6222 GB, free: 10.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.5705, allocations: 55.41 kB / 0.6223 GB, free: 10.13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.226e-05/0.5706, allocations: 105.8 kB / 0.6224 GB, free: 10.02 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.338e-05/0.5707, allocations: 33.7 kB / 0.6224 GB, free: 9.977 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.5707, allocations: 92.02 kB / 0.6225 GB, free: 9.883 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.5708, allocations: 70.95 kB / 0.6226 GB, free: 9.812 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.255e-05/0.5709, allocations: 29.64 kB / 0.6226 GB, free: 9.777 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.571, allocations: 318.8 kB / 0.6229 GB, free: 9.457 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001571/0.5711, allocations: 75.83 kB / 0.623 GB, free: 9.383 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.5713, allocations: 107.3 kB / 0.6231 GB, free: 9.266 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/0.5717, allocations: 183.4 kB / 0.6233 GB, free: 9.074 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.5717, allocations: 0 / 0.6233 GB, free: 9.074 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004951/0.5722, allocations: 261.2 kB / 0.6235 GB, free: 8.812 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.5722, allocations: 4 kB / 0.6235 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5722, allocations: 0 / 0.6235 GB, free: 8.809 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001837/0.5724, allocations: 52.81 kB / 0.6236 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.5727, allocations: 55.91 kB / 0.6236 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004291/0.5732, allocations: 0.5719 MB / 0.6242 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001941/0.5734, allocations: 8 kB / 0.6242 GB, free: 8.094 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.587e-05/0.5734, allocations: 20 kB / 0.6242 GB, free: 8.074 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.0001238/0.5736, allocations: 125.8 kB / 0.6243 GB, free: 7.941 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.5736, allocations: 16 kB / 0.6243 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007985/0.5744, allocations: 349.4 kB / 0.6247 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.5745, allocations: 4 kB / 0.6247 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5745, allocations: 0 / 0.6247 GB, free: 7.578 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.5745, allocations: 3.984 kB / 0.6247 GB, free: 7.574 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009677/0.5754, allocations: 0.6236 MB / 0.6253 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5755, allocations: 0 / 0.6253 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.5758, allocations: 63.95 kB / 0.6254 GB, free: 6.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.529e-05/0.5759, allocations: 20.84 kB / 0.6254 GB, free: 6.797 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.5759, allocations: 15.92 kB / 0.6254 GB, free: 6.781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009083/0.5768, allocations: 1.278 MB / 0.6266 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5769, allocations: 0 / 0.6266 GB, free: 5.371 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006949/0.5776, allocations: 438.3 kB / 0.6271 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.5776, allocations: 88.95 kB / 0.6271 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.5777, allocations: 4 kB / 0.6271 GB, free: 4.809 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.5779, allocations: 15.98 kB / 0.6272 GB, free: 4.793 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.073e-05/0.578, allocations: 27.92 kB / 0.6272 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.578, allocations: 27.98 kB / 0.6272 GB, free: 4.738 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.828e-05/0.5781, allocations: 91.27 kB / 0.6273 GB, free: 4.648 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5781, allocations: 0 / 0.6273 GB, free: 4.648 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004027/0.5785, allocations: 80 kB / 0.6274 GB, free: 4.57 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 (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.001247/0.5797, allocations: 1.001 MB / 0.6284 GB, free: 3.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004833/0.5802, allocations: 195.8 kB / 0.6285 GB, free: 3.336 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.5802, allocations: 3.938 kB / 0.6285 GB, free: 3.332 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003357/0.5806, allocations: 230.6 kB / 0.6288 GB, free: 3.094 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004901/0.5811, allocations: 48.73 kB / 0.6288 GB, free: 3.047 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.5837, allocations: 2.169 MB / 0.6309 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.584, allocations: 0.7088 MB / 0.6316 GB, free: 32 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004399/0.5844, allocations: 73.39 kB / 0.6317 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.5847, allocations: 75.33 kB / 0.6318 GB, free: 15.89 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5847, allocations: 4 kB / 0.6318 GB, free: 15.88 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.604, allocations: 6.92 MB / 0.6385 GB, free: 9.105 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/0.6042, allocations: 226.3 kB / 0.6387 GB, free: 8.844 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.506, allocations: 3.938 kB / 0.6387 GB, free: 8.84 MB / 478.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches