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.001909/0.001909, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002315/0.002315, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.398/1.398, allocations: 207.6 MB / 235.3 MB, free: 10.02 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.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.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.001858/0.001858, allocations: 55.92 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2403, allocations: 49.16 MB / 396.4 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.2018/0.4421, allocations: 173.5 MB / 0.5565 GB, free: 5.27 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00463/0.4467, allocations: 3.252 MB / 0.5597 GB, free: 2.004 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/0.447, allocations: 7.938 kB / 0.5597 GB, free: 1.996 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006439/0.4477, allocations: 174.9 kB / 0.5598 GB, free: 1.824 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.4488, allocations: 417.5 kB / 0.5602 GB, free: 1.418 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009351/0.4497, allocations: 351.2 kB / 0.5606 GB, free: 1.074 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.4509, allocations: 0.9187 MB / 0.5615 GB, free: 156 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.4511, allocations: 80.88 kB / 0.5615 GB, free: 76 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2265/0.6776, allocations: 0.7977 MB / 0.5623 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006574/0.6783, allocations: 285.3 kB / 0.5626 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.6784, allocations: 31.02 kB / 0.5626 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004624/0.6789, allocations: 126.5 kB / 0.5627 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.679, allocations: 96.28 kB / 0.5628 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.6793, allocations: 190.2 kB / 0.563 GB, free: 2.422 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008245/0.6801, allocations: 0.5175 MB / 0.5635 GB, free: 2.398 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6801, allocations: 0.9688 kB / 0.5635 GB, free: 2.398 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.6801, allocations: 1.203 kB / 0.5635 GB, free: 2.398 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.6801, allocations: 0.9688 kB / 0.5635 GB, free: 2.398 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.001043/0.6812, allocations: 0.5154 MB / 0.564 GB, free: 18.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.6812, allocations: 15.47 kB / 0.564 GB, free: 18.05 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.704e-05/0.6813, allocations: 62.94 kB / 0.5641 GB, free: 18.01 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002846/0.6816, allocations: 44.36 kB / 0.5641 GB, free: 18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.682, allocations: 225.3 kB / 0.5644 GB, free: 17.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.682, allocations: 20.88 kB / 0.5644 GB, free: 17.85 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.038e-05/0.6821, allocations: 25.64 kB / 0.5644 GB, free: 17.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004908/0.6826, allocations: 317 kB / 0.5647 GB, free: 17.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.6826, allocations: 1.906 kB / 0.5647 GB, free: 17.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.6826, allocations: 12.52 kB / 0.5647 GB, free: 17.75 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.6826, allocations: 13.06 kB / 0.5647 GB, free: 17.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003392/0.683, allocations: 206.3 kB / 0.5649 GB, free: 17.75 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.001949/0.6849, allocations: 1.562 MB / 0.5665 GB, free: 16.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003111/0.6852, allocations: 161.3 kB / 0.5666 GB, free: 16.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.6854, allocations: 95.83 kB / 0.5667 GB, free: 16.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.6854, allocations: 6.281 kB / 0.5667 GB, free: 16.56 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.6855, allocations: 36.91 kB / 0.5667 GB, free: 16.52 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/0.6855, allocations: 0 / 0.5667 GB, free: 16.52 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.005397/0.6909, allocations: 1.317 MB / 0.568 GB, free: 16.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.6909, allocations: 54.81 kB / 0.5681 GB, free: 16.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.6912, allocations: 259.7 kB / 0.5683 GB, free: 16.01 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.6912, allocations: 30.98 kB / 0.5684 GB, free: 15.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.6913, allocations: 175.6 kB / 0.5685 GB, free: 15.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.6914, allocations: 105.7 kB / 0.5686 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.6915, allocations: 82.72 kB / 0.5687 GB, free: 15.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6916, allocations: 339.4 kB / 0.569 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.6918, allocations: 83.88 kB / 0.5691 GB, free: 15.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.692, allocations: 189.5 kB / 0.5693 GB, free: 15.35 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.6924, allocations: 308 kB / 0.5696 GB, free: 15.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.6924, allocations: 2.094 kB / 0.5696 GB, free: 15.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006624/0.6931, allocations: 399.7 kB / 0.57 GB, free: 15.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.6931, allocations: 11.84 kB / 0.57 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.6931, allocations: 3.125 kB / 0.57 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002252/0.6933, allocations: 72.84 kB / 0.5701 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.6937, allocations: 88.86 kB / 0.5701 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.6952, allocations: 1.85 MB / 0.5719 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.6954, allocations: 15.55 kB / 0.572 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.45e-05/0.6955, allocations: 39.53 kB / 0.572 GB, free: 13.41 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.0002307/0.6957, allocations: 151.6 kB / 0.5721 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.6958, allocations: 31.38 kB / 0.5722 GB, free: 13.28 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008306/0.6966, allocations: 436.6 kB / 0.5726 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6966, allocations: 9.531 kB / 0.5726 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.6966, allocations: 0 / 0.5726 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005738/0.6972, allocations: 0.5608 MB / 0.5731 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.6983, allocations: 0.7001 MB / 0.5738 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6983, allocations: 0.875 kB / 0.5738 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003185/0.6986, allocations: 72.59 kB / 0.5739 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.73e-05/0.6987, allocations: 21.55 kB / 0.5739 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.6987, allocations: 18.48 kB / 0.5739 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009451/0.6997, allocations: 1.286 MB / 0.5752 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6997, allocations: 1.625 kB / 0.5752 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006778/0.7003, allocations: 484.1 kB / 0.5757 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/0.7004, allocations: 24.02 kB / 0.5757 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.7005, allocations: 5.719 kB / 0.5757 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.7007, allocations: 8.938 kB / 0.5757 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.7008, allocations: 31.52 kB / 0.5757 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.998e-05/0.7008, allocations: 30.88 kB / 0.5757 GB, free: 11.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002077/0.701, allocations: 189.4 kB / 0.5759 GB, free: 10.95 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.701, allocations: 0 / 0.5759 GB, free: 10.95 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005905/0.7016, allocations: 124.2 kB / 0.576 GB, free: 10.94 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.001257/0.7029, allocations: 1.061 MB / 0.5771 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007196/0.7036, allocations: 365.2 kB / 0.5774 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7036, allocations: 0.9375 kB / 0.5774 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003008/0.7039, allocations: 226.7 kB / 0.5776 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009236/0.7048, allocations: 164.5 kB / 0.5778 GB, free: 9.996 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004358/0.7092, allocations: 3.191 MB / 0.5809 GB, free: 8.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.7096, allocations: 0.7706 MB / 0.5817 GB, free: 7.645 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004872/0.7101, allocations: 118.3 kB / 0.5818 GB, free: 7.625 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.7104, allocations: 126.2 kB / 0.5819 GB, free: 7.617 MB / 494.1 MB Notification: Performance of SimCode: time 6.92e-07/0.7104, allocations: 4.062 kB / 0.5819 GB, free: 7.617 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04867/0.759, allocations: 12.21 MB / 0.5938 GB, free: 6.355 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/13.88, allocations: 4.984 kB / 0.5938 GB, free: 6.352 MB / 494.1 MB " [Timeout remaining time 646] (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: 16.325071597937495]