Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.007122/0.007122, allocations: 101.5 kB / 21.96 MB, free: 5.207 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.001967/0.001967, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.258/1.258, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",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.001611/0.001611, allocations: 49.8 kB / 348 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2153, allocations: 49.16 MB / 397.2 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.1779/0.3932, allocations: 161.6 MB / 0.5457 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005474/0.3987, allocations: 4.355 MB / 0.5499 GB, free: 12.61 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.3988, allocations: 11.88 kB / 0.5499 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007506/0.3996, allocations: 230.6 kB / 0.5502 GB, free: 12.37 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000633/0.4002, allocations: 377.9 kB / 0.5505 GB, free: 12 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007109/0.4073, allocations: 2.917 MB / 0.5534 GB, free: 9.07 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001273/0.4086, allocations: 1.177 MB / 0.5545 GB, free: 7.891 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.4088, allocations: 105.7 kB / 0.5546 GB, free: 7.781 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002837/0.4116, allocations: 1.483 MB / 0.5561 GB, free: 6.293 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006022/0.4122, allocations: 450.5 kB / 0.5565 GB, free: 5.852 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.4123, allocations: 64 kB / 0.5566 GB, free: 5.789 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005718/0.418, allocations: 3.591 MB / 0.5601 GB, free: 2.191 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002699/0.4183, allocations: 243.4 kB / 0.5603 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.4186, allocations: 283.1 kB / 0.5606 GB, free: 1.676 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1954/0.614, allocations: 2.788 MB / 0.5633 GB, free: 7.535 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.614, allocations: 1.828 kB / 0.5633 GB, free: 7.535 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.614, allocations: 0 / 0.5633 GB, free: 7.535 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.6141, allocations: 0.5625 kB / 0.5633 GB, free: 7.535 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002296/0.6164, allocations: 1.093 MB / 0.5644 GB, free: 6.898 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.6164, allocations: 13.78 kB / 0.5644 GB, free: 6.895 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.978e-05/0.6164, allocations: 13.78 kB / 0.5644 GB, free: 6.895 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.468e-05/0.6165, allocations: 86.48 kB / 0.5645 GB, free: 6.855 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.6169, allocations: 60.23 kB / 0.5645 GB, free: 6.832 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.6173, allocations: 306 kB / 0.5648 GB, free: 6.672 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.6174, allocations: 35.16 kB / 0.5648 GB, free: 6.672 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/0.6174, allocations: 45.28 kB / 0.5649 GB, free: 6.672 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009439/0.6184, allocations: 0.8039 MB / 0.5657 GB, free: 6.262 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.6184, allocations: 5.219 kB / 0.5657 GB, free: 6.262 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.955e-05/0.6185, allocations: 19.86 kB / 0.5657 GB, free: 6.262 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.6185, allocations: 11.38 kB / 0.5657 GB, free: 6.262 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009514/0.6194, allocations: 0.6004 MB / 0.5663 GB, free: 6.262 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.6221, allocations: 1.323 MB / 0.5676 GB, free: 5.953 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.6231, allocations: 0.525 MB / 0.5681 GB, free: 5.922 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003545/0.6235, allocations: 243.5 kB / 0.5683 GB, free: 5.914 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.6238, allocations: 101.5 kB / 0.5684 GB, free: 5.914 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.6238, allocations: 43.34 kB / 0.5685 GB, free: 5.875 MB / 478.1 MB Notification: Performance of pre-optimization done (n=53): time 1.713e-06/0.6238, allocations: 0 / 0.5685 GB, free: 5.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=65): time 0.01321/0.637, allocations: 3.411 MB / 0.5718 GB, free: 5.574 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.637, allocations: 59.06 kB / 0.5719 GB, free: 5.512 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003052/0.6373, allocations: 296 kB / 0.5721 GB, free: 5.402 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.886e-05/0.6374, allocations: 41.33 kB / 0.5722 GB, free: 5.371 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.767e-05/0.6375, allocations: 194.4 kB / 0.5724 GB, free: 5.242 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.6376, allocations: 240.1 kB / 0.5726 GB, free: 5.086 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.6378, allocations: 117.6 kB / 0.5727 GB, free: 5.07 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.385e-05/0.6379, allocations: 349.2 kB / 0.573 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/0.6385, allocations: 310.9 kB / 0.5733 GB, free: 4.758 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007004/0.6392, allocations: 388.3 kB / 0.5737 GB, free: 4.703 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.6405, allocations: 0.7121 MB / 0.5744 GB, free: 4.645 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6405, allocations: 0 / 0.5744 GB, free: 4.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00202/0.6426, allocations: 0.9641 MB / 0.5753 GB, free: 4.547 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.6426, allocations: 5.406 kB / 0.5753 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.6426, allocations: 5.766 kB / 0.5754 GB, free: 4.543 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001406/0.644, allocations: 338.4 kB / 0.5757 GB, free: 4.516 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/0.6445, allocations: 116.9 kB / 0.5758 GB, free: 4.516 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003302/0.6478, allocations: 3.495 MB / 0.5792 GB, free: 17.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/0.6484, allocations: 42.03 kB / 0.5792 GB, free: 17.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/0.6484, allocations: 27.3 kB / 0.5793 GB, free: 17.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002597/0.6487, allocations: 191.5 kB / 0.5794 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.6488, allocations: 42.86 kB / 0.5795 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002079/0.6509, allocations: 1.024 MB / 0.5805 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.6509, allocations: 12.25 kB / 0.5805 GB, free: 17.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.6509, allocations: 4.781 kB / 0.5805 GB, free: 17.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001742/0.6527, allocations: 1.066 MB / 0.5815 GB, free: 16.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002453/0.6551, allocations: 1.558 MB / 0.5831 GB, free: 16.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6551, allocations: 1.641 kB / 0.5831 GB, free: 16.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004957/0.6556, allocations: 115.1 kB / 0.5832 GB, free: 16.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/0.6571, allocations: 369.4 kB / 0.5835 GB, free: 16.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/0.6572, allocations: 23.94 kB / 0.5836 GB, free: 16.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.6584, allocations: 0.8646 MB / 0.5844 GB, free: 16.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6584, allocations: 4.156 kB / 0.5844 GB, free: 16.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.6606, allocations: 1.341 MB / 0.5857 GB, free: 15.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.171e-05/0.6607, allocations: 45.34 kB / 0.5858 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.38e-05/0.6608, allocations: 19.62 kB / 0.5858 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005895/0.6613, allocations: 44.95 kB / 0.5858 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.178e-05/0.6614, allocations: 43.7 kB / 0.5859 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-05/0.6615, allocations: 29.84 kB / 0.5859 GB, free: 15.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001924/0.6617, allocations: 227.5 kB / 0.5861 GB, free: 15.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6617, allocations: 0 / 0.5861 GB, free: 15.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001227/0.6629, allocations: 466.5 kB / 0.5866 GB, free: 15.74 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (62): * Single equations (assignments): 61 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00359/0.6665, allocations: 2.364 MB / 0.5889 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001673/0.6682, allocations: 0.9589 MB / 0.5898 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6682, allocations: 2.844 kB / 0.5898 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007552/0.6689, allocations: 408 kB / 0.5902 GB, free: 14.69 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.6701, allocations: 310.2 kB / 0.5905 GB, free: 14.66 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008109/0.6782, allocations: 5.72 MB / 0.5961 GB, free: 12.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.6784, allocations: 255.6 kB / 0.5963 GB, free: 12.81 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004683/0.6789, allocations: 131 kB / 0.5964 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/0.6791, allocations: 159 kB / 0.5966 GB, free: 12.77 MB / 494.1 MB Notification: Performance of SimCode: time 6.72e-07/0.6791, allocations: 0 / 0.5966 GB, free: 12.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05362/0.7327, allocations: 27.92 MB / 0.6239 GB, free: 4.797 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.58, allocations: 7.641 kB / 0.6239 GB, free: 4.793 MB / 494.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_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/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.23331566702109]