Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",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.001624/0.001623, allocations: 104.5 kB / 16.4 MB, free: 6.496 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.001731/0.001731, allocations: 192.1 kB / 17.34 MB, free: 5.762 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.391/1.391, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2111/0.2111, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 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.001588/0.001588, allocations: 67.91 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1382, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.556/0.6942, allocations: 179.6 MB / 0.6628 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009595/0.7039, allocations: 5.748 MB / 0.6685 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.7053, allocations: 15.88 kB / 0.6685 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.7066, allocations: 317.9 kB / 0.6688 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005276/0.712, allocations: 1.583 MB / 0.6703 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003738/0.7157, allocations: 1.233 MB / 0.6715 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002744/0.7185, allocations: 1.848 MB / 0.6733 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008909/0.7194, allocations: 456.5 kB / 0.6738 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.7225, allocations: 1.246 MB / 0.675 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001879/0.7244, allocations: 0.7432 MB / 0.6757 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.7247, allocations: 68 kB / 0.6758 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.7272, allocations: 0.823 MB / 0.6766 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004562/0.7277, allocations: 263.3 kB / 0.6768 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007709/0.7285, allocations: 402.2 kB / 0.6772 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002754/0.7312, allocations: 1.422 MB / 0.6786 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.7312, allocations: 0 / 0.6786 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.05e-06/0.7313, allocations: 0 / 0.6786 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.326e-05/0.7313, allocations: 3.938 kB / 0.6786 GB, free: 6.969 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003316/0.7346, allocations: 1.13 MB / 0.6797 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/0.7347, allocations: 15.89 kB / 0.6797 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001716/0.7349, allocations: 98.52 kB / 0.6798 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.7359, allocations: 139.1 kB / 0.68 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/0.7371, allocations: 0.5352 MB / 0.6805 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.7373, allocations: 101.3 kB / 0.6806 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.7374, allocations: 51.98 kB / 0.6806 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.7388, allocations: 0.8135 MB / 0.6814 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.7388, allocations: 4 kB / 0.6814 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.478e-05/0.7389, allocations: 27.98 kB / 0.6814 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.273e-05/0.739, allocations: 36.97 kB / 0.6815 GB, free: 3.84 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.7401, allocations: 0.6204 MB / 0.6821 GB, free: 3.219 MB / 0.5137 GB 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.005265/0.7454, allocations: 3.974 MB / 0.686 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/0.746, allocations: 347.6 kB / 0.6863 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.7463, allocations: 177.3 kB / 0.6865 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005089/0.7468, allocations: 366 kB / 0.6868 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.7469, allocations: 42.78 kB / 0.6869 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.574e-06/0.7469, allocations: 0 / 0.6869 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.006167/0.7531, allocations: 1.659 MB / 0.6885 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.675e-05/0.7532, allocations: 140.4 kB / 0.6886 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000868/0.7541, allocations: 0.6133 MB / 0.6892 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.7541, allocations: 33.7 kB / 0.6892 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.7544, allocations: 366.9 kB / 0.6896 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.7546, allocations: 141.9 kB / 0.6897 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.7548, allocations: 162.5 kB / 0.6899 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.755, allocations: 374.8 kB / 0.6902 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003465/0.7554, allocations: 197.9 kB / 0.6904 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005984/0.756, allocations: 0.5164 MB / 0.6909 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.757, allocations: 0.7523 MB / 0.6917 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/0.757, allocations: 4 kB / 0.6917 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001629/0.7586, allocations: 0.872 MB / 0.6925 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.887e-05/0.7587, allocations: 12 kB / 0.6925 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.7587, allocations: 11.94 kB / 0.6925 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.7603, allocations: 329.3 kB / 0.6929 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004074/0.7607, allocations: 119.8 kB / 0.693 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.762, allocations: 0.9269 MB / 0.6939 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005934/0.7626, allocations: 28 kB / 0.6939 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.7628, allocations: 75.98 kB / 0.694 GB, free: 6.246 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004697/0.7633, allocations: 245.5 kB / 0.6942 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.7634, allocations: 71.23 kB / 0.6943 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00148/0.7649, allocations: 0.6743 MB / 0.6949 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.765, allocations: 7.938 kB / 0.6949 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.765, allocations: 0 / 0.6949 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.765, allocations: 4 kB / 0.695 GB, free: 5.219 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.7679, allocations: 1.606 MB / 0.6965 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7679, allocations: 0 / 0.6965 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/0.769, allocations: 215.9 kB / 0.6967 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.429e-05/0.7691, allocations: 20.84 kB / 0.6967 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/0.7692, allocations: 19.98 kB / 0.6968 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002739/0.7719, allocations: 2.873 MB / 0.6996 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.7719, allocations: 4.031 kB / 0.6996 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001481/0.7734, allocations: 0.8091 MB / 0.7004 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003372/0.7738, allocations: 188.2 kB / 0.7005 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.7739, allocations: 11.98 kB / 0.7006 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.7743, allocations: 24.06 kB / 0.7006 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.7744, allocations: 35.95 kB / 0.7006 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/0.7745, allocations: 43.92 kB / 0.7007 GB, free: 14.89 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005548/0.775, allocations: 439 kB / 0.7011 GB, free: 14.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.385e-06/0.775, allocations: 0 / 0.7011 GB, free: 14.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001083/0.7761, allocations: 299.9 kB / 0.7014 GB, free: 14.18 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.00244/0.7786, allocations: 1.621 MB / 0.7029 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.7798, allocations: 0.5626 MB / 0.7035 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.7798, allocations: 0 / 0.7035 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.7808, allocations: 414.3 kB / 0.7039 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.7825, allocations: 374.1 kB / 0.7042 GB, free: 11.18 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008888/0.7914, allocations: 6.293 MB / 0.7104 GB, free: 4.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/0.792, allocations: 0.9261 MB / 0.7113 GB, free: 3.547 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000913/0.793, allocations: 262 kB / 0.7115 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/0.7935, allocations: 279.3 kB / 0.7118 GB, free: 3.016 MB / 0.545 GB Notification: Performance of SimCode: time 9.72e-07/0.7935, allocations: 0 / 0.7118 GB, free: 3.016 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06216/0.8556, allocations: 25.71 MB / 0.7369 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.39, allocations: 11.8 kB / 0.7369 GB, free: 9.258 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches