Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",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.0009077/0.0009077, allocations: 93.97 kB / 17.3 MB, free: 6.391 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.001082/0.001082, allocations: 174.6 kB / 18.2 MB, free: 5.551 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.18/1.18, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.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.000383/0.000383, allocations: 8 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06863/0.06903, allocations: 47.58 MB / 329 MB, free: 3.68 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2693/0.3383, allocations: 146.7 MB / 475.8 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.3401, allocations: 1.523 MB / 477.3 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.913e-05/0.3402, allocations: 0 / 477.3 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.3405, allocations: 55.78 kB / 477.3 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000713/0.3412, allocations: 338.5 kB / 477.7 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003742/0.3416, allocations: 155.5 kB / 477.8 MB, free: 4.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.3418, allocations: 239.2 kB / 478.1 MB, free: 4.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.446e-05/0.3419, allocations: 7.938 kB / 478.1 MB, free: 4.691 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.342, allocations: 73.53 kB / 478.1 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3421, allocations: 59.81 kB / 478.2 MB, free: 4.562 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.3421, allocations: 4 kB / 478.2 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009265/0.3431, allocations: 0.6821 MB / 478.9 MB, free: 3.875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.3431, allocations: 31.83 kB / 478.9 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.215e-05/0.3432, allocations: 73.5 kB / 479 MB, free: 3.766 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004911/0.3437, allocations: 438.8 kB / 479.4 MB, free: 3.336 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.3437, allocations: 0 / 479.4 MB, free: 3.336 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3437, allocations: 0 / 479.4 MB, free: 3.336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.3437, allocations: 0 / 479.4 MB, free: 3.336 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000419/0.3441, allocations: 404.3 kB / 479.8 MB, free: 2.895 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3442, allocations: 8.031 kB / 479.8 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.562e-05/0.3442, allocations: 42.75 kB / 479.9 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.3463, allocations: 193.4 kB / 480 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.3465, allocations: 208.3 kB / 480.2 MB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.3465, allocations: 11.94 kB / 480.3 MB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.3466, allocations: 8 kB / 480.3 MB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004293/0.347, allocations: 205.5 kB / 480.5 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.347, allocations: 4 kB / 480.5 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.968e-05/0.3471, allocations: 8 kB / 480.5 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3471, allocations: 0 / 480.5 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005289/0.3476, allocations: 241.9 kB / 480.7 MB, free: 1.934 MB / 366.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.001529/0.3491, allocations: 0.6763 MB / 481.4 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.3495, allocations: 186.5 kB / 481.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.3497, allocations: 92.81 kB / 481.7 MB, free: 0.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.3499, allocations: 89.09 kB / 481.8 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.3499, allocations: 38.56 kB / 481.8 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.3499, allocations: 0 / 481.8 MB, free: 0.7656 MB / 366.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.005232/0.3552, allocations: 1.531 MB / 483.3 MB, free: 15.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.3552, allocations: 63.33 kB / 483.4 MB, free: 15.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.3553, allocations: 109.8 kB / 483.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.3553, allocations: 29.7 kB / 483.5 MB, free: 14.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.3554, allocations: 100.2 kB / 483.6 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.3554, allocations: 63.09 kB / 483.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.3555, allocations: 25.72 kB / 483.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.475e-05/0.3556, allocations: 318.8 kB / 484 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.3558, allocations: 95.81 kB / 484.1 MB, free: 14.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.356, allocations: 123.4 kB / 484.2 MB, free: 14.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.3564, allocations: 227.3 kB / 484.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3564, allocations: 3.938 kB / 484.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005488/0.357, allocations: 278.2 kB / 484.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.357, allocations: 8 kB / 484.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.357, allocations: 3.938 kB / 484.7 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/0.3571, allocations: 28.94 kB / 484.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.3576, allocations: 59.89 kB / 484.8 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002938/0.3579, allocations: 0.5366 MB / 485.4 MB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.3582, allocations: 11.95 kB / 485.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.3582, allocations: 16.09 kB / 485.4 MB, free: 12.94 MB / 382.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.0001032/0.3583, allocations: 121.8 kB / 485.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.3584, allocations: 15.89 kB / 485.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007093/0.3591, allocations: 315.2 kB / 485.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3591, allocations: 4 kB / 485.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.3591, allocations: 7.875 kB / 485.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3591, allocations: 3.984 kB / 485.8 MB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009582/0.3601, allocations: 0.668 MB / 486.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3601, allocations: 0.875 kB / 486.5 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.3605, allocations: 51.89 kB / 486.6 MB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.004e-05/0.3606, allocations: 20.84 kB / 486.6 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.3606, allocations: 11.98 kB / 486.6 MB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000726/0.3614, allocations: 1.264 MB / 487.9 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3614, allocations: 4.031 kB / 487.9 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007458/0.3621, allocations: 446.7 kB / 488.3 MB, free: 9.777 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.066e-05/0.3622, allocations: 92.94 kB / 488.4 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.3622, allocations: 12 kB / 488.4 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.3625, allocations: 12 kB / 488.4 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.3626, allocations: 15.97 kB / 488.4 MB, free: 9.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.3626, allocations: 15.98 kB / 488.4 MB, free: 9.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.771e-05/0.3627, allocations: 91.58 kB / 488.5 MB, free: 9.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3627, allocations: 0 / 488.5 MB, free: 9.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000435/0.3631, allocations: 131.9 kB / 488.7 MB, free: 9.395 MB / 382.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 (19): * Single equations (assignments): 18 * 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.001446/0.3646, allocations: 1.129 MB / 489.8 MB, free: 8.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005269/0.3651, allocations: 235.7 kB / 490 MB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3651, allocations: 0 / 490 MB, free: 7.996 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.3655, allocations: 234.5 kB / 490.3 MB, free: 7.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.3659, allocations: 53.52 kB / 490.3 MB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.3684, allocations: 2.238 MB / 492.5 MB, free: 5.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.3687, allocations: 0.7049 MB / 493.2 MB, free: 4.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003766/0.3691, allocations: 61.33 kB / 493.3 MB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.3692, allocations: 35.42 kB / 493.3 MB, free: 4.52 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3692, allocations: 0 / 493.3 MB, free: 4.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2415/0.6107, allocations: 7.63 MB / 0.4892 GB, free: 12.89 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/0.6109, allocations: 227.7 kB / 0.4894 GB, free: 12.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.877/3.488, allocations: 4 kB / 0.4895 GB, free: 12.63 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches