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.001287/0.001287, allocations: 103 kB / 16.4 MB, free: 6.461 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.0013/0.0013, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.429/1.429, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2007/0.2007, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.00158/0.00158, allocations: 73.61 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1092, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4185/0.5278, allocations: 150.6 MB / 0.6344 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.5295, allocations: 0.9767 MB / 0.6354 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.013e-05/0.5296, allocations: 0 / 0.6354 GB, free: 3.301 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002465/0.5299, allocations: 31.75 kB / 0.6354 GB, free: 3.27 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006648/0.5306, allocations: 247.4 kB / 0.6357 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.531, allocations: 111.6 kB / 0.6358 GB, free: 2.926 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.5313, allocations: 163.3 kB / 0.6359 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.249e-05/0.5313, allocations: 19.95 kB / 0.6359 GB, free: 2.746 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.5316, allocations: 94.92 kB / 0.636 GB, free: 2.656 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.5317, allocations: 51.77 kB / 0.6361 GB, free: 2.605 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.5317, allocations: 4 kB / 0.6361 GB, free: 2.602 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005666/0.5323, allocations: 259.7 kB / 0.6363 GB, free: 2.348 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.5324, allocations: 27.91 kB / 0.6364 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.5325, allocations: 39.86 kB / 0.6364 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005143/0.533, allocations: 287.3 kB / 0.6367 GB, free: 2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.533, allocations: 0 / 0.6367 GB, free: 2 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.533, allocations: 4 kB / 0.6367 GB, free: 1.996 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.533, allocations: 0 / 0.6367 GB, free: 1.996 MB / 478.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.0005363/0.5336, allocations: 407.2 kB / 0.6371 GB, free: 1.551 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.5336, allocations: 11.89 kB / 0.6371 GB, free: 1.539 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.5337, allocations: 45.19 kB / 0.6371 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/0.5357, allocations: 197.1 kB / 0.6373 GB, free: 1.297 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.5361, allocations: 204.3 kB / 0.6375 GB, free: 1.059 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.5361, allocations: 7.938 kB / 0.6375 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.39e-05/0.5361, allocations: 8 kB / 0.6375 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.5366, allocations: 223.9 kB / 0.6377 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.5367, allocations: 0 / 0.6377 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.5367, allocations: 8 kB / 0.6377 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5367, allocations: 4 kB / 0.6377 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004348/0.5372, allocations: 171.8 kB / 0.6379 GB, free: 0.6289 MB / 478.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.001043/0.5382, allocations: 0.5605 MB / 0.6385 GB, free: 12 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.5386, allocations: 142.6 kB / 0.6386 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.5387, allocations: 64.83 kB / 0.6387 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.5387, allocations: 7.906 kB / 0.6387 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.5388, allocations: 34.5 kB / 0.6387 GB, free: 15.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.835e-06/0.5388, allocations: 3.984 kB / 0.6387 GB, free: 15.74 MB / 494.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.005102/0.5439, allocations: 1.305 MB / 0.64 GB, free: 14.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.5439, allocations: 59.34 kB / 0.64 GB, free: 14.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/0.544, allocations: 109.8 kB / 0.6401 GB, free: 14.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.5441, allocations: 29.7 kB / 0.6402 GB, free: 14.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.5441, allocations: 99.97 kB / 0.6403 GB, free: 14.02 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.057e-05/0.5442, allocations: 71 kB / 0.6403 GB, free: 13.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/0.5443, allocations: 49.69 kB / 0.6404 GB, free: 13.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5444, allocations: 322.8 kB / 0.6407 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.5446, allocations: 67.97 kB / 0.6407 GB, free: 13.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.5448, allocations: 99.39 kB / 0.6408 GB, free: 13.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.5451, allocations: 187.3 kB / 0.641 GB, free: 13.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5451, allocations: 0 / 0.641 GB, free: 13.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004824/0.5456, allocations: 262.9 kB / 0.6413 GB, free: 12.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.5456, allocations: 8.094 kB / 0.6413 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5457, allocations: 4 kB / 0.6413 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/0.5458, allocations: 48.83 kB / 0.6413 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.5462, allocations: 51.95 kB / 0.6414 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004095/0.5466, allocations: 0.5717 MB / 0.6419 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.5468, allocations: 8.125 kB / 0.6419 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/0.5468, allocations: 28.88 kB / 0.642 GB, free: 12.19 MB / 494.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.000118/0.547, allocations: 129.7 kB / 0.6421 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.547, allocations: 7.906 kB / 0.6421 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007543/0.5478, allocations: 340.3 kB / 0.6424 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.5478, allocations: 3.938 kB / 0.6424 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.5478, allocations: 4 kB / 0.6424 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.5478, allocations: 11.94 kB / 0.6424 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.5489, allocations: 0.6152 MB / 0.643 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.5489, allocations: 0 / 0.643 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.5493, allocations: 63.89 kB / 0.6431 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.368e-05/0.5494, allocations: 24.94 kB / 0.6431 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.5494, allocations: 15.98 kB / 0.6431 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.5506, allocations: 1.367 MB / 0.6445 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5506, allocations: 0 / 0.6445 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007379/0.5513, allocations: 441.9 kB / 0.6449 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.074e-05/0.5514, allocations: 92.86 kB / 0.645 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.5515, allocations: 0 / 0.645 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.5517, allocations: 11.98 kB / 0.645 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.5518, allocations: 23.97 kB / 0.645 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.5518, allocations: 27.98 kB / 0.6451 GB, free: 8.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.816e-05/0.5519, allocations: 87.33 kB / 0.6451 GB, free: 8.684 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5519, allocations: 8 kB / 0.6451 GB, free: 8.676 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004661/0.5524, allocations: 76 kB / 0.6452 GB, free: 8.602 MB / 494.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.001303/0.5537, allocations: 1.013 MB / 0.6462 GB, free: 7.547 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005051/0.5542, allocations: 207.8 kB / 0.6464 GB, free: 7.344 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5542, allocations: 0 / 0.6464 GB, free: 7.344 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003415/0.5546, allocations: 222.5 kB / 0.6466 GB, free: 7.113 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004683/0.555, allocations: 52.86 kB / 0.6467 GB, free: 7.062 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002984/0.558, allocations: 2.065 MB / 0.6487 GB, free: 4.875 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.5583, allocations: 0.7124 MB / 0.6494 GB, free: 4.137 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002897/0.5586, allocations: 73.39 kB / 0.6494 GB, free: 4.066 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.5588, allocations: 71.39 kB / 0.6495 GB, free: 3.996 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5588, allocations: 0 / 0.6495 GB, free: 3.996 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0278/0.5867, allocations: 7.362 MB / 0.6567 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.75, allocations: 11.92 kB / 0.6567 GB, free: 12.62 MB / 0.4981 GB (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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches