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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 115 kB / 18.45 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 189.2 kB / 21.39 MB, free: 1.652 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.34/1.34, allocations: 207.6 MB / 231.8 MB, free: 4.219 MB / 174.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 59.91 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08641/0.08807, allocations: 49.11 MB / 391.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3492/0.4373, allocations: 173.3 MB / 0.5514 GB, free: 5.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003877/0.4412, allocations: 3.236 MB / 0.5546 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001507/0.4413, allocations: 7.938 kB / 0.5546 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005411/0.4419, allocations: 178.9 kB / 0.5548 GB, free: 1.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007647/0.4426, allocations: 405.5 kB / 0.5552 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000744/0.4434, allocations: 348.4 kB / 0.5555 GB, free: 1.105 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008669/0.4442, allocations: 0.8876 MB / 0.5564 GB, free: 220 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.4444, allocations: 84.67 kB / 0.5564 GB, free: 140 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.4459, allocations: 0.8001 MB / 0.5572 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003492/0.4462, allocations: 298.8 kB / 0.5575 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.4463, allocations: 32 kB / 0.5575 GB, free: 15.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.4465, allocations: 119.9 kB / 0.5577 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.4466, allocations: 103.6 kB / 0.5578 GB, free: 14.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.4468, allocations: 183.3 kB / 0.5579 GB, free: 14.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000585/0.4474, allocations: 0.5139 MB / 0.5584 GB, free: 14.1 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4474, allocations: 4 kB / 0.5584 GB, free: 14.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.4474, allocations: 0 / 0.5584 GB, free: 14.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.4474, allocations: 0 / 0.5584 GB, free: 14.09 MB / 446.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.0008212/0.4482, allocations: 0.5999 MB / 0.559 GB, free: 13.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4483, allocations: 12.03 kB / 0.559 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.921e-05/0.4484, allocations: 58.55 kB / 0.5591 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002583/0.4486, allocations: 43.8 kB / 0.5591 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.4491, allocations: 294.5 kB / 0.5594 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.4491, allocations: 20.56 kB / 0.5594 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.4491, allocations: 27.98 kB / 0.5595 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.4496, allocations: 315.7 kB / 0.5598 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4497, allocations: 3.938 kB / 0.5598 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.241e-05/0.4497, allocations: 12 kB / 0.5598 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.4497, allocations: 15.94 kB / 0.5598 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003285/0.45, allocations: 201.6 kB / 0.56 GB, free: 12.38 MB / 446.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.001817/0.4518, allocations: 1.589 MB / 0.5615 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.4521, allocations: 163.2 kB / 0.5617 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/0.4523, allocations: 88.77 kB / 0.5618 GB, free: 10.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.4523, allocations: 7.938 kB / 0.5618 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.4523, allocations: 38.56 kB / 0.5618 GB, free: 10.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.273e-06/0.4523, allocations: 0 / 0.5618 GB, free: 10.33 MB / 446.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.005247/0.4576, allocations: 1.633 MB / 0.5634 GB, free: 8.574 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4576, allocations: 55.39 kB / 0.5635 GB, free: 8.508 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.4579, allocations: 249 kB / 0.5637 GB, free: 8.258 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.4579, allocations: 29.7 kB / 0.5637 GB, free: 8.223 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.458, allocations: 180.5 kB / 0.5639 GB, free: 8.043 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.785e-05/0.4581, allocations: 99.17 kB / 0.564 GB, free: 7.945 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.4583, allocations: 85.64 kB / 0.5641 GB, free: 7.855 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.4584, allocations: 342.7 kB / 0.5644 GB, free: 7.512 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.4586, allocations: 87.97 kB / 0.5645 GB, free: 7.426 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.4588, allocations: 191.7 kB / 0.5647 GB, free: 7.195 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.4592, allocations: 296.3 kB / 0.565 GB, free: 6.863 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4592, allocations: 0 / 0.565 GB, free: 6.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006873/0.4599, allocations: 406.8 kB / 0.5653 GB, free: 6.453 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4599, allocations: 7.984 kB / 0.5653 GB, free: 6.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.4599, allocations: 4 kB / 0.5654 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002015/0.4601, allocations: 74.09 kB / 0.5654 GB, free: 6.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.4605, allocations: 83.89 kB / 0.5655 GB, free: 6.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.462, allocations: 1.947 MB / 0.5674 GB, free: 4.168 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.4622, allocations: 8 kB / 0.5674 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.4623, allocations: 43.98 kB / 0.5675 GB, free: 4.117 MB / 446.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.0001751/0.4625, allocations: 161.8 kB / 0.5676 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.75e-05/0.4625, allocations: 27.81 kB / 0.5676 GB, free: 3.922 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008536/0.4634, allocations: 443 kB / 0.5681 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.4634, allocations: 4 kB / 0.5681 GB, free: 3.469 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.033e-06/0.4634, allocations: 4 kB / 0.5681 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005829/0.464, allocations: 0.5552 MB / 0.5686 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.465, allocations: 0.7324 MB / 0.5693 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.465, allocations: 0 / 0.5693 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003146/0.4653, allocations: 71.89 kB / 0.5694 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.109e-05/0.4654, allocations: 24.91 kB / 0.5694 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.4654, allocations: 15.98 kB / 0.5694 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.4665, allocations: 1.391 MB / 0.5708 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4665, allocations: 4 kB / 0.5708 GB, free: 384 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006927/0.4672, allocations: 491.3 kB / 0.5713 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.111e-05/0.4672, allocations: 101 kB / 0.5714 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.735e-05/0.4673, allocations: 8 kB / 0.5714 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.4675, allocations: 8 kB / 0.5714 GB, free: 15.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.4675, allocations: 23.97 kB / 0.5714 GB, free: 15.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.4676, allocations: 27.98 kB / 0.5714 GB, free: 15.69 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.4678, allocations: 190 kB / 0.5716 GB, free: 15.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4678, allocations: 0 / 0.5716 GB, free: 15.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004719/0.4683, allocations: 127.9 kB / 0.5717 GB, free: 15.38 MB / 462.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.001206/0.4695, allocations: 1.062 MB / 0.5728 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006375/0.4701, allocations: 355.2 kB / 0.5731 GB, free: 13.92 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4701, allocations: 8 kB / 0.5731 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.4704, allocations: 218.5 kB / 0.5733 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000855/0.4713, allocations: 170.8 kB / 0.5735 GB, free: 13.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004077/0.4753, allocations: 3.194 MB / 0.5766 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.4758, allocations: 0.7722 MB / 0.5774 GB, free: 9.344 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003944/0.4762, allocations: 114.9 kB / 0.5775 GB, free: 9.234 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.4764, allocations: 127.4 kB / 0.5776 GB, free: 9.109 MB / 462.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4764, allocations: 0 / 0.5776 GB, free: 9.109 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04062/0.517, allocations: 11.98 MB / 0.5893 GB, free: 13.06 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.33, allocations: 19.73 kB / 0.5893 GB, free: 13.04 MB / 478.1 MB " [Timeout remaining time 648] (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_2/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_2/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.629773964174092]