Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.001569/0.001569, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.001735/0.001735, allocations: 216.7 kB / 24.49 MB, free: 4.09 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.38/1.38, allocations: 207.6 MB / 235.3 MB, free: 10.01 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.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",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.001891/0.001891, allocations: 51.92 kB / 347.2 MB, free: 10 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2603, allocations: 49.16 MB / 396.4 MB, free: 8.988 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.1997/0.4599, allocations: 173.5 MB / 0.5565 GB, free: 5.207 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004318/0.4643, allocations: 3.252 MB / 0.5597 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.4645, allocations: 7.938 kB / 0.5597 GB, free: 1.934 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006141/0.4651, allocations: 182.9 kB / 0.5599 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009633/0.4661, allocations: 413.5 kB / 0.5603 GB, free: 1.352 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008998/0.467, allocations: 351.2 kB / 0.5606 GB, free: 1.008 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.4681, allocations: 0.9109 MB / 0.5615 GB, free: 96 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001894/0.4683, allocations: 84.86 kB / 0.5616 GB, free: 12 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2188/0.6871, allocations: 0.7991 MB / 0.5624 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004609/0.6875, allocations: 288.7 kB / 0.5626 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.516e-05/0.6876, allocations: 29.81 kB / 0.5627 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.688, allocations: 128.2 kB / 0.5628 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.6881, allocations: 95.22 kB / 0.5629 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.6883, allocations: 189.4 kB / 0.5631 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006698/0.689, allocations: 0.5176 MB / 0.5636 GB, free: 2.359 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.689, allocations: 0.6562 kB / 0.5636 GB, free: 2.359 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.689, allocations: 2.078 kB / 0.5636 GB, free: 2.359 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.689, allocations: 0.75 kB / 0.5636 GB, free: 2.359 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.0009307/0.6899, allocations: 0.517 MB / 0.5641 GB, free: 18.02 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.69, allocations: 13.73 kB / 0.5641 GB, free: 18.01 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.634e-05/0.6901, allocations: 61.42 kB / 0.5641 GB, free: 17.97 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002786/0.6903, allocations: 44.52 kB / 0.5642 GB, free: 17.96 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.6907, allocations: 230.4 kB / 0.5644 GB, free: 17.81 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.6907, allocations: 20.62 kB / 0.5644 GB, free: 17.81 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.6908, allocations: 28.73 kB / 0.5645 GB, free: 17.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.6913, allocations: 316 kB / 0.5648 GB, free: 17.71 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.6913, allocations: 1.969 kB / 0.5648 GB, free: 17.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.513e-05/0.6913, allocations: 16.22 kB / 0.5648 GB, free: 17.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.6913, allocations: 8.125 kB / 0.5648 GB, free: 17.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003317/0.6917, allocations: 206.8 kB / 0.565 GB, free: 17.71 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.001855/0.6935, allocations: 1.557 MB / 0.5665 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.6938, allocations: 164.5 kB / 0.5667 GB, free: 16.53 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.694, allocations: 89.22 kB / 0.5667 GB, free: 16.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.694, allocations: 9.375 kB / 0.5668 GB, free: 16.52 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.694, allocations: 38.36 kB / 0.5668 GB, free: 16.48 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.6941, allocations: 0.9688 kB / 0.5668 GB, free: 16.48 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.005282/0.6993, allocations: 1.327 MB / 0.5681 GB, free: 16.13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.6994, allocations: 53.78 kB / 0.5681 GB, free: 16.07 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002528/0.6996, allocations: 254.3 kB / 0.5684 GB, free: 15.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.6997, allocations: 32.55 kB / 0.5684 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.884e-05/0.6998, allocations: 182 kB / 0.5686 GB, free: 15.81 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.472e-05/0.6998, allocations: 100 kB / 0.5687 GB, free: 15.74 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.6999, allocations: 80.62 kB / 0.5688 GB, free: 15.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7001, allocations: 336.7 kB / 0.5691 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001503/0.7002, allocations: 88.06 kB / 0.5692 GB, free: 15.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.7004, allocations: 191.7 kB / 0.5693 GB, free: 15.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.7008, allocations: 302.1 kB / 0.5696 GB, free: 15.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7008, allocations: 2.094 kB / 0.5696 GB, free: 15.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006185/0.7014, allocations: 402.8 kB / 0.57 GB, free: 15.12 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.7014, allocations: 12.48 kB / 0.57 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.7014, allocations: 4.406 kB / 0.57 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/0.7016, allocations: 77.86 kB / 0.5701 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003493/0.702, allocations: 84.56 kB / 0.5702 GB, free: 15.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.7035, allocations: 1.848 MB / 0.572 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.7037, allocations: 13.44 kB / 0.572 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.7038, allocations: 33.97 kB / 0.572 GB, free: 13.37 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.0001787/0.7039, allocations: 158.9 kB / 0.5722 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/0.704, allocations: 30.38 kB / 0.5722 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008135/0.7048, allocations: 438.9 kB / 0.5726 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.7048, allocations: 4.062 kB / 0.5726 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.7048, allocations: 2.828 kB / 0.5726 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005708/0.7054, allocations: 0.5608 MB / 0.5732 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.7064, allocations: 0.6981 MB / 0.5739 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.7064, allocations: 1.656 kB / 0.5739 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.7067, allocations: 67.69 kB / 0.5739 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.692e-05/0.7068, allocations: 20.22 kB / 0.574 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.7069, allocations: 21.73 kB / 0.574 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.7079, allocations: 1.28 MB / 0.5752 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7079, allocations: 0.9375 kB / 0.5752 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007145/0.7086, allocations: 484 kB / 0.5757 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.64e-05/0.7087, allocations: 29.25 kB / 0.5757 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.7087, allocations: 5.875 kB / 0.5757 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.709, allocations: 8.812 kB / 0.5757 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.709, allocations: 34.28 kB / 0.5758 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/0.7091, allocations: 32.92 kB / 0.5758 GB, free: 10.99 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.7093, allocations: 186.3 kB / 0.576 GB, free: 10.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7093, allocations: 0.7812 kB / 0.576 GB, free: 10.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005769/0.7099, allocations: 128.7 kB / 0.5761 GB, free: 10.9 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.711, allocations: 1.054 MB / 0.5771 GB, free: 10.19 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006284/0.7117, allocations: 366.4 kB / 0.5775 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7117, allocations: 0.9375 kB / 0.5775 GB, free: 10.08 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.7119, allocations: 225.9 kB / 0.5777 GB, free: 9.965 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009051/0.7128, allocations: 170.5 kB / 0.5779 GB, free: 9.949 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004298/0.7171, allocations: 3.193 MB / 0.581 GB, free: 8.297 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004117/0.7176, allocations: 0.7654 MB / 0.5817 GB, free: 7.602 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004033/0.718, allocations: 112.4 kB / 0.5818 GB, free: 7.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.7182, allocations: 129.4 kB / 0.582 GB, free: 7.582 MB / 494.1 MB Notification: Performance of SimCode: time 6.92e-07/0.7182, allocations: 0 / 0.582 GB, free: 7.582 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04647/0.7647, allocations: 12.23 MB / 0.5939 GB, free: 6.309 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/13.96, allocations: 2.469 kB / 0.5939 GB, free: 6.309 MB / 494.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.377187037840486]