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.005139/0.005139, allocations: 114 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.001338/0.001338, allocations: 212.3 kB / 25.28 MB, free: 3.25 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.266/1.266, 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.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.001616/0.001616, allocations: 51.92 kB / 348 MB, free: 9.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2257, allocations: 49.17 MB / 397.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.1887/0.4144, allocations: 173.4 MB / 0.5572 GB, free: 5.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00426/0.4187, allocations: 3.259 MB / 0.5604 GB, free: 1.996 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002259/0.4189, allocations: 4 kB / 0.5604 GB, free: 1.992 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006307/0.4195, allocations: 174.9 kB / 0.5606 GB, free: 1.82 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000918/0.4204, allocations: 421.5 kB / 0.561 GB, free: 1.41 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008056/0.4212, allocations: 347.3 kB / 0.5613 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009255/0.4222, allocations: 0.9148 MB / 0.5622 GB, free: 156 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.4223, allocations: 76.89 kB / 0.5623 GB, free: 80 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2013/0.6237, allocations: 0.807 MB / 0.5631 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.6241, allocations: 288.1 kB / 0.5634 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.524e-05/0.6241, allocations: 30.97 kB / 0.5634 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.6244, allocations: 122.3 kB / 0.5635 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.6245, allocations: 99.31 kB / 0.5636 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000204/0.6248, allocations: 186 kB / 0.5638 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005974/0.6253, allocations: 0.5215 MB / 0.5643 GB, free: 2.387 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6254, allocations: 1.688 kB / 0.5643 GB, free: 2.387 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.6254, allocations: 0 / 0.5643 GB, free: 2.387 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.6254, allocations: 1.203 kB / 0.5643 GB, free: 2.387 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.0008143/0.6262, allocations: 0.5155 MB / 0.5648 GB, free: 18.04 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.6262, allocations: 14.31 kB / 0.5648 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.083e-05/0.6262, allocations: 7.312 kB / 0.5648 GB, free: 18.04 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.035e-05/0.6263, allocations: 60.28 kB / 0.5649 GB, free: 18 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.6265, allocations: 48.8 kB / 0.5649 GB, free: 17.98 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004002/0.6269, allocations: 228.9 kB / 0.5651 GB, free: 17.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.627, allocations: 20.75 kB / 0.5652 GB, free: 17.83 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.195e-05/0.627, allocations: 25.42 kB / 0.5652 GB, free: 17.83 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.6275, allocations: 317.7 kB / 0.5655 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.6275, allocations: 1.719 kB / 0.5655 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.6275, allocations: 11.12 kB / 0.5655 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.6275, allocations: 7.75 kB / 0.5655 GB, free: 17.74 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003145/0.6278, allocations: 208 kB / 0.5657 GB, free: 17.74 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.001712/0.6296, allocations: 1.561 MB / 0.5672 GB, free: 16.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.6298, allocations: 163.8 kB / 0.5674 GB, free: 16.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.63, allocations: 85.05 kB / 0.5675 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.942e-05/0.63, allocations: 12.44 kB / 0.5675 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.63, allocations: 33.39 kB / 0.5675 GB, free: 16.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.282e-06/0.63, allocations: 0.5 kB / 0.5675 GB, free: 16.51 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.00503/0.6351, allocations: 1.326 MB / 0.5688 GB, free: 16.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.6351, allocations: 55.59 kB / 0.5689 GB, free: 16.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.6354, allocations: 251.3 kB / 0.5691 GB, free: 15.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.6354, allocations: 34.05 kB / 0.5691 GB, free: 15.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.6355, allocations: 175.7 kB / 0.5693 GB, free: 15.84 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.983e-05/0.6356, allocations: 104 kB / 0.5694 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.6357, allocations: 80.92 kB / 0.5695 GB, free: 15.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.6359, allocations: 339.7 kB / 0.5698 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.636, allocations: 92.69 kB / 0.5699 GB, free: 15.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.6362, allocations: 190 kB / 0.5701 GB, free: 15.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.6366, allocations: 303.3 kB / 0.5704 GB, free: 15.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6366, allocations: 1.125 kB / 0.5704 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000614/0.6372, allocations: 401.6 kB / 0.5707 GB, free: 15.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.6373, allocations: 12.27 kB / 0.5708 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.6373, allocations: 5.938 kB / 0.5708 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.6375, allocations: 74.05 kB / 0.5708 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.6378, allocations: 86.78 kB / 0.5709 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.6392, allocations: 1.845 MB / 0.5727 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002083/0.6394, allocations: 12.66 kB / 0.5727 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-05/0.6395, allocations: 36.59 kB / 0.5728 GB, free: 13.39 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.0001904/0.6397, allocations: 156.7 kB / 0.5729 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/0.6398, allocations: 36.73 kB / 0.5729 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008359/0.6406, allocations: 446.9 kB / 0.5734 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.6406, allocations: 2.812 kB / 0.5734 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.6406, allocations: 1.203 kB / 0.5734 GB, free: 13.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005937/0.6412, allocations: 0.5553 MB / 0.5739 GB, free: 12.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009844/0.6422, allocations: 0.7044 MB / 0.5746 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6422, allocations: 0.75 kB / 0.5746 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.6425, allocations: 68.94 kB / 0.5747 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.78e-05/0.6425, allocations: 27.81 kB / 0.5747 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.6426, allocations: 14.56 kB / 0.5747 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008759/0.6434, allocations: 1.277 MB / 0.576 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6434, allocations: 1.156 kB / 0.576 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006689/0.6441, allocations: 485.4 kB / 0.5764 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.6442, allocations: 28.06 kB / 0.5765 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.6442, allocations: 9.938 kB / 0.5765 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.6444, allocations: 7.438 kB / 0.5765 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.6445, allocations: 32.47 kB / 0.5765 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.6445, allocations: 30.09 kB / 0.5765 GB, free: 11.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001819/0.6447, allocations: 189.7 kB / 0.5767 GB, free: 10.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6447, allocations: 0.8438 kB / 0.5767 GB, free: 10.93 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005753/0.6453, allocations: 125.7 kB / 0.5768 GB, free: 10.92 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.001268/0.6465, allocations: 1.054 MB / 0.5779 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007166/0.6473, allocations: 364.6 kB / 0.5782 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6473, allocations: 0.9688 kB / 0.5782 GB, free: 10.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.6476, allocations: 229 kB / 0.5784 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009035/0.6485, allocations: 167.5 kB / 0.5786 GB, free: 9.977 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.6522, allocations: 3.195 MB / 0.5817 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.6526, allocations: 0.7641 MB / 0.5825 GB, free: 7.625 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003704/0.653, allocations: 121.6 kB / 0.5826 GB, free: 7.609 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.6532, allocations: 130.2 kB / 0.5827 GB, free: 7.602 MB / 494.1 MB Notification: Performance of SimCode: time 5.2e-07/0.6532, allocations: 0 / 0.5827 GB, free: 7.602 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03388/0.6871, allocations: 12.25 MB / 0.5947 GB, free: 6.305 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.88, allocations: 3.406 kB / 0.5947 GB, free: 6.305 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: 15.241096651996486]