Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 98.09 kB / 15.98 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 195.1 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.1 MB / 222.8 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3906/0.3906, allocations: 43.5 MB / 313.6 MB, free: 8.477 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.89 kB / 382.3 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1407, allocations: 57.77 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.45/0.5907, allocations: 148.5 MB / 0.5748 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.5922, allocations: 0.9704 MB / 0.5757 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.5922, allocations: 0 / 0.5757 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.5926, allocations: 35.98 kB / 0.5758 GB, free: 6.512 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006907/0.5933, allocations: 217.1 kB / 0.576 GB, free: 6.305 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003774/0.5937, allocations: 108.8 kB / 0.5761 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.594, allocations: 163.3 kB / 0.5762 GB, free: 6.043 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.594, allocations: 14.66 kB / 0.5763 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002094/0.5942, allocations: 87.62 kB / 0.5763 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.838e-05/0.5943, allocations: 51.81 kB / 0.5764 GB, free: 5.895 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.5944, allocations: 8 kB / 0.5764 GB, free: 5.887 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004649/0.5948, allocations: 275.6 kB / 0.5767 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.5949, allocations: 23.86 kB / 0.5767 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.732e-05/0.595, allocations: 47.78 kB / 0.5767 GB, free: 5.547 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.5954, allocations: 283.4 kB / 0.577 GB, free: 5.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5954, allocations: 0 / 0.577 GB, free: 5.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.5954, allocations: 8 kB / 0.577 GB, free: 5.262 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.5954, allocations: 0 / 0.577 GB, free: 5.262 MB / 446.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.0005157/0.596, allocations: 403 kB / 0.5774 GB, free: 4.824 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.596, allocations: 15.89 kB / 0.5774 GB, free: 4.809 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.361e-05/0.5961, allocations: 42.75 kB / 0.5774 GB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.5981, allocations: 187.1 kB / 0.5776 GB, free: 4.578 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.5984, allocations: 210.8 kB / 0.5778 GB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.5984, allocations: 7.938 kB / 0.5778 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.5985, allocations: 8 kB / 0.5778 GB, free: 4.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004943/0.599, allocations: 224 kB / 0.5781 GB, free: 4.086 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.599, allocations: 3.938 kB / 0.5781 GB, free: 4.082 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.599, allocations: 3.938 kB / 0.5781 GB, free: 4.078 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.599, allocations: 4 kB / 0.5781 GB, free: 4.074 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004174/0.5995, allocations: 171.9 kB / 0.5782 GB, free: 3.906 MB / 446.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.0009898/0.6005, allocations: 0.571 MB / 0.5788 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003343/0.6008, allocations: 139.2 kB / 0.5789 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.601, allocations: 68.83 kB / 0.579 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.601, allocations: 0 / 0.579 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.601, allocations: 38.56 kB / 0.579 GB, free: 3.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.601, allocations: 0 / 0.579 GB, free: 3.02 MB / 446.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.00537/0.6064, allocations: 1.307 MB / 0.5803 GB, free: 1.629 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.6065, allocations: 59.34 kB / 0.5804 GB, free: 1.559 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.6065, allocations: 109.8 kB / 0.5805 GB, free: 1.441 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.6066, allocations: 33.69 kB / 0.5805 GB, free: 1.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.751e-05/0.6066, allocations: 92.05 kB / 0.5806 GB, free: 1.309 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.6067, allocations: 70.94 kB / 0.5806 GB, free: 1.238 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.069e-05/0.6068, allocations: 49.7 kB / 0.5807 GB, free: 1.184 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6069, allocations: 327.5 kB / 0.581 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.6071, allocations: 67.95 kB / 0.5811 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.6073, allocations: 109.6 kB / 0.5812 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.6076, allocations: 175.3 kB / 0.5813 GB, free: 500 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.6076, allocations: 4 kB / 0.5813 GB, free: 496 kB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004638/0.6081, allocations: 261.8 kB / 0.5816 GB, free: 228 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.6081, allocations: 4 kB / 0.5816 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.6081, allocations: 9.844 kB / 0.5816 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001746/0.6083, allocations: 48.83 kB / 0.5817 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.6086, allocations: 55.91 kB / 0.5817 GB, free: 112 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004283/0.6091, allocations: 0.5737 MB / 0.5823 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001774/0.6092, allocations: 8.031 kB / 0.5823 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.965e-05/0.6093, allocations: 23.98 kB / 0.5823 GB, free: 15.48 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.00012/0.6094, allocations: 125.8 kB / 0.5824 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.6095, allocations: 7.906 kB / 0.5824 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008321/0.6103, allocations: 339.2 kB / 0.5827 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.6103, allocations: 11.92 kB / 0.5828 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6104, allocations: 0 / 0.5828 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.6104, allocations: 3.984 kB / 0.5828 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009992/0.6114, allocations: 0.6252 MB / 0.5834 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.6114, allocations: 8.016 kB / 0.5834 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.6117, allocations: 55.91 kB / 0.5834 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-05/0.6118, allocations: 24.83 kB / 0.5835 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.6119, allocations: 15.12 kB / 0.5835 GB, free: 14.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008814/0.6127, allocations: 1.364 MB / 0.5848 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6128, allocations: 0 / 0.5848 GB, free: 12.69 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/0.6134, allocations: 437.2 kB / 0.5852 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.6135, allocations: 89.03 kB / 0.5853 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.6135, allocations: 8 kB / 0.5853 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.6138, allocations: 16 kB / 0.5853 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/0.6138, allocations: 19.97 kB / 0.5853 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.6139, allocations: 31.98 kB / 0.5854 GB, free: 12.06 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.177e-05/0.6139, allocations: 81.05 kB / 0.5855 GB, free: 11.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6139, allocations: 0 / 0.5855 GB, free: 11.98 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003877/0.6143, allocations: 83.98 kB / 0.5855 GB, free: 11.9 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.001136/0.6155, allocations: 1.017 MB / 0.5865 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004838/0.616, allocations: 215.2 kB / 0.5867 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.616, allocations: 0 / 0.5867 GB, free: 10.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.6163, allocations: 239.1 kB / 0.587 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.6167, allocations: 45.23 kB / 0.587 GB, free: 10.35 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002594/0.6194, allocations: 2.094 MB / 0.5891 GB, free: 8.148 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.6197, allocations: 0.7085 MB / 0.5897 GB, free: 7.414 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004375/0.6201, allocations: 82.34 kB / 0.5898 GB, free: 7.34 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/0.6203, allocations: 75.39 kB / 0.5899 GB, free: 7.266 MB / 462.1 MB Notification: Performance of SimCode: time 1.734e-06/0.6203, allocations: 0 / 0.5899 GB, free: 7.266 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02244/0.6428, allocations: 7.146 MB / 0.5969 GB, free: 172 kB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.643, allocations: 222.8 kB / 0.5971 GB, free: 15.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/2.698, allocations: 0 / 0.5971 GB, free: 15.91 MB / 478.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches