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.001221/0.001222, allocations: 107.2 kB / 17.2 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001407/0.001407, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 227.4 MB / 246.3 MB, free: 9.008 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2568/0.2568, allocations: 46.11 MB / 343.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001482, allocations: 78.41 kB / 416.9 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1677, allocations: 62.43 MB / 479.4 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.5181/0.6859, allocations: 150 MB / 0.6147 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.6877, allocations: 1.099 MB / 0.6157 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.6878, allocations: 4 kB / 0.6157 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.6882, allocations: 23.83 kB / 0.6158 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009561/0.6892, allocations: 245.7 kB / 0.616 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.6896, allocations: 99.67 kB / 0.6161 GB, free: 12.14 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004133/0.6901, allocations: 247.1 kB / 0.6163 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.812e-05/0.6901, allocations: 10.25 kB / 0.6163 GB, free: 11.89 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.6904, allocations: 91.62 kB / 0.6164 GB, free: 11.8 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.6906, allocations: 59.77 kB / 0.6165 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.673e-05/0.6906, allocations: 0 / 0.6165 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007113/0.6914, allocations: 271.6 kB / 0.6167 GB, free: 11.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 7.414e-05/0.6915, allocations: 23.91 kB / 0.6168 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.558e-05/0.6915, allocations: 43.84 kB / 0.6168 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006704/0.6922, allocations: 291.3 kB / 0.6171 GB, free: 11.13 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6922, allocations: 0 / 0.6171 GB, free: 11.13 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6922, allocations: 0 / 0.6171 GB, free: 11.13 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.511e-06/0.6923, allocations: 0 / 0.6171 GB, free: 11.13 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.0006935/0.693, allocations: 411.9 kB / 0.6175 GB, free: 10.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/0.693, allocations: 9.906 kB / 0.6175 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.086e-05/0.6931, allocations: 38.75 kB / 0.6175 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.6954, allocations: 188.6 kB / 0.6177 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.6957, allocations: 215.8 kB / 0.6179 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.6957, allocations: 4 kB / 0.6179 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.6958, allocations: 15.98 kB / 0.6179 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.6963, allocations: 220 kB / 0.6181 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.6964, allocations: 0 / 0.6181 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.6964, allocations: 8 kB / 0.6181 GB, free: 9.934 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.6964, allocations: 0 / 0.6181 GB, free: 9.934 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.6969, allocations: 171.8 kB / 0.6183 GB, free: 9.766 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.001212/0.6981, allocations: 0.5826 MB / 0.6189 GB, free: 9.129 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.6985, allocations: 142.5 kB / 0.619 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.6987, allocations: 72.83 kB / 0.6191 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.6987, allocations: 0 / 0.6191 GB, free: 8.906 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.6988, allocations: 42.55 kB / 0.6191 GB, free: 8.855 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.6988, allocations: 0 / 0.6191 GB, free: 8.855 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.005491/0.7043, allocations: 1.309 MB / 0.6204 GB, free: 7.457 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.7043, allocations: 51.41 kB / 0.6205 GB, free: 7.395 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.906e-05/0.7044, allocations: 109.8 kB / 0.6206 GB, free: 7.277 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.7045, allocations: 29.7 kB / 0.6206 GB, free: 7.242 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.7046, allocations: 99.94 kB / 0.6207 GB, free: 7.141 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.732e-05/0.7046, allocations: 67.03 kB / 0.6207 GB, free: 7.074 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.7048, allocations: 53.69 kB / 0.6208 GB, free: 7.016 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.7049, allocations: 322.8 kB / 0.6211 GB, free: 6.691 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.7051, allocations: 75.83 kB / 0.6212 GB, free: 6.617 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.7053, allocations: 103.3 kB / 0.6213 GB, free: 6.504 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/0.7056, allocations: 186.9 kB / 0.6215 GB, free: 6.312 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.7057, allocations: 0 / 0.6215 GB, free: 6.312 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005341/0.7062, allocations: 262.2 kB / 0.6217 GB, free: 6.047 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.7062, allocations: 4 kB / 0.6217 GB, free: 6.043 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.7062, allocations: 0 / 0.6217 GB, free: 6.043 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/0.7065, allocations: 48.92 kB / 0.6218 GB, free: 5.992 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.7068, allocations: 59.89 kB / 0.6218 GB, free: 5.934 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005208/0.7073, allocations: 0.5641 MB / 0.6224 GB, free: 5.344 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.7076, allocations: 11.98 kB / 0.6224 GB, free: 5.332 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.7076, allocations: 20 kB / 0.6224 GB, free: 5.312 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.0001527/0.7078, allocations: 125.9 kB / 0.6225 GB, free: 5.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.7078, allocations: 15.89 kB / 0.6225 GB, free: 5.164 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008729/0.7087, allocations: 343.9 kB / 0.6229 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.7087, allocations: 4 kB / 0.6229 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.7088, allocations: 3.938 kB / 0.6229 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7088, allocations: 0 / 0.6229 GB, free: 4.816 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.7099, allocations: 0.6305 MB / 0.6235 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7099, allocations: 0 / 0.6235 GB, free: 4.121 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.7102, allocations: 63.95 kB / 0.6235 GB, free: 4.059 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.318e-05/0.7103, allocations: 16.84 kB / 0.6236 GB, free: 4.039 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.7104, allocations: 20.02 kB / 0.6236 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.7114, allocations: 1.27 MB / 0.6248 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7114, allocations: 160 / 0.6248 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.7122, allocations: 438.1 kB / 0.6252 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/0.7122, allocations: 88.98 kB / 0.6253 GB, free: 2.059 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.7123, allocations: 4.062 kB / 0.6253 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/0.7125, allocations: 15.94 kB / 0.6253 GB, free: 2.039 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.7126, allocations: 31.91 kB / 0.6254 GB, free: 2.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.524e-05/0.7126, allocations: 27.98 kB / 0.6254 GB, free: 1.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.635e-05/0.7127, allocations: 95.56 kB / 0.6255 GB, free: 1.887 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7127, allocations: 0 / 0.6255 GB, free: 1.887 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004507/0.7132, allocations: 76 kB / 0.6256 GB, free: 1.812 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.00137/0.7145, allocations: 1.016 MB / 0.6266 GB, free: 0.7539 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005316/0.7151, allocations: 195.8 kB / 0.6267 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7151, allocations: 4.188 kB / 0.6267 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003628/0.7155, allocations: 222.6 kB / 0.627 GB, free: 336 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.716, allocations: 49.53 kB / 0.627 GB, free: 288 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.719, allocations: 2.083 MB / 0.629 GB, free: 14.08 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.7195, allocations: 0.7088 MB / 0.6297 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004707/0.7199, allocations: 77.38 kB / 0.6298 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.7202, allocations: 71.41 kB / 0.6299 GB, free: 13.2 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.7202, allocations: 0 / 0.6299 GB, free: 13.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.7449, allocations: 7.023 MB / 0.6367 GB, free: 6.297 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.7451, allocations: 226.7 kB / 0.6369 GB, free: 6.035 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.998/2.743, allocations: 0 / 0.6369 GB, free: 6.035 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