Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_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.001557/0.001557, allocations: 104.5 kB / 16.27 MB, free: 5.949 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.001972/0.001972, allocations: 189 kB / 17.19 MB, free: 5.59 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.462/1.462, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2129/0.2129, allocations: 43.53 MB / 313.9 MB, free: 0.5352 MB / 254.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.001666/0.001667, allocations: 66.19 kB / 382.8 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.108, allocations: 57.78 MB / 440.6 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4212/0.5292, allocations: 152.2 MB / 0.5789 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.5307, allocations: 1.208 MB / 0.5801 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.591e-05/0.5307, allocations: 0 / 0.5801 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.531, allocations: 37.2 kB / 0.5801 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.5331, allocations: 0.8789 MB / 0.581 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.689e-06/0.5331, allocations: 0 / 0.581 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.429e-05/0.5332, allocations: 45.7 kB / 0.581 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.5333, allocations: 5.125 kB / 0.5811 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.984e-05/0.5333, allocations: 14.39 kB / 0.5811 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.83e-05/0.5334, allocations: 20.73 kB / 0.5811 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.5334, allocations: 4 kB / 0.5811 GB, free: 12.1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.5356, allocations: 1.629 MB / 0.5827 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.5357, allocations: 10.59 kB / 0.5827 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.433e-05/0.5357, allocations: 16.97 kB / 0.5827 GB, free: 12.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.5368, allocations: 0.7714 MB / 0.5835 GB, free: 11.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5368, allocations: 1.906 kB / 0.5835 GB, free: 11.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5368, allocations: 0 / 0.5835 GB, free: 11.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.5369, allocations: 0 / 0.5835 GB, free: 11.85 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006292/0.5375, allocations: 464.1 kB / 0.5839 GB, free: 11.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.5375, allocations: 13.48 kB / 0.5839 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.04e-05/0.5376, allocations: 37.38 kB / 0.584 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.434e-05/0.5376, allocations: 4.781 kB / 0.584 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.698e-05/0.5377, allocations: 174.8 kB / 0.5841 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-06/0.5377, allocations: 0 / 0.5841 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.5377, allocations: 11.7 kB / 0.5841 GB, free: 11.15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.5379, allocations: 65.09 kB / 0.5842 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5379, allocations: 0 / 0.5842 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.5379, allocations: 0 / 0.5842 GB, free: 11.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.5379, allocations: 12.98 kB / 0.5842 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.172e-05/0.538, allocations: 49.28 kB / 0.5843 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.5384, allocations: 299.1 kB / 0.5845 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.151e-05/0.5385, allocations: 34.06 kB / 0.5846 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.223e-05/0.5385, allocations: 11.84 kB / 0.5846 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001133/0.5387, allocations: 98.56 kB / 0.5847 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.5387, allocations: 35 kB / 0.5847 GB, free: 10.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.5387, allocations: 0 / 0.5847 GB, free: 10.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.000158/0.5389, allocations: 57.31 kB / 0.5848 GB, free: 10.58 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.5389, allocations: 53.5 kB / 0.5848 GB, free: 10.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.553e-05/0.539, allocations: 94.61 kB / 0.5849 GB, free: 10.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.539, allocations: 28.89 kB / 0.5849 GB, free: 10.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.5391, allocations: 102.5 kB / 0.585 GB, free: 10.29 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.738e-06/0.5391, allocations: 7.594 kB / 0.585 GB, free: 10.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.5391, allocations: 18.16 kB / 0.5851 GB, free: 10.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.5392, allocations: 317.4 kB / 0.5854 GB, free: 9.953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.5392, allocations: 8.875 kB / 0.5854 GB, free: 9.953 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.574e-05/0.5393, allocations: 32.05 kB / 0.5854 GB, free: 9.918 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.156e-05/0.5394, allocations: 47.12 kB / 0.5854 GB, free: 9.879 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5394, allocations: 0 / 0.5854 GB, free: 9.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.518e-05/0.5395, allocations: 70.64 kB / 0.5855 GB, free: 9.832 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.5395, allocations: 5.25 kB / 0.5855 GB, free: 9.832 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5395, allocations: 3.938 kB / 0.5855 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.5395, allocations: 2.5 kB / 0.5855 GB, free: 9.828 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.928e-05/0.5396, allocations: 11.81 kB / 0.5855 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.5396, allocations: 2.312 kB / 0.5855 GB, free: 9.824 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.419e-05/0.5396, allocations: 13.66 kB / 0.5856 GB, free: 9.816 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.5397, allocations: 6.953 kB / 0.5856 GB, free: 9.812 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/0.5397, allocations: 116.4 kB / 0.5857 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.5398, allocations: 2.781 kB / 0.5857 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001246/0.5399, allocations: 66.69 kB / 0.5857 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5399, allocations: 2.656 kB / 0.5857 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.5399, allocations: 0 / 0.5857 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.5399, allocations: 3.984 kB / 0.5857 GB, free: 9.645 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.5401, allocations: 158.5 kB / 0.5859 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5401, allocations: 0 / 0.5859 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.5401, allocations: 5.562 kB / 0.5859 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.5401, allocations: 0 / 0.5859 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.5402, allocations: 7 kB / 0.5859 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5402, allocations: 0 / 0.5859 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5402, allocations: 0 / 0.5859 GB, free: 9.449 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001108/0.5403, allocations: 147.8 kB / 0.586 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.5403, allocations: 88.98 kB / 0.5861 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.5404, allocations: 9.703 kB / 0.5861 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.567e-05/0.5404, allocations: 3.625 kB / 0.5861 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.937e-05/0.5404, allocations: 7.156 kB / 0.5861 GB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-06/0.5404, allocations: 0 / 0.5861 GB, free: 9.191 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.232e-05/0.5405, allocations: 78.03 kB / 0.5862 GB, free: 9.117 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5405, allocations: 6.344 kB / 0.5862 GB, free: 9.113 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004002/0.5409, allocations: 93.02 kB / 0.5863 GB, free: 9.09 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008237/0.5417, allocations: 0.8347 MB / 0.5871 GB, free: 8.355 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.5418, allocations: 22.73 kB / 0.5872 GB, free: 8.352 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5419, allocations: 2.688 kB / 0.5872 GB, free: 8.352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.64e-05/0.5419, allocations: 12.97 kB / 0.5872 GB, free: 8.344 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002583/0.5421, allocations: 6.312 kB / 0.5872 GB, free: 8.344 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005284/0.5427, allocations: 211.6 kB / 0.5874 GB, free: 8.156 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.543, allocations: 0.6784 MB / 0.588 GB, free: 7.457 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.796e-05/0.543, allocations: 16.92 kB / 0.5881 GB, free: 7.449 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.5431, allocations: 13.47 kB / 0.5881 GB, free: 7.441 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.5431, allocations: 0 / 0.5881 GB, free: 7.441 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02097/0.5641, allocations: 3.755 MB / 0.5917 GB, free: 5.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/8.01, allocations: 10.97 kB / 0.5917 GB, free: 5.391 MB / 430.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches