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.001836/0.001835, allocations: 115.7 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.00246/0.00246, allocations: 209.8 kB / 18.27 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, 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.2403/0.2403, allocations: 46.09 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 77.75 kB / 417.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1365, allocations: 62.45 MB / 479.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4264/0.5629, allocations: 150.2 MB / 0.615 GB, free: 13.4 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.5647, allocations: 1.058 MB / 0.616 GB, free: 12.35 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.5648, allocations: 8 kB / 0.616 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.5652, allocations: 26.33 kB / 0.6161 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.5663, allocations: 242.4 kB / 0.6163 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004508/0.5667, allocations: 107.4 kB / 0.6164 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000371/0.5671, allocations: 179.2 kB / 0.6166 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.769e-05/0.5672, allocations: 6.25 kB / 0.6166 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.5675, allocations: 103.6 kB / 0.6167 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.5676, allocations: 55.81 kB / 0.6167 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.5677, allocations: 4 kB / 0.6167 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006781/0.5684, allocations: 283.6 kB / 0.617 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.258e-05/0.5684, allocations: 19.92 kB / 0.617 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.703e-05/0.5685, allocations: 47.78 kB / 0.6171 GB, free: 11.3 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006353/0.5692, allocations: 287.3 kB / 0.6173 GB, free: 11.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5692, allocations: 0.6562 kB / 0.6173 GB, free: 11.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5692, allocations: 0 / 0.6173 GB, free: 11.02 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.5692, allocations: 7.984 kB / 0.6174 GB, free: 11.01 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.0005876/0.5698, allocations: 399.9 kB / 0.6177 GB, free: 10.57 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.5699, allocations: 12.03 kB / 0.6177 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.906e-05/0.5699, allocations: 42.75 kB / 0.6178 GB, free: 10.51 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/0.5721, allocations: 192.5 kB / 0.618 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.5724, allocations: 215.4 kB / 0.6182 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.5725, allocations: 4 kB / 0.6182 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.176e-05/0.5725, allocations: 8 kB / 0.6182 GB, free: 10.06 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005284/0.5731, allocations: 228 kB / 0.6184 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.5731, allocations: 0 / 0.6184 GB, free: 9.824 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.5731, allocations: 7.938 kB / 0.6184 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.5731, allocations: 4 kB / 0.6184 GB, free: 9.812 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004311/0.5736, allocations: 163.9 kB / 0.6186 GB, free: 9.652 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.001099/0.5747, allocations: 0.5843 MB / 0.6191 GB, free: 9.012 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.575, allocations: 138.5 kB / 0.6193 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.5752, allocations: 68.81 kB / 0.6193 GB, free: 8.797 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.5752, allocations: 4 kB / 0.6193 GB, free: 8.793 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.5753, allocations: 38.56 kB / 0.6194 GB, free: 8.746 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.5753, allocations: 3.938 kB / 0.6194 GB, free: 8.742 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.005362/0.5806, allocations: 1.311 MB / 0.6207 GB, free: 7.348 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.5807, allocations: 55.41 kB / 0.6207 GB, free: 7.281 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.5808, allocations: 109.8 kB / 0.6208 GB, free: 7.164 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.5808, allocations: 33.7 kB / 0.6209 GB, free: 7.125 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.649e-05/0.5809, allocations: 95.94 kB / 0.6209 GB, free: 7.027 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.979e-05/0.581, allocations: 67.03 kB / 0.621 GB, free: 6.961 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.391e-05/0.5811, allocations: 53.69 kB / 0.6211 GB, free: 6.902 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.5812, allocations: 326.8 kB / 0.6214 GB, free: 6.574 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.5813, allocations: 71.83 kB / 0.6214 GB, free: 6.504 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.5815, allocations: 103.3 kB / 0.6215 GB, free: 6.391 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003357/0.5819, allocations: 187.3 kB / 0.6217 GB, free: 6.195 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5819, allocations: 0 / 0.6217 GB, free: 6.195 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004963/0.5824, allocations: 257.5 kB / 0.622 GB, free: 5.938 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5824, allocations: 8 kB / 0.622 GB, free: 5.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5824, allocations: 0 / 0.622 GB, free: 5.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001935/0.5826, allocations: 48.92 kB / 0.622 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.583, allocations: 59.89 kB / 0.6221 GB, free: 5.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004204/0.5834, allocations: 0.5679 MB / 0.6226 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.5836, allocations: 8.031 kB / 0.6226 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/0.5837, allocations: 27.94 kB / 0.6227 GB, free: 5.191 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.0001314/0.5838, allocations: 125.9 kB / 0.6228 GB, free: 5.059 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.19e-05/0.5839, allocations: 7.906 kB / 0.6228 GB, free: 5.051 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008342/0.5847, allocations: 347 kB / 0.6231 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5847, allocations: 0 / 0.6231 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.5848, allocations: 2.75 kB / 0.6231 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.5848, allocations: 7.984 kB / 0.6231 GB, free: 4.699 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.5858, allocations: 0.6267 MB / 0.6237 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5858, allocations: 0 / 0.6237 GB, free: 4.004 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003593/0.5862, allocations: 63.89 kB / 0.6238 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.892e-05/0.5863, allocations: 24.78 kB / 0.6238 GB, free: 3.914 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.5863, allocations: 16.08 kB / 0.6238 GB, free: 3.898 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009758/0.5873, allocations: 1.368 MB / 0.6252 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5873, allocations: 0 / 0.6252 GB, free: 2.391 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007107/0.588, allocations: 438.6 kB / 0.6256 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.5881, allocations: 85.02 kB / 0.6257 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.5881, allocations: 0 / 0.6257 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.5884, allocations: 15.92 kB / 0.6257 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.5885, allocations: 24.84 kB / 0.6257 GB, free: 1.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/0.5885, allocations: 24 kB / 0.6257 GB, free: 1.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.676e-05/0.5886, allocations: 95.56 kB / 0.6258 GB, free: 1.676 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5886, allocations: 4.062 kB / 0.6258 GB, free: 1.672 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004504/0.5891, allocations: 80 kB / 0.6259 GB, free: 1.594 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.001294/0.5904, allocations: 1.012 MB / 0.6269 GB, free: 0.543 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005841/0.591, allocations: 219.8 kB / 0.6271 GB, free: 336 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.591, allocations: 0 / 0.6271 GB, free: 336 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.5913, allocations: 224.9 kB / 0.6273 GB, free: 100 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.5918, allocations: 51.72 kB / 0.6274 GB, free: 52 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.5946, allocations: 2.085 MB / 0.6294 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.5948, allocations: 0.7084 MB / 0.6301 GB, free: 13.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004485/0.5953, allocations: 78.27 kB / 0.6302 GB, free: 13.04 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.5955, allocations: 75.38 kB / 0.6303 GB, free: 12.96 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5955, allocations: 0 / 0.6303 GB, free: 12.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02391/0.6195, allocations: 7.184 MB / 0.6373 GB, free: 5.922 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/0.6197, allocations: 225.1 kB / 0.6375 GB, free: 5.668 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.631, allocations: 4 kB / 0.6375 GB, free: 5.664 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