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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="me",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="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 113.9 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.331/1.331, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB 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.001653/0.001654, allocations: 51.92 kB / 328.1 MB, free: 3.77 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08699/0.08865, allocations: 46.62 MB / 374.7 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.3676/0.4563, allocations: 186.6 MB / 0.5481 GB, free: 4.629 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.2298/0.6861, allocations: 4.773 MB / 0.5528 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003804/0.6865, allocations: 8.438 kB / 0.5528 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007098/0.6873, allocations: 247.6 kB / 0.553 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006174/0.6879, allocations: 371.6 kB / 0.5534 GB, free: 1.512 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006794/0.6948, allocations: 2.859 MB / 0.5562 GB, free: 1.496 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.6964, allocations: 1.163 MB / 0.5573 GB, free: 1.492 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00026/0.6967, allocations: 157.1 kB / 0.5575 GB, free: 1.457 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/0.7001, allocations: 1.451 MB / 0.5589 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006359/0.7007, allocations: 427.8 kB / 0.5593 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.7008, allocations: 63.06 kB / 0.5594 GB, free: 1.449 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00807/0.7089, allocations: 4.215 MB / 0.5635 GB, free: 1.426 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005096/0.7095, allocations: 233 kB / 0.5637 GB, free: 1.426 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006653/0.7101, allocations: 318.7 kB / 0.564 GB, free: 1.426 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008441/0.7186, allocations: 2.917 MB / 0.5668 GB, free: 1.277 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.7186, allocations: 0.8438 kB / 0.5668 GB, free: 1.277 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7187, allocations: 1.203 kB / 0.5668 GB, free: 1.277 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.7187, allocations: 0.8438 kB / 0.5669 GB, free: 1.277 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.003151/0.7218, allocations: 1.172 MB / 0.568 GB, free: 16.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.7219, allocations: 9.438 kB / 0.568 GB, free: 16.55 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.722, allocations: 92.02 kB / 0.5681 GB, free: 16.51 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003397/0.7224, allocations: 63.84 kB / 0.5682 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/0.7229, allocations: 366.5 kB / 0.5685 GB, free: 16.25 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.723, allocations: 35.94 kB / 0.5685 GB, free: 16.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.723, allocations: 37.97 kB / 0.5686 GB, free: 16.25 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/0.7238, allocations: 0.5076 MB / 0.5691 GB, free: 16.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.7239, allocations: 0 / 0.5691 GB, free: 16.21 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/0.7239, allocations: 20.38 kB / 0.5691 GB, free: 16.21 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.7239, allocations: 12.47 kB / 0.5691 GB, free: 16.21 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008653/0.7248, allocations: 0.602 MB / 0.5697 GB, free: 16.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003038/0.7279, allocations: 2.185 MB / 0.5718 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.729, allocations: 0.5432 MB / 0.5724 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.7293, allocations: 259.6 kB / 0.5726 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005995/0.7299, allocations: 0.694 MB / 0.5733 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.7299, allocations: 52.53 kB / 0.5733 GB, free: 14.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 2.184e-06/0.7299, allocations: 0 / 0.5733 GB, free: 14.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01271/0.7427, allocations: 3.634 MB / 0.5769 GB, free: 13.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.7427, allocations: 57.22 kB / 0.5769 GB, free: 13.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.743, allocations: 300.3 kB / 0.5772 GB, free: 13.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/0.7431, allocations: 37.77 kB / 0.5773 GB, free: 13.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.7432, allocations: 201.7 kB / 0.5774 GB, free: 13.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.7433, allocations: 233.2 kB / 0.5777 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.7435, allocations: 120.7 kB / 0.5778 GB, free: 13.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7437, allocations: 348.3 kB / 0.5781 GB, free: 12.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005979/0.7443, allocations: 313.5 kB / 0.5784 GB, free: 12.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006273/0.7449, allocations: 387.5 kB / 0.5788 GB, free: 12.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.7462, allocations: 0.7111 MB / 0.5795 GB, free: 12.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7462, allocations: 2.812 kB / 0.5795 GB, free: 12.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001874/0.748, allocations: 0.9667 MB / 0.5804 GB, free: 12.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.7481, allocations: 2.781 kB / 0.5804 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.7481, allocations: 6.859 kB / 0.5804 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.7495, allocations: 335.3 kB / 0.5808 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/0.75, allocations: 122.6 kB / 0.5809 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/0.7537, allocations: 3.706 MB / 0.5845 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005487/0.7543, allocations: 39.3 kB / 0.5845 GB, free: 9.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.893e-05/0.7543, allocations: 26 kB / 0.5846 GB, free: 9.312 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.0002927/0.7546, allocations: 198.8 kB / 0.5847 GB, free: 9.195 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.7548, allocations: 44.75 kB / 0.5848 GB, free: 9.172 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/0.757, allocations: 1.024 MB / 0.5858 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.757, allocations: 13.28 kB / 0.5858 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.757, allocations: 1.594 kB / 0.5858 GB, free: 9.082 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001877/0.7589, allocations: 1.067 MB / 0.5868 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002695/0.7616, allocations: 1.695 MB / 0.5885 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.7616, allocations: 3.219 kB / 0.5885 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004942/0.7621, allocations: 111.4 kB / 0.5886 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001625/0.7637, allocations: 376.8 kB / 0.589 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.933e-05/0.7638, allocations: 23.86 kB / 0.589 GB, free: 8.363 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.7652, allocations: 0.8737 MB / 0.5898 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7652, allocations: 0 / 0.5898 GB, free: 7.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.7676, allocations: 1.339 MB / 0.5911 GB, free: 7.648 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001717/0.7678, allocations: 119.2 kB / 0.5913 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-05/0.7679, allocations: 21.22 kB / 0.5913 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006109/0.7685, allocations: 41.23 kB / 0.5913 GB, free: 7.531 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.679e-05/0.7686, allocations: 41.61 kB / 0.5914 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.7687, allocations: 29.86 kB / 0.5914 GB, free: 7.527 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002131/0.7689, allocations: 226.3 kB / 0.5916 GB, free: 7.445 MB / 494.1 MB Notification: Performance of sort global known variables: time 9.92e-07/0.7689, allocations: 0 / 0.5916 GB, free: 7.445 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001353/0.7703, allocations: 463.8 kB / 0.592 GB, free: 7.371 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.004056/0.7743, allocations: 2.375 MB / 0.5944 GB, free: 6.566 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.7762, allocations: 0.9968 MB / 0.5953 GB, free: 6.328 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.7763, allocations: 2.344 kB / 0.5953 GB, free: 6.328 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008657/0.7771, allocations: 420.9 kB / 0.5957 GB, free: 6.32 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.7787, allocations: 304.6 kB / 0.596 GB, free: 6.293 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.7894, allocations: 5.747 MB / 0.6016 GB, free: 4.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.79, allocations: 0.8505 MB / 0.6025 GB, free: 3.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006252/0.7906, allocations: 133.8 kB / 0.6026 GB, free: 3.695 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.7908, allocations: 165.7 kB / 0.6028 GB, free: 3.688 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.7909, allocations: 0 / 0.6028 GB, free: 3.688 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06478/0.8556, allocations: 27.05 MB / 0.6292 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/13.23, allocations: 7.938 kB / 0.6292 GB, free: 13.15 MB / 0.5137 GB (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 --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) 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) Reference file matches