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.001597/0.001597, allocations: 118.3 kB / 19.17 MB, free: 3.898 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.001676/0.001676, allocations: 205.7 kB / 22.12 MB, free: 0.9609 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.341/1.341, allocations: 207.6 MB / 232.5 MB, free: 11.53 MB / 190.1 MB " [Timeout remaining time 178] 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.001697/0.001697, allocations: 49.03 kB / 343 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2428, allocations: 49.12 MB / 392.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.1597/0.4025, allocations: 151.3 MB / 0.5307 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.4044, allocations: 1.499 MB / 0.5321 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.71e-05/0.4044, allocations: 0 / 0.5321 GB, free: 11.02 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003203/0.4047, allocations: 55.72 kB / 0.5322 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008199/0.4055, allocations: 382.2 kB / 0.5326 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.406, allocations: 171.4 kB / 0.5327 GB, free: 10.42 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002447/0.4062, allocations: 191.2 kB / 0.5329 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.4063, allocations: 4 kB / 0.5329 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.4064, allocations: 83.48 kB / 0.533 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.4065, allocations: 63.75 kB / 0.5331 GB, free: 10.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.4066, allocations: 4 kB / 0.5331 GB, free: 10.08 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009369/0.4075, allocations: 0.5924 MB / 0.5336 GB, free: 9.488 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.4076, allocations: 27.91 kB / 0.5337 GB, free: 9.461 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 6.333e-05/0.4076, allocations: 51.8 kB / 0.5337 GB, free: 9.41 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005501/0.4082, allocations: 395.5 kB / 0.5341 GB, free: 9.027 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.4082, allocations: 0 / 0.5341 GB, free: 9.027 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4082, allocations: 0 / 0.5341 GB, free: 9.027 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.4082, allocations: 0 / 0.5341 GB, free: 9.027 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.0005584/0.4087, allocations: 438.9 kB / 0.5345 GB, free: 8.551 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.4088, allocations: 8.031 kB / 0.5345 GB, free: 8.543 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.611e-05/0.4088, allocations: 12.38 kB / 0.5345 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.4088, allocations: 42.69 kB / 0.5346 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002241/0.4111, allocations: 192.6 kB / 0.5348 GB, free: 8.293 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.4113, allocations: 207.8 kB / 0.535 GB, free: 8.051 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4113, allocations: 8 kB / 0.535 GB, free: 8.043 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.94e-05/0.4114, allocations: 7.953 kB / 0.535 GB, free: 8.035 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.4118, allocations: 209.5 kB / 0.5352 GB, free: 7.824 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.4118, allocations: 7.938 kB / 0.5352 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.4119, allocations: 0 / 0.5352 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.4119, allocations: 7.938 kB / 0.5352 GB, free: 7.809 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.4125, allocations: 239.8 kB / 0.5354 GB, free: 7.574 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.001726/0.4142, allocations: 0.663 MB / 0.5361 GB, free: 6.852 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.4146, allocations: 194.4 kB / 0.5362 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000216/0.4149, allocations: 88.81 kB / 0.5363 GB, free: 6.562 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001486/0.415, allocations: 93.08 kB / 0.5364 GB, free: 6.453 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.415, allocations: 38.56 kB / 0.5365 GB, free: 6.406 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.415, allocations: 4 kB / 0.5365 GB, free: 6.402 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.005764/0.4208, allocations: 1.531 MB / 0.538 GB, free: 4.754 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.4209, allocations: 55.39 kB / 0.538 GB, free: 4.688 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.4209, allocations: 109.8 kB / 0.5381 GB, free: 4.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.421, allocations: 29.7 kB / 0.5381 GB, free: 4.535 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.421, allocations: 100.4 kB / 0.5382 GB, free: 4.434 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.4211, allocations: 71.41 kB / 0.5383 GB, free: 4.363 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.81e-05/0.4212, allocations: 41.7 kB / 0.5383 GB, free: 4.316 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4213, allocations: 322.8 kB / 0.5386 GB, free: 3.992 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.4215, allocations: 91.95 kB / 0.5387 GB, free: 3.902 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.4218, allocations: 131.2 kB / 0.5389 GB, free: 3.762 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.4223, allocations: 223.3 kB / 0.5391 GB, free: 3.531 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4223, allocations: 0 / 0.5391 GB, free: 3.531 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006599/0.4229, allocations: 290.2 kB / 0.5394 GB, free: 3.238 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.423, allocations: 8 kB / 0.5394 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.423, allocations: 8.344 kB / 0.5394 GB, free: 3.223 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001237/0.4231, allocations: 24.84 kB / 0.5394 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.4236, allocations: 51.91 kB / 0.5394 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003858/0.4239, allocations: 0.5329 MB / 0.54 GB, free: 2.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.4242, allocations: 15.92 kB / 0.54 GB, free: 2.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.4243, allocations: 16.08 kB / 0.54 GB, free: 2.555 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.0001225/0.4244, allocations: 121.8 kB / 0.5401 GB, free: 2.426 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.4245, allocations: 7.953 kB / 0.5401 GB, free: 2.418 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007534/0.4252, allocations: 323 kB / 0.5404 GB, free: 2.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.4252, allocations: 4 kB / 0.5404 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.4252, allocations: 3.938 kB / 0.5404 GB, free: 2.082 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.4252, allocations: 3.984 kB / 0.5404 GB, free: 2.078 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/0.4263, allocations: 0.6724 MB / 0.5411 GB, free: 1.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4263, allocations: 0 / 0.5411 GB, free: 1.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004551/0.4268, allocations: 55.95 kB / 0.5411 GB, free: 1.285 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-05/0.4269, allocations: 16.84 kB / 0.5412 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.4269, allocations: 8 kB / 0.5412 GB, free: 1.258 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009908/0.4279, allocations: 1.359 MB / 0.5425 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4279, allocations: 4.156 kB / 0.5425 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000861/0.4288, allocations: 458.6 kB / 0.5429 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.4288, allocations: 93.06 kB / 0.543 GB, free: 15.17 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.4288, allocations: 4 kB / 0.543 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/0.4292, allocations: 12 kB / 0.543 GB, free: 15.15 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.4292, allocations: 15.97 kB / 0.5431 GB, free: 15.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.4292, allocations: 11.98 kB / 0.5431 GB, free: 15.12 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.296e-05/0.4293, allocations: 87.22 kB / 0.5432 GB, free: 15.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4293, allocations: 0 / 0.5432 GB, free: 15.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005049/0.4298, allocations: 131.7 kB / 0.5433 GB, free: 14.91 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.001715/0.4315, allocations: 1.145 MB / 0.5444 GB, free: 13.73 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007803/0.4323, allocations: 223.6 kB / 0.5446 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4323, allocations: 0 / 0.5446 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004075/0.4327, allocations: 230.5 kB / 0.5448 GB, free: 13.27 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.4331, allocations: 64.42 kB / 0.5449 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002982/0.4361, allocations: 2.131 MB / 0.547 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.4364, allocations: 0.7046 MB / 0.5477 GB, free: 10.22 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002583/0.4367, allocations: 53.39 kB / 0.5477 GB, free: 10.17 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.4368, allocations: 43.36 kB / 0.5478 GB, free: 10.13 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4368, allocations: 0 / 0.5478 GB, free: 10.13 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/0.4659, allocations: 8.069 MB / 0.5556 GB, free: 2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.71, allocations: 4.062 kB / 0.5556 GB, free: 1.996 MB / 478.1 MB " [Timeout remaining time 648] (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.209373886988033]