Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.001445/0.001445, allocations: 118.3 kB / 19.17 MB, free: 3.898 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.001513/0.001513, allocations: 205.7 kB / 22.12 MB, free: 0.9609 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.279/1.279, allocations: 207.6 MB / 232.5 MB, free: 11.53 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.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",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.001609/0.001609, allocations: 67.89 kB / 343 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2249, allocations: 49.12 MB / 392.2 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.1781/0.4029, allocations: 173.3 MB / 0.5522 GB, free: 6.43 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003789/0.4067, allocations: 3.236 MB / 0.5554 GB, free: 3.176 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.4068, allocations: 4 kB / 0.5554 GB, free: 3.172 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.4073, allocations: 174.9 kB / 0.5555 GB, free: 3 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007367/0.4081, allocations: 417.5 kB / 0.5559 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.4088, allocations: 355.3 kB / 0.5563 GB, free: 2.246 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008701/0.4097, allocations: 0.8991 MB / 0.5572 GB, free: 1.344 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.4099, allocations: 80.69 kB / 0.5572 GB, free: 1.27 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001357/0.4112, allocations: 0.7979 MB / 0.558 GB, free: 480 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.4115, allocations: 294.9 kB / 0.5583 GB, free: 184 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.4116, allocations: 32 kB / 0.5583 GB, free: 152 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002496/0.4118, allocations: 123.8 kB / 0.5584 GB, free: 28 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1971/0.6089, allocations: 90.7 kB / 0.5585 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000305/0.6092, allocations: 183.1 kB / 0.5587 GB, free: 3.156 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007697/0.61, allocations: 0.5218 MB / 0.5592 GB, free: 3.133 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.61, allocations: 0 / 0.5592 GB, free: 3.133 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.61, allocations: 0 / 0.5592 GB, free: 3.133 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.61, allocations: 1 kB / 0.5592 GB, free: 3.133 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.0007815/0.6108, allocations: 0.5923 MB / 0.5598 GB, free: 18.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.6108, allocations: 10.09 kB / 0.5598 GB, free: 18.7 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.658e-05/0.6109, allocations: 7.219 kB / 0.5598 GB, free: 18.7 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.263e-05/0.6109, allocations: 59.17 kB / 0.5599 GB, free: 18.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002629/0.6112, allocations: 45.58 kB / 0.5599 GB, free: 18.64 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.6115, allocations: 291.5 kB / 0.5602 GB, free: 18.42 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.6116, allocations: 19.34 kB / 0.5602 GB, free: 18.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.717e-05/0.6116, allocations: 23.47 kB / 0.5602 GB, free: 18.42 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.6121, allocations: 323.7 kB / 0.5605 GB, free: 18.33 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.6121, allocations: 4.188 kB / 0.5605 GB, free: 18.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.6121, allocations: 12.67 kB / 0.5606 GB, free: 18.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.6121, allocations: 7.281 kB / 0.5606 GB, free: 18.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.6125, allocations: 206.8 kB / 0.5608 GB, free: 18.33 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.001722/0.6142, allocations: 1.596 MB / 0.5623 GB, free: 17.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002756/0.6145, allocations: 159.1 kB / 0.5625 GB, free: 17.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.6146, allocations: 95.47 kB / 0.5626 GB, free: 17.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/0.6146, allocations: 8.328 kB / 0.5626 GB, free: 17.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.6147, allocations: 37.5 kB / 0.5626 GB, free: 17.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=22): time 1.303e-06/0.6147, allocations: 0 / 0.5626 GB, free: 17.06 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.005456/0.6201, allocations: 1.615 MB / 0.5642 GB, free: 16.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.6202, allocations: 59.28 kB / 0.5642 GB, free: 16.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.6204, allocations: 252.8 kB / 0.5645 GB, free: 16.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.595e-05/0.6204, allocations: 33.62 kB / 0.5645 GB, free: 16.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.6205, allocations: 176.8 kB / 0.5647 GB, free: 16.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.6206, allocations: 108 kB / 0.5648 GB, free: 15.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.6207, allocations: 78.92 kB / 0.5649 GB, free: 15.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.6208, allocations: 338 kB / 0.5652 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.621, allocations: 90.25 kB / 0.5653 GB, free: 15.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.6212, allocations: 189.5 kB / 0.5654 GB, free: 15.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.6216, allocations: 302 kB / 0.5657 GB, free: 15.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6216, allocations: 2.375 kB / 0.5657 GB, free: 15.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006275/0.6222, allocations: 405 kB / 0.5661 GB, free: 15.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6222, allocations: 13.94 kB / 0.5661 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.6222, allocations: 5.281 kB / 0.5661 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/0.6224, allocations: 73.5 kB / 0.5662 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.6228, allocations: 83.27 kB / 0.5663 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.6243, allocations: 1.953 MB / 0.5682 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.6245, allocations: 9.219 kB / 0.5682 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.6246, allocations: 44 kB / 0.5683 GB, free: 13.44 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.0001628/0.6247, allocations: 156.2 kB / 0.5684 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.6248, allocations: 32.52 kB / 0.5684 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008114/0.6256, allocations: 443.3 kB / 0.5689 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.6256, allocations: 3.031 kB / 0.5689 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6256, allocations: 2.234 kB / 0.5689 GB, free: 13.22 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005375/0.6262, allocations: 0.5615 MB / 0.5694 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009032/0.6271, allocations: 0.7257 MB / 0.5701 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6271, allocations: 0 / 0.5701 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.6274, allocations: 75.61 kB / 0.5702 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.356e-05/0.6274, allocations: 24.58 kB / 0.5702 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/0.6274, allocations: 13.77 kB / 0.5702 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008892/0.6283, allocations: 1.372 MB / 0.5716 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6283, allocations: 2.312 kB / 0.5716 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.629, allocations: 493.8 kB / 0.572 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.701e-05/0.629, allocations: 101.7 kB / 0.5721 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.654e-05/0.6291, allocations: 7.125 kB / 0.5721 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.6293, allocations: 6.75 kB / 0.5721 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.6294, allocations: 30.05 kB / 0.5722 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.633e-05/0.6294, allocations: 35.83 kB / 0.5722 GB, free: 10.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.6296, allocations: 193.1 kB / 0.5724 GB, free: 10.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6296, allocations: 0 / 0.5724 GB, free: 10.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004903/0.6301, allocations: 121 kB / 0.5725 GB, free: 10.71 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.001141/0.6312, allocations: 1.057 MB / 0.5735 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005797/0.6318, allocations: 362.7 kB / 0.5739 GB, free: 9.895 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.6318, allocations: 1.438 kB / 0.5739 GB, free: 9.895 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002738/0.6321, allocations: 224.4 kB / 0.5741 GB, free: 9.781 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008564/0.6329, allocations: 158.5 kB / 0.5743 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.6368, allocations: 3.197 MB / 0.5774 GB, free: 8.113 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003727/0.6372, allocations: 0.7649 MB / 0.5781 GB, free: 7.418 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003818/0.6376, allocations: 109 kB / 0.5782 GB, free: 7.406 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002245/0.6378, allocations: 133.8 kB / 0.5784 GB, free: 7.398 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.6378, allocations: 1 kB / 0.5784 GB, free: 7.398 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.6715, allocations: 12 MB / 0.5901 GB, free: 6.125 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/12.44, allocations: 15.28 kB / 0.5901 GB, free: 6.113 MB / 494.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_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/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.756046722002793]