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.001387/0.001387, allocations: 108.2 kB / 21.18 MB, free: 0.5586 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.001576/0.001576, allocations: 212.6 kB / 24.49 MB, free: 3.91 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.392/1.392, allocations: 207.6 MB / 235.3 MB, free: 9.996 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="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"}) [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.001892/0.001892, allocations: 51.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2552, allocations: 49.16 MB / 396.3 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.1788/0.434, allocations: 151.3 MB / 0.5348 GB, free: 11.45 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002208/0.4362, allocations: 1.499 MB / 0.5363 GB, free: 9.949 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.4363, allocations: 7.938 kB / 0.5363 GB, free: 9.941 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.4366, allocations: 55.72 kB / 0.5364 GB, free: 9.887 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.4379, allocations: 398.2 kB / 0.5368 GB, free: 9.496 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005459/0.4384, allocations: 167.4 kB / 0.5369 GB, free: 9.332 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003087/0.4387, allocations: 183.3 kB / 0.5371 GB, free: 9.152 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.4388, allocations: 11.78 kB / 0.5371 GB, free: 9.145 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.4389, allocations: 79.64 kB / 0.5372 GB, free: 9.066 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001533/0.4391, allocations: 63.8 kB / 0.5372 GB, free: 9.004 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.4391, allocations: 8 kB / 0.5372 GB, free: 8.996 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.4404, allocations: 0.608 MB / 0.5378 GB, free: 8.387 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.492e-05/0.4404, allocations: 31.89 kB / 0.5379 GB, free: 8.355 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.4405, allocations: 47.8 kB / 0.5379 GB, free: 8.309 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007971/0.4413, allocations: 392 kB / 0.5383 GB, free: 7.93 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.4413, allocations: 0 / 0.5383 GB, free: 7.93 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4413, allocations: 0 / 0.5383 GB, free: 7.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.4413, allocations: 3.938 kB / 0.5383 GB, free: 7.926 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.000603/0.4419, allocations: 361.8 kB / 0.5386 GB, free: 7.543 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.442, allocations: 11.98 kB / 0.5386 GB, free: 7.531 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.348e-05/0.442, allocations: 42.73 kB / 0.5387 GB, free: 7.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/0.4442, allocations: 188.6 kB / 0.5389 GB, free: 7.297 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.4444, allocations: 146.4 kB / 0.539 GB, free: 7.129 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.4445, allocations: 15.92 kB / 0.539 GB, free: 7.113 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.4445, allocations: 15.95 kB / 0.539 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.445, allocations: 201.5 kB / 0.5392 GB, free: 6.895 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.445, allocations: 4 kB / 0.5392 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.445, allocations: 7.938 kB / 0.5392 GB, free: 6.883 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.445, allocations: 0 / 0.5392 GB, free: 6.883 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006049/0.4457, allocations: 251.7 kB / 0.5395 GB, free: 6.637 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.001801/0.4475, allocations: 0.6136 MB / 0.5401 GB, free: 5.977 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.4479, allocations: 182.5 kB / 0.5403 GB, free: 5.789 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/0.4481, allocations: 92.81 kB / 0.5403 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.4483, allocations: 15.98 kB / 0.5404 GB, free: 5.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.4483, allocations: 38.5 kB / 0.5404 GB, free: 5.633 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.4483, allocations: 0 / 0.5404 GB, free: 5.633 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.005907/0.4542, allocations: 1.384 MB / 0.5417 GB, free: 4.168 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.4543, allocations: 55.41 kB / 0.5418 GB, free: 4.102 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.4544, allocations: 113.8 kB / 0.5419 GB, free: 3.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.4544, allocations: 25.7 kB / 0.5419 GB, free: 3.949 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/0.4545, allocations: 104.3 kB / 0.542 GB, free: 3.844 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.4545, allocations: 71.44 kB / 0.5421 GB, free: 3.773 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.38e-05/0.4546, allocations: 41.69 kB / 0.5421 GB, free: 3.727 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.4548, allocations: 322.8 kB / 0.5424 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.455, allocations: 87.95 kB / 0.5425 GB, free: 3.316 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/0.4552, allocations: 127.2 kB / 0.5427 GB, free: 3.18 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004756/0.4557, allocations: 231.2 kB / 0.5429 GB, free: 2.941 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.4557, allocations: 0 / 0.5429 GB, free: 2.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006897/0.4564, allocations: 290.2 kB / 0.5431 GB, free: 2.648 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.4564, allocations: 4 kB / 0.5432 GB, free: 2.645 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4564, allocations: 4 kB / 0.5432 GB, free: 2.641 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.4566, allocations: 20.84 kB / 0.5432 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004601/0.457, allocations: 59.95 kB / 0.5432 GB, free: 2.559 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004209/0.4575, allocations: 0.529 MB / 0.5438 GB, free: 2.004 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.4577, allocations: 20 kB / 0.5438 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.4578, allocations: 11.94 kB / 0.5438 GB, free: 1.973 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.0001481/0.4579, allocations: 133.7 kB / 0.5439 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.458, allocations: 7.953 kB / 0.5439 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007703/0.4588, allocations: 311.2 kB / 0.5442 GB, free: 1.512 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.4588, allocations: 3.938 kB / 0.5442 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4588, allocations: 0 / 0.5442 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.4588, allocations: 0 / 0.5442 GB, free: 1.508 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/0.4601, allocations: 0.6513 MB / 0.5449 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.4601, allocations: 0 / 0.5449 GB, free: 0.7969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.4606, allocations: 51.89 kB / 0.5449 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.562e-05/0.4606, allocations: 24.84 kB / 0.5449 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.4607, allocations: 12.08 kB / 0.5449 GB, free: 0.707 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.4618, allocations: 1.267 MB / 0.5462 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.4618, allocations: 0 / 0.5462 GB, free: 15.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009018/0.4627, allocations: 463 kB / 0.5466 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.773e-05/0.4627, allocations: 7.984 kB / 0.5466 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.4627, allocations: 8 kB / 0.5466 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.4631, allocations: 7.984 kB / 0.5466 GB, free: 14.82 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.4631, allocations: 15.97 kB / 0.5467 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.4631, allocations: 8 kB / 0.5467 GB, free: 14.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 6.344e-05/0.4632, allocations: 95.27 kB / 0.5468 GB, free: 14.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4632, allocations: 4 kB / 0.5468 GB, free: 14.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005585/0.4637, allocations: 131.7 kB / 0.5469 GB, free: 14.57 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.001753/0.4655, allocations: 1.133 MB / 0.548 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006196/0.4661, allocations: 227.8 kB / 0.5482 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.4661, allocations: 0 / 0.5482 GB, free: 13.18 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004096/0.4665, allocations: 238.8 kB / 0.5484 GB, free: 12.93 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.467, allocations: 48.42 kB / 0.5485 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.4701, allocations: 2.133 MB / 0.5506 GB, free: 10.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.4705, allocations: 0.7047 MB / 0.5513 GB, free: 9.891 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002832/0.4707, allocations: 57.33 kB / 0.5513 GB, free: 9.836 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.4709, allocations: 43.41 kB / 0.5513 GB, free: 9.793 MB / 478.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4709, allocations: 0 / 0.5513 GB, free: 9.793 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04257/0.5135, allocations: 8.218 MB / 0.5594 GB, free: 1.512 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.24, allocations: 256 / 0.5594 GB, free: 1.512 MB / 478.1 MB " [Timeout remaining time 646] (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: 15.751382739050314]