Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.004263/0.004263, allocations: 114.1 kB / 21.97 MB, free: 5.227 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.001207/0.001207, allocations: 213.2 kB / 25.28 MB, free: 3.246 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.23/1.23, allocations: 207.6 MB / 236 MB, free: 9.98 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.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",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.001586/0.001586, allocations: 50.59 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2093, allocations: 49.17 MB / 397.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.155/0.3642, allocations: 151.7 MB / 0.5359 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.3677, allocations: 3.053 MB / 0.5389 GB, free: 8.039 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.3678, allocations: 3.938 kB / 0.5389 GB, free: 8.035 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.3681, allocations: 67.64 kB / 0.539 GB, free: 7.969 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.3701, allocations: 1.046 MB / 0.54 GB, free: 6.922 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.3705, allocations: 195.6 kB / 0.5402 GB, free: 6.73 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.3709, allocations: 370.6 kB / 0.5406 GB, free: 6.367 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.3709, allocations: 9.266 kB / 0.5406 GB, free: 6.359 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.3711, allocations: 155.4 kB / 0.5407 GB, free: 6.207 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.3713, allocations: 115.6 kB / 0.5408 GB, free: 6.094 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.3713, allocations: 12 kB / 0.5408 GB, free: 6.082 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002515/0.3739, allocations: 1.574 MB / 0.5424 GB, free: 4.504 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.776e-05/0.374, allocations: 83.77 kB / 0.5425 GB, free: 4.422 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.3741, allocations: 99.59 kB / 0.5425 GB, free: 4.324 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.3754, allocations: 1.002 MB / 0.5435 GB, free: 3.324 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3754, allocations: 0 / 0.5435 GB, free: 3.324 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3754, allocations: 0 / 0.5435 GB, free: 3.324 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.3754, allocations: 0 / 0.5435 GB, free: 3.324 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008283/0.3762, allocations: 489.1 kB / 0.544 GB, free: 2.816 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3762, allocations: 19.98 kB / 0.544 GB, free: 2.797 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.857e-05/0.3762, allocations: 4.562 kB / 0.544 GB, free: 2.793 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.689e-05/0.3763, allocations: 54.73 kB / 0.5441 GB, free: 2.73 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/0.3776, allocations: 192.6 kB / 0.5443 GB, free: 2.543 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.3779, allocations: 194.3 kB / 0.5444 GB, free: 2.328 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.3779, allocations: 12.31 kB / 0.5444 GB, free: 2.316 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.378, allocations: 31.95 kB / 0.5445 GB, free: 2.285 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.3785, allocations: 377.7 kB / 0.5448 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3785, allocations: 0 / 0.5448 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.242e-05/0.3786, allocations: 12 kB / 0.5448 GB, free: 1.891 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3786, allocations: 4 kB / 0.5449 GB, free: 1.887 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005624/0.3791, allocations: 407.8 kB / 0.5452 GB, free: 1.488 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.001566/0.3807, allocations: 0.7961 MB / 0.546 GB, free: 0.6445 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003697/0.3811, allocations: 221 kB / 0.5462 GB, free: 420 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/0.3813, allocations: 113.7 kB / 0.5463 GB, free: 300 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001749/0.383, allocations: 302 kB / 0.5466 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.94e-05/0.383, allocations: 34.56 kB / 0.5467 GB, free: 15.95 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 1.824e-06/0.3831, allocations: 0 / 0.5467 GB, free: 15.95 MB / 478.1 MB Notification: Performance of matching and sorting (n=29): time 0.001137/0.3842, allocations: 365.5 kB / 0.547 GB, free: 15.59 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.3842, allocations: 93.05 kB / 0.5471 GB, free: 15.48 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.599e-05/0.3843, allocations: 109.8 kB / 0.5472 GB, free: 15.36 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.3844, allocations: 33.7 kB / 0.5472 GB, free: 15.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.496e-05/0.3844, allocations: 108.6 kB / 0.5473 GB, free: 15.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.794e-05/0.3845, allocations: 119 kB / 0.5475 GB, free: 15.1 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.599e-05/0.3846, allocations: 58.03 kB / 0.5475 GB, free: 15.04 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.3848, allocations: 326.8 kB / 0.5478 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001835/0.3849, allocations: 100.6 kB / 0.5479 GB, free: 14.61 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.3852, allocations: 183.5 kB / 0.5481 GB, free: 14.39 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.3856, allocations: 306 kB / 0.5484 GB, free: 14.06 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3856, allocations: 0 / 0.5484 GB, free: 14.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005929/0.3862, allocations: 341.2 kB / 0.5487 GB, free: 13.72 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.3863, allocations: 8.312 kB / 0.5487 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3863, allocations: 4 kB / 0.5487 GB, free: 13.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3863, allocations: 7.984 kB / 0.5487 GB, free: 13.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.3866, allocations: 71.91 kB / 0.5488 GB, free: 13.63 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.3866, allocations: 7.938 kB / 0.5488 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.3868, allocations: 23.84 kB / 0.5488 GB, free: 13.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/0.3869, allocations: 27.92 kB / 0.5489 GB, free: 13.57 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.387, allocations: 145.7 kB / 0.549 GB, free: 13.42 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/0.3871, allocations: 19.89 kB / 0.549 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006306/0.3877, allocations: 315.1 kB / 0.5493 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.3877, allocations: 11.98 kB / 0.5493 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3877, allocations: 0 / 0.5493 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3877, allocations: 4 kB / 0.5493 GB, free: 13.07 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005511/0.3883, allocations: 306.1 kB / 0.5496 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3883, allocations: 0 / 0.5496 GB, free: 12.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.3886, allocations: 55.91 kB / 0.5497 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3886, allocations: 3.938 kB / 0.5497 GB, free: 12.67 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.3886, allocations: 8 kB / 0.5497 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.3886, allocations: 4 kB / 0.5497 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3886, allocations: 0 / 0.5497 GB, free: 12.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007309/0.3894, allocations: 0.5111 MB / 0.5502 GB, free: 12.13 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.3894, allocations: 15.83 kB / 0.5502 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.3894, allocations: 12.05 kB / 0.5502 GB, free: 12.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.3897, allocations: 12 kB / 0.5502 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.3898, allocations: 19.95 kB / 0.5502 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.682e-05/0.3898, allocations: 23.97 kB / 0.5503 GB, free: 12.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.436e-05/0.3899, allocations: 91.27 kB / 0.5504 GB, free: 11.96 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3899, allocations: 0 / 0.5504 GB, free: 11.96 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007195/0.3906, allocations: 231.4 kB / 0.5506 GB, free: 11.73 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001817/0.3924, allocations: 1.367 MB / 0.5519 GB, free: 10.34 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004633/0.3929, allocations: 252.5 kB / 0.5521 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3929, allocations: 4.062 kB / 0.5522 GB, free: 10.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.3931, allocations: 123.9 kB / 0.5523 GB, free: 9.965 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006125/0.3937, allocations: 80.34 kB / 0.5523 GB, free: 9.887 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003153/0.3968, allocations: 2.678 MB / 0.555 GB, free: 7.055 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.3972, allocations: 0.7361 MB / 0.5557 GB, free: 6.293 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002752/0.3974, allocations: 77.95 kB / 0.5558 GB, free: 6.219 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.3976, allocations: 59.41 kB / 0.5558 GB, free: 6.16 MB / 478.1 MB Notification: Performance of SimCode: time 5e-07/0.3976, allocations: 0 / 0.5558 GB, free: 6.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1709/0.5685, allocations: 10.97 MB / 0.5665 GB, free: 163.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.98, allocations: 6.438 kB / 0.5665 GB, free: 163.6 MB / 478.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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: 13.299876634962857]