Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.001255/0.001255, allocations: 114.6 kB / 19.17 MB, free: 3.891 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.001306/0.001306, allocations: 203.8 kB / 22.11 MB, free: 0.9531 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.274/1.274, allocations: 207.6 MB / 232.5 MB, free: 11.49 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.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",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.001657/0.001657, allocations: 59.91 kB / 343 MB, free: 12.22 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2176, allocations: 49.13 MB / 392.2 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.1852/0.4028, allocations: 173.3 MB / 0.5522 GB, free: 6.445 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004257/0.407, allocations: 3.224 MB / 0.5553 GB, free: 3.203 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.4072, allocations: 7.938 kB / 0.5553 GB, free: 3.195 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005385/0.4077, allocations: 170.9 kB / 0.5555 GB, free: 3.027 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008101/0.4085, allocations: 413.5 kB / 0.5559 GB, free: 2.625 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000808/0.4093, allocations: 355.2 kB / 0.5562 GB, free: 2.277 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009257/0.4103, allocations: 0.8914 MB / 0.5571 GB, free: 1.383 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.4104, allocations: 88.61 kB / 0.5572 GB, free: 1.301 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.4121, allocations: 0.8018 MB / 0.558 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003641/0.4125, allocations: 290.8 kB / 0.5582 GB, free: 216 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.4125, allocations: 28 kB / 0.5583 GB, free: 188 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.4128, allocations: 127.9 kB / 0.5584 GB, free: 60 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2002/0.613, allocations: 93.38 kB / 0.5585 GB, free: 3.074 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003212/0.6134, allocations: 186.9 kB / 0.5587 GB, free: 3.074 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007675/0.6141, allocations: 0.5136 MB / 0.5592 GB, free: 3.051 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6141, allocations: 0.6562 kB / 0.5592 GB, free: 3.051 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.6141, allocations: 0 / 0.5592 GB, free: 3.051 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.6142, allocations: 0 / 0.5592 GB, free: 3.051 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007945/0.6149, allocations: 0.5937 MB / 0.5597 GB, free: 18.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.615, allocations: 10.66 kB / 0.5598 GB, free: 18.61 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.532e-05/0.615, allocations: 6.75 kB / 0.5598 GB, free: 18.61 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.111e-05/0.6151, allocations: 65.36 kB / 0.5598 GB, free: 18.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002537/0.6153, allocations: 43.64 kB / 0.5599 GB, free: 18.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003582/0.6157, allocations: 288.8 kB / 0.5601 GB, free: 18.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.6157, allocations: 19.25 kB / 0.5602 GB, free: 18.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.63e-05/0.6157, allocations: 22.78 kB / 0.5602 GB, free: 18.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.6162, allocations: 324.6 kB / 0.5605 GB, free: 18.25 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.6162, allocations: 5.312 kB / 0.5605 GB, free: 18.25 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.6162, allocations: 11.61 kB / 0.5605 GB, free: 18.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.6163, allocations: 8.781 kB / 0.5605 GB, free: 18.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/0.6166, allocations: 206.1 kB / 0.5607 GB, free: 18.25 MB / 494.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.001782/0.6184, allocations: 1.592 MB / 0.5623 GB, free: 17.05 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.6186, allocations: 163.6 kB / 0.5624 GB, free: 17.03 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.6188, allocations: 85 kB / 0.5625 GB, free: 17.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.6188, allocations: 16.83 kB / 0.5625 GB, free: 17.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.6188, allocations: 35.86 kB / 0.5626 GB, free: 16.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.252e-06/0.6188, allocations: 0.9688 kB / 0.5626 GB, free: 16.98 MB / 494.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005547/0.6244, allocations: 1.623 MB / 0.5641 GB, free: 16.26 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.6244, allocations: 55.58 kB / 0.5642 GB, free: 16.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.6247, allocations: 252.1 kB / 0.5644 GB, free: 16.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.6247, allocations: 31.64 kB / 0.5645 GB, free: 16.05 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.6248, allocations: 182 kB / 0.5646 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.328e-05/0.6249, allocations: 101.5 kB / 0.5647 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.625, allocations: 79.75 kB / 0.5648 GB, free: 15.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.6252, allocations: 340.8 kB / 0.5651 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.6254, allocations: 89.64 kB / 0.5652 GB, free: 15.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.6256, allocations: 191 kB / 0.5654 GB, free: 15.42 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003748/0.6259, allocations: 301.6 kB / 0.5657 GB, free: 15.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6259, allocations: 0.6562 kB / 0.5657 GB, free: 15.31 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000641/0.6266, allocations: 403.9 kB / 0.5661 GB, free: 15.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6266, allocations: 10.7 kB / 0.5661 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.6266, allocations: 5.562 kB / 0.5661 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/0.6268, allocations: 72.89 kB / 0.5662 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.6272, allocations: 84.27 kB / 0.5662 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001509/0.6287, allocations: 1.952 MB / 0.5681 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.6289, allocations: 13.89 kB / 0.5682 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.6289, allocations: 36.33 kB / 0.5682 GB, free: 13.36 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.6291, allocations: 151.3 kB / 0.5683 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.999e-05/0.6292, allocations: 30.91 kB / 0.5684 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008613/0.63, allocations: 447.8 kB / 0.5688 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.63, allocations: 4.688 kB / 0.5688 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.63, allocations: 1.203 kB / 0.5688 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005622/0.6306, allocations: 0.5592 MB / 0.5693 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009129/0.6315, allocations: 0.7265 MB / 0.5701 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.6315, allocations: 1.969 kB / 0.5701 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.6318, allocations: 69.16 kB / 0.5701 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-05/0.6319, allocations: 26.25 kB / 0.5702 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.6319, allocations: 14.5 kB / 0.5702 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009159/0.6328, allocations: 1.388 MB / 0.5715 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6328, allocations: 1.5 kB / 0.5715 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/0.6335, allocations: 484.4 kB / 0.572 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/0.6335, allocations: 100.8 kB / 0.5721 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.6336, allocations: 5.969 kB / 0.5721 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.6338, allocations: 11 kB / 0.5721 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.6339, allocations: 31.12 kB / 0.5721 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-05/0.6339, allocations: 27.22 kB / 0.5722 GB, free: 10.72 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.6341, allocations: 192.2 kB / 0.5723 GB, free: 10.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6341, allocations: 0 / 0.5723 GB, free: 10.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004876/0.6346, allocations: 121.6 kB / 0.5725 GB, free: 10.64 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * 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.001161/0.6357, allocations: 1.068 MB / 0.5735 GB, free: 9.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005688/0.6363, allocations: 360.9 kB / 0.5738 GB, free: 9.816 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6363, allocations: 0 / 0.5738 GB, free: 9.816 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002703/0.6366, allocations: 228.2 kB / 0.5741 GB, free: 9.703 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008579/0.6374, allocations: 167.6 kB / 0.5742 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.641, allocations: 3.195 MB / 0.5773 GB, free: 8.027 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.6413, allocations: 0.7605 MB / 0.5781 GB, free: 7.332 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003772/0.6417, allocations: 118.7 kB / 0.5782 GB, free: 7.312 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002152/0.6419, allocations: 127.5 kB / 0.5783 GB, free: 7.305 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.6419, allocations: 4.75 kB / 0.5783 GB, free: 7.305 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03192/0.6739, allocations: 12 MB / 0.59 GB, free: 6.031 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.5, allocations: 26.77 kB / 0.5901 GB, free: 6.008 MB / 494.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.789865377999377]