Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001642/0.001642, allocations: 121.2 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002033/0.002033, allocations: 200.6 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 46.09 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 79.86 kB / 480.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.338, allocations: 62.42 MB / 0.5305 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.1673/0.5054, allocations: 154.4 MB / 0.6813 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.507, allocations: 1.195 MB / 0.6824 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.5071, allocations: 4 kB / 0.6824 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.5073, allocations: 39.78 kB / 0.6825 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.628e-05/0.5074, allocations: 27.72 kB / 0.6825 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.5087, allocations: 441.9 kB / 0.6829 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.5089, allocations: 71.53 kB / 0.683 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.5089, allocations: 4 kB / 0.683 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.509, allocations: 39.84 kB / 0.683 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.303e-05/0.5091, allocations: 23.86 kB / 0.6831 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.909e-06/0.5091, allocations: 8 kB / 0.6831 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.5103, allocations: 0.4986 MB / 0.6835 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.5103, allocations: 7.984 kB / 0.6836 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.5103, allocations: 23.88 kB / 0.6836 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005979/0.5109, allocations: 319 kB / 0.6839 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.511, allocations: 0 / 0.6839 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.879e-06/0.511, allocations: 4 kB / 0.6839 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.511, allocations: 0 / 0.6839 GB, free: 4.004 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006036/0.5116, allocations: 410.8 kB / 0.6843 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.5116, allocations: 8.031 kB / 0.6843 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.5117, allocations: 34.75 kB / 0.6843 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.5117, allocations: 8.688 kB / 0.6843 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.5119, allocations: 178.9 kB / 0.6845 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.5119, allocations: 4 kB / 0.6845 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.5119, allocations: 7.938 kB / 0.6845 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.5121, allocations: 69.67 kB / 0.6846 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.5121, allocations: 4 kB / 0.6846 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.5121, allocations: 4 kB / 0.6846 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5121, allocations: 0 / 0.6846 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.022e-05/0.5122, allocations: 55.89 kB / 0.6846 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.5127, allocations: 370 kB / 0.685 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.5128, allocations: 66.48 kB / 0.6851 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.55e-05/0.5128, allocations: 24.84 kB / 0.6851 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001844/0.5147, allocations: 1.217 MB / 0.6863 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.5147, allocations: 42.55 kB / 0.6863 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.5147, allocations: 0 / 0.6863 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of matching and sorting (n=14): time 0.006984/0.5217, allocations: 0.6575 MB / 0.6869 GB, free: 440 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.5218, allocations: 51.41 kB / 0.687 GB, free: 376 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.5219, allocations: 105.8 kB / 0.6871 GB, free: 260 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.629e-05/0.5219, allocations: 25.7 kB / 0.6871 GB, free: 228 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.522, allocations: 92.31 kB / 0.6872 GB, free: 132 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.522, allocations: 51.58 kB / 0.6873 GB, free: 80 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.5222, allocations: 41.67 kB / 0.6873 GB, free: 32 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5223, allocations: 326.8 kB / 0.6876 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.5225, allocations: 83.89 kB / 0.6877 GB, free: 15.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.5227, allocations: 110.6 kB / 0.6878 GB, free: 15.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.5232, allocations: 205.6 kB / 0.688 GB, free: 15.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.5232, allocations: 4 kB / 0.688 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005582/0.5238, allocations: 241.5 kB / 0.6882 GB, free: 15.05 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.5238, allocations: 4 kB / 0.6882 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.5238, allocations: 4.25 kB / 0.6882 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.5238, allocations: 0 / 0.6882 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.5245, allocations: 63.81 kB / 0.6883 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.5246, allocations: 0 / 0.6883 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005524/0.5251, allocations: 16 kB / 0.6883 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.5252, allocations: 20.03 kB / 0.6883 GB, free: 14.95 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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 0.000138/0.5253, allocations: 121.8 kB / 0.6884 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.027e-05/0.5254, allocations: 7.953 kB / 0.6885 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007626/0.5262, allocations: 347.8 kB / 0.6888 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.5262, allocations: 0 / 0.6888 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.5262, allocations: 4 kB / 0.6888 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5262, allocations: 3.984 kB / 0.6888 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.5273, allocations: 0.7555 MB / 0.6895 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5273, allocations: 0 / 0.6895 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006353/0.528, allocations: 43.95 kB / 0.6896 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.528, allocations: 0 / 0.6896 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.528, allocations: 15.98 kB / 0.6896 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.528, allocations: 3.938 kB / 0.6896 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.528, allocations: 0 / 0.6896 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006029/0.5287, allocations: 357.9 kB / 0.6899 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.5288, allocations: 105 kB / 0.69 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.5288, allocations: 4 kB / 0.69 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.5294, allocations: 11.94 kB / 0.69 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.5295, allocations: 19.97 kB / 0.6901 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.5295, allocations: 15.98 kB / 0.6901 GB, free: 13.01 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.537e-05/0.5296, allocations: 79.28 kB / 0.6902 GB, free: 12.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5296, allocations: 0 / 0.6902 GB, free: 12.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004523/0.53, allocations: 99.73 kB / 0.6903 GB, free: 12.83 MB / 0.545 GB 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 (19): * Single equations (assignments): 19 * 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.001246/0.5313, allocations: 1.001 MB / 0.6912 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000514/0.5318, allocations: 214.9 kB / 0.6914 GB, free: 11.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5318, allocations: 3.938 kB / 0.6914 GB, free: 11.59 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/0.5321, allocations: 115.9 kB / 0.6915 GB, free: 11.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.5325, allocations: 39.89 kB / 0.6916 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008633/0.5334, allocations: 325.6 kB / 0.6919 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.5337, allocations: 0.6965 MB / 0.6926 GB, free: 10.36 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003254/0.534, allocations: 64.73 kB / 0.6926 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002303/0.5343, allocations: 47.39 kB / 0.6927 GB, free: 10.25 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.5343, allocations: 0 / 0.6927 GB, free: 10.25 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.5609, allocations: 7.611 MB / 0.7001 GB, free: 2.703 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.59/8.15, allocations: 0.8906 kB / 0.7001 GB, free: 2.703 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches