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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005291/0.005291, allocations: 114.9 kB / 21.97 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 214.4 kB / 25.28 MB, free: 3.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.221/1.221, allocations: 207.6 MB / 236 MB, free: 9.969 MB / 190.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 47.92 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2099, allocations: 49.16 MB / 397.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.156/0.3659, allocations: 151.3 MB / 0.5356 GB, free: 11.41 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.3678, allocations: 1.507 MB / 0.5371 GB, free: 9.902 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.3679, allocations: 0 / 0.5371 GB, free: 9.902 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.3682, allocations: 51.72 kB / 0.5371 GB, free: 9.852 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009752/0.3692, allocations: 398.2 kB / 0.5375 GB, free: 9.461 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004817/0.3697, allocations: 171.4 kB / 0.5377 GB, free: 9.293 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000257/0.3699, allocations: 183.2 kB / 0.5379 GB, free: 9.113 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.37, allocations: 4 kB / 0.5379 GB, free: 9.109 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000163/0.3701, allocations: 87.48 kB / 0.5379 GB, free: 9.027 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.3703, allocations: 67.73 kB / 0.538 GB, free: 8.961 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3703, allocations: 8 kB / 0.538 GB, free: 8.953 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.3714, allocations: 0.6041 MB / 0.5386 GB, free: 8.348 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.3714, allocations: 27.91 kB / 0.5386 GB, free: 8.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.75e-05/0.3715, allocations: 51.78 kB / 0.5387 GB, free: 8.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006507/0.3722, allocations: 391.6 kB / 0.5391 GB, free: 7.891 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3722, allocations: 0 / 0.5391 GB, free: 7.891 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3722, allocations: 0 / 0.5391 GB, free: 7.891 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3722, allocations: 7.875 kB / 0.5391 GB, free: 7.883 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005121/0.3727, allocations: 361.8 kB / 0.5394 GB, free: 7.5 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3727, allocations: 15.98 kB / 0.5394 GB, free: 7.484 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.322e-05/0.3727, allocations: 384 / 0.5394 GB, free: 7.484 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.3728, allocations: 38.75 kB / 0.5395 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/0.3749, allocations: 192.6 kB / 0.5396 GB, free: 7.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.3751, allocations: 150 kB / 0.5398 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3751, allocations: 12 kB / 0.5398 GB, free: 7.066 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/0.3752, allocations: 11.95 kB / 0.5398 GB, free: 7.055 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.3756, allocations: 209.4 kB / 0.54 GB, free: 6.844 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.3756, allocations: 0 / 0.54 GB, free: 6.844 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.3757, allocations: 4 kB / 0.54 GB, free: 6.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.3757, allocations: 7.938 kB / 0.54 GB, free: 6.832 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006006/0.3763, allocations: 235.8 kB / 0.5402 GB, free: 6.602 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.001677/0.3779, allocations: 0.6098 MB / 0.5408 GB, free: 5.945 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.3784, allocations: 190.4 kB / 0.541 GB, free: 5.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.3786, allocations: 96.81 kB / 0.5411 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001129/0.3787, allocations: 11.98 kB / 0.5411 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3787, allocations: 34.56 kB / 0.5412 GB, free: 5.598 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.3787, allocations: 0 / 0.5412 GB, free: 5.598 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.005396/0.3841, allocations: 1.392 MB / 0.5425 GB, free: 4.125 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.3842, allocations: 55.41 kB / 0.5426 GB, free: 4.059 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/0.3843, allocations: 113.8 kB / 0.5427 GB, free: 3.938 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.3843, allocations: 29.7 kB / 0.5427 GB, free: 3.902 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.3843, allocations: 100.4 kB / 0.5428 GB, free: 3.801 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.305e-05/0.3844, allocations: 67.42 kB / 0.5429 GB, free: 3.734 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.3845, allocations: 45.7 kB / 0.5429 GB, free: 3.684 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.3846, allocations: 318.8 kB / 0.5432 GB, free: 3.363 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.3848, allocations: 91.89 kB / 0.5433 GB, free: 3.273 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.3851, allocations: 131.2 kB / 0.5434 GB, free: 3.133 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/0.3855, allocations: 227.2 kB / 0.5436 GB, free: 2.898 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.3855, allocations: 0 / 0.5436 GB, free: 2.898 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006104/0.3861, allocations: 286.2 kB / 0.5439 GB, free: 2.609 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3862, allocations: 4 kB / 0.5439 GB, free: 2.605 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3862, allocations: 4 kB / 0.5439 GB, free: 2.602 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/0.3863, allocations: 24.84 kB / 0.544 GB, free: 2.574 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.3867, allocations: 55.89 kB / 0.544 GB, free: 2.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003683/0.3871, allocations: 0.533 MB / 0.5445 GB, free: 1.961 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002758/0.3874, allocations: 15.92 kB / 0.5445 GB, free: 1.945 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.958e-05/0.3874, allocations: 4 kB / 0.5445 GB, free: 1.941 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.0001301/0.3875, allocations: 133.8 kB / 0.5447 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.3876, allocations: 11.89 kB / 0.5447 GB, free: 1.789 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007216/0.3883, allocations: 315.1 kB / 0.545 GB, free: 1.473 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3883, allocations: 3.984 kB / 0.545 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3883, allocations: 0 / 0.545 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3883, allocations: 8 kB / 0.545 GB, free: 1.461 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.3894, allocations: 0.6396 MB / 0.5456 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3894, allocations: 0 / 0.5456 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.3898, allocations: 51.89 kB / 0.5457 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.701e-05/0.3899, allocations: 28.94 kB / 0.5457 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.3899, allocations: 11.98 kB / 0.5457 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009392/0.3909, allocations: 1.263 MB / 0.5469 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.3909, allocations: 7.922 kB / 0.547 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008456/0.3917, allocations: 463.1 kB / 0.5474 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.3917, allocations: 7.984 kB / 0.5474 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.3918, allocations: 4 kB / 0.5474 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.3921, allocations: 8 kB / 0.5474 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.3921, allocations: 23.97 kB / 0.5474 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.3922, allocations: 11.98 kB / 0.5474 GB, free: 14.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.935e-05/0.3922, allocations: 95.56 kB / 0.5475 GB, free: 14.65 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3922, allocations: 0 / 0.5475 GB, free: 14.65 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.3927, allocations: 127.7 kB / 0.5477 GB, free: 14.53 MB / 478.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.001703/0.3944, allocations: 1.129 MB / 0.5488 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006112/0.3951, allocations: 235.6 kB / 0.549 GB, free: 13.13 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.3951, allocations: 4.188 kB / 0.549 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003889/0.3954, allocations: 222.6 kB / 0.5492 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004191/0.3959, allocations: 39.91 kB / 0.5492 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.3988, allocations: 2.149 MB / 0.5513 GB, free: 10.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.3991, allocations: 0.7125 MB / 0.552 GB, free: 9.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002635/0.3994, allocations: 49.78 kB / 0.5521 GB, free: 9.793 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3995, allocations: 43.41 kB / 0.5521 GB, free: 9.75 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3995, allocations: 0 / 0.5521 GB, free: 9.75 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.4305, allocations: 8.246 MB / 0.5602 GB, free: 1.441 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.35, allocations: 8.312 kB / 0.5602 GB, free: 1.434 MB / 478.1 MB " [Timeout remaining time 647] (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 --stepSize=0.00019992 --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) [Timeout 52.5] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.717844006954692]